diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-09-22 19:48:41 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-09-22 19:48:41 +0000 |
commit | cfb9b2a8df16cfd078b9c0f87030f0529e1e81b7 (patch) | |
tree | 6031b65f7ab13d3f850a79c7ec596731d490d3c9 /ftp/gftp | |
parent | fix plist (diff) |
Fix build and package build after recent GNOMENG conversion.
Notes
Notes:
svn path=/head/; revision=67042
Diffstat (limited to 'ftp/gftp')
-rw-r--r-- | ftp/gftp/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/ftp/gftp/Makefile b/ftp/gftp/Makefile index ef6459a54228..0b9a8b06938a 100644 --- a/ftp/gftp/Makefile +++ b/ftp/gftp/Makefile @@ -16,6 +16,7 @@ MAINTAINER= lehmann@ans-netz.de USE_X_PREFIX= yes USE_GNOMENG= yes WANT_GNOME= yes +USE_GNOME= gtk12 GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" @@ -24,18 +25,18 @@ MAN1= gftp.1 .include <bsd.port.pre.mk> -.if ${HAVE_GNOME:Mgtk12}!="" -USE_GNOME+= gtk12 -PKGNAMESUFFIX= -gtk +.if ${HAVE_GNOME:Mgnomelibs}!="" +USE_GNOME+= gnomeprefix gnomehack gnomelibs +PKGNAMESUFFIX= -gnome +PLIST_SUB= DATADIR="share/gnome" +.else +PLIST_SUB= DATADIR="share" .endif -pre-patch: +post-patch: @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \ s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure - @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ - 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \ - s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g' .include <bsd.port.post.mk> |