diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-09-30 09:14:05 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-09-30 09:14:05 +0800 |
commit | 96ec1c41882716dea15cd8c0ea97d68f957bc354 (patch) | |
tree | fb2fcb81c3fa87cffe6ac3e6b1f5727d5154c5d1 | |
parent | 5e7b43f248620ff34de5e2d872d447486d7e54da (diff) | |
download | marcuscom-ports-96ec1c41882716dea15cd8c0ea97d68f957bc354.tar marcuscom-ports-96ec1c41882716dea15cd8c0ea97d68f957bc354.tar.gz marcuscom-ports-96ec1c41882716dea15cd8c0ea97d68f957bc354.tar.bz2 marcuscom-ports-96ec1c41882716dea15cd8c0ea97d68f957bc354.tar.lz marcuscom-ports-96ec1c41882716dea15cd8c0ea97d68f957bc354.tar.xz marcuscom-ports-96ec1c41882716dea15cd8c0ea97d68f957bc354.tar.zst marcuscom-ports-96ec1c41882716dea15cd8c0ea97d68f957bc354.zip |
- Fix plist with LOCALBASE move
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7369 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | ftp/pureadmin/Makefile | 32 | ||||
-rw-r--r-- | ftp/pureadmin/distinfo | 3 | ||||
-rw-r--r-- | ftp/pureadmin/files/patch-src__mainwin_cb.c | 23 | ||||
-rw-r--r-- | ftp/pureadmin/pkg-descr | 7 | ||||
-rw-r--r-- | ftp/pureadmin/pkg-plist | 32 |
5 files changed, 97 insertions, 0 deletions
diff --git a/ftp/pureadmin/Makefile b/ftp/pureadmin/Makefile new file mode 100644 index 000000000..83d397700 --- /dev/null +++ b/ftp/pureadmin/Makefile @@ -0,0 +1,32 @@ +# ex:ts=8 +# Ports collection makefile for: pureadmin +# Date created: Mar 4, 2005 +# Whom: ijliao +# +# $FreeBSD: ports/ftp/pureadmin/Makefile,v 1.8 2006/05/07 11:09:21 edwin Exp $ +# + +PORTNAME= pureadmin +PORTVERSION= 0.3 +PORTREVISION= 1 +CATEGORIES= ftp +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= purify + +MAINTAINER= ports@FreeBSD.org +COMMENT= Management utility for the PureFTPd + +USE_X_PREFIX= yes +USE_GNOME= gnomehack gnomeprefix libglade2 +USE_FAM= yes +INSTALLS_ICONS= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" + +CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} +LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} + +post-patch: + @${REINPLACE_CMD} -e 's|-std=gnu99||g' ${WRKSRC}/src/Makefile.in + +.include <bsd.port.mk> diff --git a/ftp/pureadmin/distinfo b/ftp/pureadmin/distinfo new file mode 100644 index 000000000..780075629 --- /dev/null +++ b/ftp/pureadmin/distinfo @@ -0,0 +1,3 @@ +MD5 (pureadmin-0.3.tar.gz) = f7dc9fc7163b957bbcec1d4b2eec196d +SHA256 (pureadmin-0.3.tar.gz) = cec867194ee8c2e647dedf0d3d152c033a1bcdfaf3b1e83869b3ada8d9d3e866 +SIZE (pureadmin-0.3.tar.gz) = 298177 diff --git a/ftp/pureadmin/files/patch-src__mainwin_cb.c b/ftp/pureadmin/files/patch-src__mainwin_cb.c new file mode 100644 index 000000000..47c7e1e2c --- /dev/null +++ b/ftp/pureadmin/files/patch-src__mainwin_cb.c @@ -0,0 +1,23 @@ +--- src/mainwin_cb.c.orig Tue Nov 15 20:21:22 2005 ++++ src/mainwin_cb.c Sat Nov 26 20:32:20 2005 +@@ -357,6 +357,9 @@ + { + gchar *browser = misc_find_webbrowser(); + GError *err = NULL; ++ gchar *quoted_url = g_shell_quote (url); ++ gchar *cmd = g_strdup_printf (browser, quoted_url); ++ gboolean success; + if (!browser) { + gchar *msg = g_strdup_printf (_("The default browser could not be located. You can solve this " + "by either:\n" +@@ -369,10 +372,7 @@ + g_free (msg); + return; + } +- gchar *quoted_url = g_shell_quote (url); +- gchar *cmd = g_strdup_printf (browser, quoted_url); + pur_log_dbg ("Running: %s", cmd); +- gboolean success; + + success = g_spawn_command_line_async (cmd, &err); + //success = FALSE; diff --git a/ftp/pureadmin/pkg-descr b/ftp/pureadmin/pkg-descr new file mode 100644 index 000000000..8cb1c6718 --- /dev/null +++ b/ftp/pureadmin/pkg-descr @@ -0,0 +1,7 @@ +PureAdmin is a graphical tool used to make the management of PureFTPd a little +easier. It uses the GTK+2.x widgets for its GUI and thus are not dependent on +a specific desktop environment such as GNOME or KDE. It is, however, designed +with the GNOME Human Interface Guidelines in mind so it should integrate +nicely with at least GNOME. + +WWW: http://purify.sourceforge.net/ diff --git a/ftp/pureadmin/pkg-plist b/ftp/pureadmin/pkg-plist new file mode 100644 index 000000000..d3a00979e --- /dev/null +++ b/ftp/pureadmin/pkg-plist @@ -0,0 +1,32 @@ +bin/pureadmin +share/gnome/applications/pureadmin.desktop +share/gnome/pixmaps/pureadmin.png +share/gnome/pureadmin/dialogs.glade +share/gnome/pureadmin/docs/index.txt +share/gnome/pureadmin/docs/introduction.txt +share/gnome/pureadmin/docs/main_window.txt +share/gnome/pureadmin/docs/preferences.txt +share/gnome/pureadmin/docs/user_manager.txt +share/gnome/pureadmin/down.png +share/gnome/pureadmin/logo.png +share/gnome/pureadmin/mainwindow.glade +share/gnome/pureadmin/prefwin.glade +share/gnome/pureadmin/pureadmin-16x16.png +share/gnome/pureadmin/pureadmin-24x24.png +share/gnome/pureadmin/pureadmin-32x32.png +share/gnome/pureadmin/pureadmin-48x48.png +share/gnome/pureadmin/up.png +share/gnome/pureadmin/user.png +share/gnome/pureadmin/user_identity.png +share/gnome/pureadmin/userconfig.png +share/gnome/pureadmin/usericon.png +share/gnome/pureadmin/usermanager.glade +share/icons/hicolor/16x16/apps/pureadmin.png +share/icons/hicolor/24x24/apps/pureadmin.png +share/icons/hicolor/32x32/apps/pureadmin.png +share/icons/hicolor/48x48/apps/pureadmin.png +share/locale/fr/LC_MESSAGES/pureadmin.mo +share/locale/it/LC_MESSAGES/pureadmin.mo +share/locale/sv/LC_MESSAGES/pureadmin.mo +@dirrm share/gnome/pureadmin/docs +@dirrm share/gnome/pureadmin |