diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2003-05-18 23:31:11 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2003-05-18 23:31:11 +0000 |
commit | 4ac58f252a03b3c51ccee1a8e5868e35323007a4 (patch) | |
tree | 061cfcf9e22db787b1251c79c750d67de3ede7d8 /www/dillo2/Makefile | |
parent | e95d4512c9c7042589a591226a5237ef52f2c5a9 (diff) | |
download | ports-4ac58f252a03b3c51ccee1a8e5868e35323007a4.tar.gz ports-4ac58f252a03b3c51ccee1a8e5868e35323007a4.zip |
Notes
Diffstat (limited to 'www/dillo2/Makefile')
-rw-r--r-- | www/dillo2/Makefile | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/www/dillo2/Makefile b/www/dillo2/Makefile index 84d51fd7f4db..129db937fc62 100644 --- a/www/dillo2/Makefile +++ b/www/dillo2/Makefile @@ -6,34 +6,29 @@ # PORTNAME= dillo -PORTVERSION= 0.7.1 +PORTVERSION= 0.7.2 CATEGORIES= www MASTER_SITES= http://dillo.auriga.wearlab.de/download/ -# hack to account for the bugfix version number -DISTNAME= ${PORTNAME}-${PORTVERSION}.2 MAINTAINER= ports@FreeBSD.org COMMENT= A fast, small graphical Web browser built upon GTK+ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ - png.5:${PORTSDIR}/graphics/png \ - intl.4:${PORTSDIR}/devel/gettext - -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + png.5:${PORTSDIR}/graphics/png +USE_BZIP2= yes USE_GNOME= gtk12 -GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --includedir="${LOCALBASE}/include" \ - --libdir="${LOCALBASE}/lib" \ - --with-jpeg-inc="${LOCALBASE}/include" -CONFIGURE_ENV+= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" +USE_REINPLACE= yes USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" post-patch: - ${PERL} -pi -e "s@-D_REENTRANT -D_THREAD_SAFE@@" ${WRKSRC}/configure - ${PERL} -pi -e "s@dillorc@dillorc.sample@g" ${WRKSRC}/Makefile.in - ${MV} ${WRKSRC}/dillorc ${WRKSRC}/dillorc.sample - ${PERL} -pi -e "s@/usr/local/etc/dillorc@${PREFIX}/etc/dillorc@g" \ - ${WRKSRC}/src/prefs.c + @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g ; \ + s|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|dillorc|dillorc.sample|g' ${WRKSRC}/Makefile.in + @${CP} ${WRKSRC}/dillorc ${WRKSRC}/dillorc.sample .include <bsd.port.mk> |