aboutsummaryrefslogtreecommitdiff
path: root/www/lynx-current/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-07-10 21:02:54 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-07-10 21:02:54 +0000
commit0c7246193c25eddf3809886c65987b928a51a1f3 (patch)
treeadebe1d3493d5ee3825f1bed0cc1f8947d7eaf59 /www/lynx-current/Makefile
parent6e25d7c699f024df242edf35e08e11d8ac8e0946 (diff)
downloadports-0c7246193c25eddf3809886c65987b928a51a1f3.tar.gz
ports-0c7246193c25eddf3809886c65987b928a51a1f3.zip
Notes
Diffstat (limited to 'www/lynx-current/Makefile')
-rw-r--r--www/lynx-current/Makefile21
1 files changed, 14 insertions, 7 deletions
diff --git a/www/lynx-current/Makefile b/www/lynx-current/Makefile
index 9e2ed0088854..b10c75d5d33f 100644
--- a/www/lynx-current/Makefile
+++ b/www/lynx-current/Makefile
@@ -7,7 +7,7 @@
PORTNAME= lynx
PORTVERSION= 2.8.6d4
-CATEGORIES= www ipv6
+CATEGORIES= www ipv6
MASTER_SITES= http://lynx.isc.org/current/
DISTNAME= ${PORTNAME}2.8.6dev.4
@@ -16,7 +16,6 @@ COMMENT= A non-graphical, text-based World-Wide Web client
WRKSRC= ${WRKDIR}/${PORTNAME}2-8-6
USE_BZIP2= yes
-USE_GETTEXT= yes
NO_LATEST_LINK= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@@ -26,22 +25,22 @@ CONFIGURE_ARGS= --with-screen=ncurses --with-zlib --libdir="${L_LIB}" \
--enable-scrollbar --enable-addrlist-page
.ifndef NO_OPENSSL
-USE_OPENSSL= yes
+USE_OPENSSL= yes
.endif
.include <bsd.port.pre.mk>
.ifdef USE_OPENSSL
-CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
+CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
.endif
.if ${OSVERSION} >= 400014
-CONFIGURE_ARGS+= --enable-ipv6
+CONFIGURE_ARGS+= --enable-ipv6
.else
-CONFIGURE_ARGS+= --disable-ipv6
+CONFIGURE_ARGS+= --disable-ipv6
.endif
LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ENV+= CC="${CC} -I${LOCALBASE}/include -Darc4random_push=" LDFLAGS="${LDFLAGS}" \
+CONFIGURE_ENV+= CC="${CC} -I${LOCALBASE}/include -Darc4random_push=" LDFLAGS="${LDFLAGS}" \
LIBS=-lncurses
MAKE_FLAGS= helpdir=${L_HELP} docdir=${L_DOC} -f
MAKEFILE= makefile
@@ -52,6 +51,14 @@ L_LIB= ${PREFIX}/etc
L_DOC= ${PREFIX}/share/doc/lynx
L_HELP= ${PREFIX}/share/lynx_help
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_DOC}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_HELP}