aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-02-01 18:13:38 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-02-01 18:13:38 +0800
commit5c187c3b9c3373e48fab005389d2885fe20a6201 (patch)
tree923ed1f2cb607f1f9e94fd23901245d9946a7496 /ftp
parentea7a093fc176b85a077f8f4afc243554d55fbd59 (diff)
downloadfreebsd-ports-gnome-5c187c3b9c3373e48fab005389d2885fe20a6201.tar.gz
freebsd-ports-gnome-5c187c3b9c3373e48fab005389d2885fe20a6201.tar.zst
freebsd-ports-gnome-5c187c3b9c3373e48fab005389d2885fe20a6201.zip
- Add LICENSE_FILE
- Switch to USES=localbase - Switch to options helpers - Don't install license as documentation
Diffstat (limited to 'ftp')
-rw-r--r--ftp/pavuk/Makefile10
-rw-r--r--ftp/pavuk/pkg-plist1
2 files changed, 5 insertions, 6 deletions
diff --git a/ftp/pavuk/Makefile b/ftp/pavuk/Makefile
index 5def0392b48e..daafa550a49e 100644
--- a/ftp/pavuk/Makefile
+++ b/ftp/pavuk/Makefile
@@ -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
diff --git a/ftp/pavuk/pkg-plist b/ftp/pavuk/pkg-plist
index 6829f76a2a91..f7acdfba290f 100644
--- a/ftp/pavuk/pkg-plist
+++ b/ftp/pavuk/pkg-plist
@@ -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