diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2014-02-08 23:39:44 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2014-02-08 23:39:44 +0000 |
commit | a1188f89925352e95e3a36272f34cc2b4f686e7a (patch) | |
tree | ab52b85ffc3de0baa0e7fd6c34b53dc903ee4cc6 /ftp | |
parent | d0f45ab36dc42e65663711d05f5a539e7a53d3a2 (diff) | |
download | ports-a1188f89925352e95e3a36272f34cc2b4f686e7a.tar.gz ports-a1188f89925352e95e3a36272f34cc2b4f686e7a.zip |
Notes
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/pavuk/Makefile | 50 | ||||
-rw-r--r-- | ftp/pavuk/pkg-plist | 1 |
2 files changed, 19 insertions, 32 deletions
diff --git a/ftp/pavuk/Makefile b/ftp/pavuk/Makefile index 7c7075cc5610..23db725ddadf 100644 --- a/ftp/pavuk/Makefile +++ b/ftp/pavuk/Makefile @@ -10,45 +10,33 @@ MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= HTTP, FTP, and Gopher mirroring tool +LICENSE= GPLv2 + USE_BZIP2= yes -WANT_GNOME= yes 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 -MAN1= pavuk.1 - CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +OPTIONS_DEFINE= DANTE GTK2 NLS +DANTE_DESC= Enable SOCKS proxy support +OPTIONS_DEFAULT= GTK2 +OPTIONS_SUB= yes -.include <bsd.port.pre.mk> +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext -.if ${HAVE_GNOME:Mgtk20}!="" -USE_GNOME+= gtk20 -.else -CONFIGURE_ARGS+= --disable-gtk -.endif +GTK2_CONFIGURE_ENABLE= gtk +GTK2_USE= GNOME=gtk20 -.if defined(WITH_DANTE) -LIB_DEPENDS+= socks.1:${PORTSDIR}/net/dante -CONFIGURE_ARGS+= --with-socks-includes=${LOCALBASE}/include \ +DANTE_CONFIGURE_ENABLE= socks +DANTE_CONFIGURE_ON= --with-socks-includes=${LOCALBASE}/include \ --with-socks-libraries=${LOCALBASE}/lib -.else -CONFIGURE_ARGS+= --disable-socks -.endif +DANTE_LIB_DEPENDS= libsocks.so:${PORTSDIR}/net/dante pre-patch: @${REINPLACE_CMD} -e \ @@ -59,14 +47,12 @@ pre-patch: 's|$$(datadir)/icons|$$(pkgdatadir)/icons|g' post-install: - ${INSTALL_DATA} ${WRKSRC}/pavuk_authinfo.sample ${PREFIX}/etc - ${INSTALL_DATA} ${WRKSRC}/pavukrc.sample ${PREFIX}/etc -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/pavuk_authinfo.sample ${STAGEDIR}${PREFIX}/etc + ${INSTALL_DATA} ${WRKSRC}/pavukrc.sample ${STAGEDIR}${PREFIX}/etc + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in AUTHORS BUGS CREDITS ChangeLog COPYING MAILINGLIST NEWS \ README TODO wget-pavuk.HOWTO - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor -.endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/ftp/pavuk/pkg-plist b/ftp/pavuk/pkg-plist index b34da653d897..9a673269a874 100644 --- a/ftp/pavuk/pkg-plist +++ b/ftp/pavuk/pkg-plist @@ -1,6 +1,7 @@ bin/pavuk bin/pavuk.sh bin/tperf.sh +man/man1/pavuk.1.gz etc/pavuk_authinfo.sample etc/pavukrc.sample %%PORTDOCS%%%%DOCSDIR%%/AUTHORS |