diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-07-25 07:11:09 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-07-25 07:11:09 +0000 |
commit | 9e35bda227ea93b9c040fc7baf86c6845b69d6ea (patch) | |
tree | 432aac709d295c5c92c55efa1e8ff59d18cbf014 /ftp/gftp/Makefile | |
parent | Update to version 3.2.2 (diff) |
Update to 2.0.7a and make the following cleanups:
- Replace pthread configure patch with perl regex (should make future upgrades
easier);
- use installed libintl instead of port's own version;
- add WWW to pkg/DESCR and remove absolete lines from there;
- correctly place Gnome icon into share/gnome/pixmap instead of share/pixmap;
- add gnomecc into RUN_DEPENDS to exsure correct removal of Gnome bits.
Obtained from: http://www.gnome.org/
Notes
Notes:
svn path=/head/; revision=31015
Diffstat (limited to 'ftp/gftp/Makefile')
-rw-r--r-- | ftp/gftp/Makefile | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/ftp/gftp/Makefile b/ftp/gftp/Makefile index 79e5aac337b7..42c625830275 100644 --- a/ftp/gftp/Makefile +++ b/ftp/gftp/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gftp -PORTVERSION= 2.0.6a +PORTVERSION= 2.0.7a CATEGORIES= ftp MASTER_SITES= http://gftp.seul.org/ \ ftp://gftp.seul.org/pub/gftp/ @@ -14,11 +14,25 @@ MASTER_SITES= http://gftp.seul.org/ \ MAINTAINER= dmarion@open.hr LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 +.if !defined(WITHOUT_GNOME) +RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter +.endif -GNU_CONFIGURE= yes -CONFIGURE_ENV= GTK_CONFIG=${X11BASE}/bin/gtk12-config USE_X_PREFIX= yes +GNU_CONFIGURE= yes + +GTK_CONFIG?= ${X11BASE}/bin/gtk12-config + +CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \ + CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" MAN1= gftp.1 +post-extract: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + 's|\$\(datadir\)/pixmaps|\$\(datadir\)/gnome/pixmaps|g' + .include <bsd.port.mk> |