aboutsummaryrefslogtreecommitdiff
path: root/www/lynx-current
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2006-11-14 14:24:52 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2006-11-14 14:24:52 +0000
commit6b537e5bae1581d32e76eb2f6d98f8ca613e3256 (patch)
tree54d62a00c658bb13b0158a0b1681dc65e04de681 /www/lynx-current
parent87d40477ee9ea870d4865d3d479961e6d1ef3e79 (diff)
downloadports-6b537e5bae1581d32e76eb2f6d98f8ca613e3256.tar.gz
ports-6b537e5bae1581d32e76eb2f6d98f8ca613e3256.zip
Notes
Diffstat (limited to 'www/lynx-current')
-rw-r--r--www/lynx-current/Makefile8
-rw-r--r--www/lynx-current/distinfo6
2 files changed, 11 insertions, 3 deletions
diff --git a/www/lynx-current/Makefile b/www/lynx-current/Makefile
index 06f71510d46c..2671575dc5dc 100644
--- a/www/lynx-current/Makefile
+++ b/www/lynx-current/Makefile
@@ -7,6 +7,7 @@
PORTNAME= lynx
PORTVERSION= 2.8.7d2
+PORTREVISION= 1
CATEGORIES= www ipv6
MASTER_SITES= http://lynx.isc.org/current/
DISTNAME= ${PORTNAME}2.8.7dev.2
@@ -14,6 +15,8 @@ DISTNAME= ${PORTNAME}2.8.7dev.2
MAINTAINER= ache@FreeBSD.org
COMMENT= A non-graphical, text-based World-Wide Web client
+RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
+
WRKSRC= ${WRKDIR}/${PORTNAME}2-8-7
USE_BZIP2= yes
NO_LATEST_LINK= yes
@@ -59,6 +62,11 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
+post-patch:
+ ${REINPLACE_CMD} \
+ -e 's:/usr/local/lib/mosaic/mime\.types:${PREFIX}/etc/mime.types:' \
+ ${WRKSRC}/lynx.cfg ${WRKSRC}/userdefs.h
+
post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_DOC}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_HELP}
diff --git a/www/lynx-current/distinfo b/www/lynx-current/distinfo
index 347a94bd90aa..e15be2b2c7ef 100644
--- a/www/lynx-current/distinfo
+++ b/www/lynx-current/distinfo
@@ -1,3 +1,3 @@
-MD5 (lynx2.8.7dev.2.tar.bz2) = 92e909b90b230ebbb23f913be597ff49
-SHA256 (lynx2.8.7dev.2.tar.bz2) = fd5e89dd37ac8f40ef4463f2b8c4d37379af2591dc72f5aa1948c4b220abd3b5
-SIZE (lynx2.8.7dev.2.tar.bz2) = 2279545
+MD5 (lynx2.8.7dev.2.tar.bz2) = 827dec53ed14de07f30285ef5fe74689
+SHA256 (lynx2.8.7dev.2.tar.bz2) = cc6ebf620fe532013525395198e5364936d9c4f747fb62b2e591814ca2e60f9f
+SIZE (lynx2.8.7dev.2.tar.bz2) = 2279177