ports/90732: [Maintainer] www/dillo: make www/dillo a master port
Thomas-Martin Seck
tmseck at netcologne.de
Wed Dec 21 08:40:10 UTC 2005
>Number: 90732
>Category: ports
>Synopsis: [Maintainer] www/dillo: make www/dillo a master port
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 21 08:40:08 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Thomas-Martin Seck
>Release: FreeBSD 5.4-STABLE i386
>Organization:
a private site in Germany
>Environment:
FreeBSD ports collection as of December 21, 2005.
>Description:
Update www/dillo so that it can be a master port for the upcoming
www/dillo-i18n port (submitted as a separate PR).
While at it, add it to the ipv6 category.
>How-To-Repeat:
>Fix:
Apply this patch:
Index: Makefile
===================================================================
--- Makefile (.../www/dillo) (revision 641)
+++ Makefile (.../local/dillo) (revision 641)
@@ -10,14 +10,14 @@
PORTNAME= dillo
PORTVERSION= 0.8.5
-CATEGORIES= www
+CATEGORIES= www ipv6
MASTER_SITES= http://www.dillo.org/download/
-MAINTAINER= tmseck at netcologne.de
-COMMENT= A fast, small graphical Web browser built upon GTK+
+MAINTAINER?= tmseck at netcologne.de
+COMMENT?= A fast, small graphical Web browser built upon GTK+
-RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
-LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
+RUN_DEPENDS+= wget:${PORTSDIR}/ftp/wget
+LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png
USE_BZIP2= yes
@@ -27,7 +27,7 @@
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS= --enable-ipv6 --libdir=${PREFIX}/libexec
+CONFIGURE_ARGS+= --enable-ipv6 --libdir=${PREFIX}/libexec
.if defined(WITH_DILLO_SSL)
CONFIGURE_ARGS+= --enable-ssl
@@ -36,12 +36,16 @@
CONFIGURE_ARGS+= --disable-ssl
.endif
+CONFLICTS?= dillo-i18n-*[0-9]*
+
post-patch:
@${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
+# let a slave port redefine this target if it needs to:
+.if !target(pre-configure)
pre-configure:
.if !defined(WITH_DILLO_SSL)
@${ECHO_CMD} ""
@@ -50,5 +54,6 @@
@${ECHO_CMD} " commandline."
@${ECHO_CMD} ""
.endif
+.endif
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list