1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- Update lynx-current to 2.8.8dev.16

- Add PKGNAMESUFFIX to avoid naming conflict
- Enable staging
- Style updates
This commit is contained in:
Johan van Selst 2013-10-24 09:38:27 +00:00
parent d0f8e887a0
commit d0491faa28
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331469
3 changed files with 19 additions and 17 deletions

View File

@ -2,24 +2,25 @@
# $FreeBSD$
PORTNAME= lynx
PORTVERSION= 2.8.8d15
PORTVERSION= 2.8.8d16
PKGNAMESUFFIX= -current
CATEGORIES= www ipv6
MASTER_SITES= http://lynx.isc.org/current/
DISTNAME= ${PORTNAME}${PORTVERSION:C/d.*//}dev.${PORTVERSION:C/.*d//}
MAINTAINER= johans@FreeBSD.org
COMMENT= A non-graphical, text-based World-Wide Web client
COMMENT= Non-graphical, text-based World-Wide Web client
LIB_DEPENDS= idn:${PORTSDIR}/dns/libidn
LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn
RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
CONFLICTS_INSTALL= lynx-2.8.[0-7].* ja-lynx-[0-9]*
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/./-/g:C/d.*//}
WRKSRC= ${WRKDIR}/${DISTNAME:S/./-/g:C/d.*//}
USE_BZIP2= yes
USES= iconv
USES= iconv shebangfix
USE_OPENSSL= yes
NO_LATEST_LINK= yes
SHEBANG_FILES= samples/mailto-form.pl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-zlib --libdir="${L_LIB}" \
--enable-nsl-fork --with-bzlib \
@ -35,17 +36,22 @@ CONFIGURE_ARGS= --with-zlib --libdir="${L_LIB}" \
MAKE_JOBS_UNSAFE= yes
NO_STAGE= yes
.include <bsd.port.options.mk>
MAKE_FLAGS= helpdir=${L_HELP} docdir=${L_DOC} -f
MAKEFILE= makefile
INSTALL_TARGET= install-full
MAN1= lynx.1
L_LIB= ${PREFIX}/etc
L_DOC= ${PREFIX}/share/doc/lynx
L_HELP= ${PREFIX}/share/lynx_help
DOCSDIR= ${L_DOC}
post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}/${L_DOC}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}/${L_HELP}
${CHOWN} ${SHAREOWN}:${SHAREGRP} \
${STAGEDIR}/${L_LIB}/lynx.cfg* ${STAGEDIR}/${L_LIB}/lynx.lss*
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
@ -56,9 +62,4 @@ CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_DOC}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_HELP}
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${L_LIB}/lynx.cfg* ${L_LIB}/lynx.lss*
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (lynx2.8.8dev.15.tar.bz2) = 5d489c08a63a2173aa0247c2ec63f066dd4bbe6713a4dc7f5637406d06a949e0
SIZE (lynx2.8.8dev.15.tar.bz2) = 2553699
SHA256 (lynx2.8.8dev.16.tar.bz2) = 826ddbc3fb346daf2c564103400493b9ce2c02e932f3aceaf7195b60098ba808
SIZE (lynx2.8.8dev.16.tar.bz2) = 2560812

View File

@ -1,4 +1,5 @@
bin/lynx
man/man1/lynx.1.gz
@unexec if [ -f %D/etc/lynx.cfg ] && cmp -s %D/etc/lynx.cfg %D/etc/lynx.cfg.default; then rm -f %D/etc/lynx.cfg; fi
etc/lynx.cfg.default
@exec if [ ! -f %D/etc/lynx.cfg ] ; then cp -p %D/%F %B/lynx.cfg; fi