diff options
Diffstat (limited to 'mail/gbiff/Makefile')
-rw-r--r-- | mail/gbiff/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/mail/gbiff/Makefile b/mail/gbiff/Makefile new file mode 100644 index 000000000000..e65d547a2133 --- /dev/null +++ b/mail/gbiff/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: gbiff +# Date created: 31 March 2001 +# Whom: Yukihiro Nakai <nakai@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gbiff +PORTVERSION= 2.4a +CATEGORIES= mail +MASTER_SITES= http://prdownloads.sourceforge.net/gbiff/ + +MAINTAINER= nakai@FreeBSD.org + +LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs + +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_GNOME= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +pre-patch: + @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|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.mk> |