- Add LICENSE_FILE

- Switch to USES=localbase
- Switch to options helpers
- Don't install license as documentation
This commit is contained in:
Dmitry Marakasov 2016-02-01 10:13:38 +00:00
parent 3d4b605cf9
commit 7001383d1d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407699
2 changed files with 5 additions and 6 deletions

View File

@ -11,17 +11,15 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= HTTP, FTP, and Gopher mirroring tool
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= tar:bzip2
USES= localbase tar:bzip2
USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-locale-dir=${PREFIX}/share/locale \
--disable-debug --disable-gnome --disable-js \
--enable-utf-8 --enable-threads
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DANTE GTK2 NLS DOCS
DANTE_DESC= Enable SOCKS proxy support
OPTIONS_DEFAULT= GTK2
@ -45,8 +43,10 @@ pre-patch:
post-install:
${INSTALL_DATA} ${WRKSRC}/pavuk_authinfo.sample ${STAGEDIR}${PREFIX}/etc
${INSTALL_DATA} ${WRKSRC}/pavukrc.sample ${STAGEDIR}${PREFIX}/etc
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in AUTHORS BUGS CREDITS ChangeLog COPYING MAILINGLIST NEWS \
.for f in AUTHORS BUGS CREDITS ChangeLog MAILINGLIST NEWS \
README TODO wget-pavuk.HOWTO
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor

View File

@ -8,7 +8,6 @@ etc/pavukrc.sample
%%PORTDOCS%%%%DOCSDIR%%/BUGS
%%PORTDOCS%%%%DOCSDIR%%/CREDITS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/MAILINGLIST
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README