summaryrefslogtreecommitdiffstats
path: root/www/gtkhtml38/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-11-11 19:43:16 +0000
committermarcus <marcus@FreeBSD.org>2002-11-11 19:43:16 +0000
commitea25075b31423b405df8fea52a4c2798fa1bb515 (patch)
tree47e8ca9a81285efe5b4ed31b1560d1901b2024ae /www/gtkhtml38/Makefile
parentdf2d62030dc22ac01750d3442f7e3b893d6c68e0 (diff)
downloadFreeBSD-ports-ea25075b31423b405df8fea52a4c2798fa1bb515.zip
FreeBSD-ports-ea25075b31423b405df8fea52a4c2798fa1bb515.tar.gz
Update to 1.1.6.
Diffstat (limited to 'www/gtkhtml38/Makefile')
-rw-r--r--www/gtkhtml38/Makefile23
1 files changed, 18 insertions, 5 deletions
diff --git a/www/gtkhtml38/Makefile b/www/gtkhtml38/Makefile
index 69edaa3..0fe4de2 100644
--- a/www/gtkhtml38/Makefile
+++ b/www/gtkhtml38/Makefile
@@ -6,22 +6,22 @@
#
PORTNAME= gtkhtml
-PORTVERSION= 1.0.4
-PORTREVISION= 1
+PORTVERSION= 1.1.6
CATEGORIES= www gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= sources/gtkhtml/1.0
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.1
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
-LIB_DEPENDS= pspell.15:${PORTSDIR}/textproc/aspell
+LIB_DEPENDS= pspell.15:${PORTSDIR}/textproc/aspell \
+ soup.5:${PORTSDIR}/devel/soup
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOMENG= yes
-USE_GNOME= gnomehack gnomeprefix gnomehier glibwww gal libghttp libcapplet
+USE_GNOME= gnomehack gnomeprefix gnomehier glibwww libghttp libcapplet gal
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
USE_REINPLACE= yes
@@ -30,8 +30,21 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+VERSION= ${PORTNAME}-${PORTVERSION}
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+post-configure:
+ @${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; \
+ s|%%LOCALBASE%%|${LOCALBASE}|g ; \
+ s|%%X11BASE%%|${X11BASE}|g ; \
+ s|%%VERSION%%|${VERSION}|g' ${FILESDIR}/gtkhtmlConf.sh \
+ > ${WRKSRC}/gtkhtmlConf.sh
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/gtkhtmlConf.sh \
+ ${PREFIX}/etc/gtkhtmlConf.sh
+
.include <bsd.port.mk>
OpenPOWER on IntegriCloud