summaryrefslogtreecommitdiff
path: root/www/links
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2002-08-27 08:25:10 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2002-08-27 08:25:10 +0000
commit1ac305c51800d08920b15be073ab724ba4788cb4 (patch)
treef98fd6c16fe85cff81fcf83931750d608fa95d22 /www/links
parentAdd japanese/drpl, whch replaces words in a Japanese text using (diff)
Look for config file in PREFIX/etc, rather than /etc.
Bump PORTREVISION. Submitted by: David SiebÃrger <drs@rucus.ru.ac.za>
Notes
Notes: svn path=/head/; revision=65085
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}