diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2006-11-14 14:24:52 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2006-11-14 14:24:52 +0000 |
commit | 6b537e5bae1581d32e76eb2f6d98f8ca613e3256 (patch) | |
tree | 54d62a00c658bb13b0158a0b1681dc65e04de681 /www/lynx-current/Makefile | |
parent | 87d40477ee9ea870d4865d3d479961e6d1ef3e79 (diff) |
Notes
Diffstat (limited to 'www/lynx-current/Makefile')
-rw-r--r-- | www/lynx-current/Makefile | 8 |
1 files changed, 8 insertions, 0 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} |