1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/ftp/pavuk/Makefile
Muhammad Moinur Rahman a473051ece
ftp/pavuk: Moved man to share/man
Approved by:    portmgr (blanket)
2024-02-23 18:58:35 +01:00

54 lines
1.4 KiB
Makefile

PORTNAME= pavuk
PORTVERSION= 0.9.35
PORTREVISION= 7
CATEGORIES= ftp www
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= HTTP, FTP, and Gopher mirroring tool
WWW= https://pavuk.sourceforge.net/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cpe localbase ssl tar:bzip2
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --with-locale-dir=${PREFIX}/share/locale \
--disable-debug --disable-gnome --disable-js \
--enable-utf-8 --enable-threads
OPTIONS_DEFINE= DANTE GTK2 NLS DOCS
DANTE_DESC= Enable SOCKS proxy support
OPTIONS_DEFAULT= GTK2
OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
GTK2_CONFIGURE_ENABLE= gtk
GTK2_USES= gnome
GTK2_USE= GNOME=gtk20
DANTE_CONFIGURE_ENABLE= socks
DANTE_CONFIGURE_ON= --with-socks-includes=${LOCALBASE}/include \
--with-socks-libraries=${LOCALBASE}/lib
DANTE_LIB_DEPENDS= libsocks.so:net/dante
pre-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|$$(datadir)/icons|$$(pkgdatadir)/icons|g'
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 MAILINGLIST NEWS \
README TODO wget-pavuk.HOWTO
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>