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 | d7696276cc0d45555f2971f1188239fcc451c44b (diff) |
Notes
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> |