aboutsummaryrefslogtreecommitdiff
path: root/www/lynx/Makefile
diff options
context:
space:
mode:
authorAlex Kozlov <ak@FreeBSD.org>2012-03-21 14:50:15 +0000
committerAlex Kozlov <ak@FreeBSD.org>2012-03-21 14:50:15 +0000
commit982dfd0a2bb841d131a66d1f5c008051c472c01a (patch)
tree5aca299c886a419b7bb6d296054d7e36acb295ae /www/lynx/Makefile
parentffe69abe7dfa3b5e05cd81659d2238a7370b4c93 (diff)
downloadports-982dfd0a2bb841d131a66d1f5c008051c472c01a.tar.gz
ports-982dfd0a2bb841d131a66d1f5c008051c472c01a.zip
Notes
Diffstat (limited to 'www/lynx/Makefile')
-rw-r--r--www/lynx/Makefile25
1 files changed, 17 insertions, 8 deletions
diff --git a/www/lynx/Makefile b/www/lynx/Makefile
index 8a94f282d078..fd9b1dad7ebe 100644
--- a/www/lynx/Makefile
+++ b/www/lynx/Makefile
@@ -6,11 +6,10 @@
#
PORTNAME= lynx
-PORTVERSION= 2.8.7.1
-PORTREVISION= 1
+PORTVERSION= 2.8.7.2
PORTEPOCH= 1
CATEGORIES= www ipv6
-MASTER_SITES= ftp://lynx.isc.org/lynx${PORTVERSION}/patches/:patches
+MASTER_SITES= http://lynx.isc.org/current/
DISTNAME= ${PORTNAME}${PORTVERSION:R}rel.${PORTVERSION:E}
MAINTAINER= jharris@widomaker.com
@@ -60,22 +59,32 @@ CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
CONFIGURE_ARGS+=--enable-default-colors
.endif
+.if defined(NOPORTDOCS)
+CONFIGURE_ARGS+=--disable-local-docs
+INSTALL_TARGET= install
+DOCSDIR=
+L_HELP=
+.else
+INSTALL_TARGET= install-full
+L_HELP= ${PREFIX}/share/lynx_help
MAKE_ARGS= helpdir=${L_HELP} docdir=${DOCSDIR}
+.endif
+
MAKEFILE= makefile
-INSTALL_TARGET= install-full
MAN1= lynx.1
L_LIB= ${PREFIX}/etc
-L_HELP= ${PREFIX}/share/lynx_help
SUB_FILES= pkg-message
-post-patch:
- @${RM} -f ${WRKSRC}/CHANGES.orig
-
post-install:
+.if defined(NOPORTDOCS)
+ [ -f ${L_LIB}/lynx.cfg ] || ${INSTALL} ${L_LIB}/lynx.cfg.sample ${L_LIB}/lynx.cfg
+ [ -f ${L_LIB}/lynx.lss ] || ${INSTALL} ${L_LIB}/lynx.lss.sample ${L_LIB}/lynx.lss
+.else
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_HELP}
+.endif
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${L_LIB}/lynx.cfg
.include <bsd.port.post.mk>