summaryrefslogtreecommitdiff
path: root/japanese/lynx/Makefile
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-05-18 16:21:50 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-05-18 16:21:50 +0000
commita80d61a3905f6f33b55426e4cf9e73fdfa58b70c (patch)
treeb4a9b5915bfe90b4a858b4388375c82f0c28fc15 /japanese/lynx/Makefile
parent- Update from 3.7.57 to 3.8.58 (diff)
- Add staging support
- Convert to USES=tar:bzip2 - Use @sample for configuration files - Remove Enable word from options descriptions
Notes
Notes: svn path=/head/; revision=354436
Diffstat (limited to 'japanese/lynx/Makefile')
-rw-r--r--japanese/lynx/Makefile27
1 files changed, 6 insertions, 21 deletions
diff --git a/japanese/lynx/Makefile b/japanese/lynx/Makefile
index c96e4d52e711..52c56aaf8634 100644
--- a/japanese/lynx/Makefile
+++ b/japanese/lynx/Makefile
@@ -3,6 +3,7 @@
PORTNAME= lynx
DISTVERSION= ${VERSION}.${MINOR_VERSION:S/.//}
+PORTREVISION= 1
CATEGORIES= japanese www ipv6
MASTER_SITES= http://lynx.isc.org/current/ \
http://ftp2.uk.freebsd.org/sites/lynx.isc.org/current/
@@ -18,7 +19,7 @@ MINOR_VERSION= rel.1
CONFLICTS= lynx-2.* ja-lynx-2.8.8.*
-USE_BZIP2= yes
+USES= tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-screen=ncurses --with-zlib --libdir="${L_LIB}" \
--enable-nsl-fork --enable-ipv6 \
@@ -26,21 +27,20 @@ CONFIGURE_ARGS= --with-screen=ncurses --with-zlib --libdir="${L_LIB}" \
--with-bzlib
MAKE_ARGS= helpdir=${L_HELP} docdir=${DOCSDIR}
MAKEFILE= makefile
+INSTALL_TARGET= install-full
WRKSRC= ${WRKDIR}/${PORTNAME}${VERSION:S/./-/g}
L_LIB= ${PREFIX}/etc
L_HELP= ${PREFIX}/share/lynx_help
-MAN1= lynx.1
-
MAKE_JOBS_UNSAFE=yes
OPTIONS_DEFINE= JAPANESE_UTF8 COLOR_STYLE DEFAULT_COLORS DOCS
OPTIONS_SUB= yes
-JAPANESE_UTF8_DESC= Enable experimental Japanese UTF-8 logic
-COLOR_STYLE_DESC= Enable color style (ncurses/curses)
-DEFAULT_COLORS_DESC= Enable default colors (ncurses/slang)
+JAPANESE_UTF8_DESC= Experimental Japanese UTF-8 logic
+COLOR_STYLE_DESC= Color style (ncurses/curses)
+DEFAULT_COLORS_DESC= Default colors (ncurses/slang)
JAPANESE_UTF8_USES= iconv
JAPANESE_UTF8_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG}
@@ -48,25 +48,10 @@ JAPANESE_UTF8_CONFIGURE_ENABLE= japanese-utf8
COLOR_STYLE_CONFIGURE_ENABLE= color-style
DEFAULT_COLORS_CONFIGURE_ENABLE=default-colors
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-INSTALL_TARGET= install-full
-.else
-INSTALL_TARGET= install install-help
-.endif
-
# Change "cd foo && $(MAKE_RECUR)" into "$(MAKE_RECUR) -C foo" to unbreak
# parallel builds
post-patch:
@${REINPLACE_CMD} -E 's|cd (.+) && (\$$\(MAKE_RECUR\))|\2 -C \1|' \
${WRKSRC}/${MAKEFILE}.in
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
-.endif
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_HELP}
-
.include <bsd.port.mk>