summaryrefslogtreecommitdiff
path: root/japanese/lynx/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2008-06-18 22:46:24 +0000
committerPav Lucistnik <pav@FreeBSD.org>2008-06-18 22:46:24 +0000
commit9d2daefba9636cc700b57e3e5f88f85c8b539b6d (patch)
tree896fe3e866560384d7114ed99e8c033ade3511d7 /japanese/lynx/Makefile
parent- *argh* missed two %% (diff)
- Resurrect, unbreak and update to 2.8.6.rel4
PR: ports/111326 Submitted by: Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
Notes
Notes: svn path=/head/; revision=215154
Diffstat (limited to 'japanese/lynx/Makefile')
-rw-r--r--japanese/lynx/Makefile64
1 files changed, 64 insertions, 0 deletions
diff --git a/japanese/lynx/Makefile b/japanese/lynx/Makefile
new file mode 100644
index 000000000000..d4b1f436222b
--- /dev/null
+++ b/japanese/lynx/Makefile
@@ -0,0 +1,64 @@
+# New ports collection makefile for: ja-lynx
+# Date created: 10 August 1998
+# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= lynx
+PORTVERSION= ${VERSION}.${MINOR_VERSION:S/.//}
+CATEGORIES= japanese www ipv6
+MASTER_SITES= http://lynx.isc.org/current/ \
+ http://ftp2.uk.freebsd.org/sites/lynx.isc.org/current/
+DISTNAME= ${PORTNAME}${VERSION}${MINOR_VERSION}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A terminal-based World-Wide Web Client with multi-byte modification
+
+VERSION= 2.8.6
+MINOR_VERSION= rel.4
+
+CONFLICTS= lynx-2.* lynx-ssl-2.*
+
+WRKSRC= ${WRKDIR}/${PORTNAME}${VERSION:S/./-/g}
+USE_BZIP2= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--with-screen=ncurses --with-zlib --libdir="${L_LIB}" \
+ --enable-nsl-fork --enable-ipv6 \
+ --enable-cjk --enable-justify-elts --enable-internal-links
+
+.if defined(ENABLE_COLOR_STYLE)
+PLIST_SUB+= ENABLE_COLOR_STYLE=""
+.else
+CONFIGURE_ARGS+=--disable-color-style
+PLIST_SUB+= ENABLE_COLOR_STYLE="@comment "
+.endif
+
+.if defined(ENABLE_DEFAULT_COLORS)
+CONFIGURE_ARGS+=--enable-default-colors
+.endif
+
+MAKE_ARGS= helpdir=${L_HELP} docdir=${DOCSDIR}
+MAKEFILE= makefile
+MAN1= lynx.1
+
+.if !defined(NOPORTDOCS)
+INSTALL_TARGET= install-full
+.else
+INSTALL_TARGET= install install-help
+.endif
+
+L_LIB= ${PREFIX}/etc
+L_HELP= ${PREFIX}/share/lynx_help
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lssl -lcrypto|-L${OPENSSLLIB} &|g' \
+ ${WRKSRC}/configure
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
+.endif
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_HELP}
+
+.include <bsd.port.mk>