aboutsummaryrefslogtreecommitdiffstats
path: root/www/links
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2002-08-27 16:25:10 +0800
committerdemon <demon@FreeBSD.org>2002-08-27 16:25:10 +0800
commitbfa28162987fc3bca90f297c4f7bd536bd5f20a3 (patch)
tree41ab8c723c19502a504e8fc85d9a79f24bf4b82b /www/links
parentdf1c9999a7f5603924ee06ba4ca22f04e05b953d (diff)
downloadfreebsd-ports-gnome-bfa28162987fc3bca90f297c4f7bd536bd5f20a3.tar.gz
freebsd-ports-gnome-bfa28162987fc3bca90f297c4f7bd536bd5f20a3.tar.zst
freebsd-ports-gnome-bfa28162987fc3bca90f297c4f7bd536bd5f20a3.zip
Look for config file in PREFIX/etc, rather than /etc.
Bump PORTREVISION. Submitted by: David SiebÃrger <drs@rucus.ru.ac.za>
Diffstat (limited to 'www/links')
-rw-r--r--www/links/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/links/Makefile b/www/links/Makefile
index bf0a8bee57cd..62acb2b2bc08 100644
--- a/www/links/Makefile
+++ b/www/links/Makefile
@@ -7,6 +7,7 @@
PORTNAME= links
PORTVERSION= 2.0
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/download/ \
@@ -19,6 +20,7 @@ CONFIGURE_ARGS+= --enable-javascript --with-ssl --without-svgalib
USE_OPENSSL= yes
USE_BZIP2= yes
+USE_REINPLACE= yes
.if !defined(WITHOUT_X11)
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png \
@@ -33,6 +35,9 @@ MAN1= links.1
pre-everything::
@${ECHO_MSG} "Define WITHOUT_X11 to disable graphics support."
+post-patch:
+ @${REINPLACE_CMD} -e "s!/etc/!${PREFIX}/etc/!" ${WRKSRC}/default.c
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}