freebsd-ports/www/wwwoffle/Makefile
Adam Weinberger a84c115a09 Convert a bunch of EXTRACT_SUFX=... into USES=tar:...
Approved by:	portmgr (not really, but touches unstaged ports)
2014-07-29 19:11:51 +00:00

44 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= wwwoffle
PORTVERSION= 2.9i
PORTREVISION= 3
CATEGORIES= www ipv6
MASTER_SITES= http://www.gedanken.org.uk/software/wwwoffle/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Caching proxy server for HTTP and FTP designed for dial-up hosts
LICENSE= GPLv2
LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls
USES= perl5 gmake tar:tgz
USE_RC_SUBR= ${PORTNAME}d
# $SPOOL seems like a common name which could be used for other things, so
# use $WWWOFFLE_SPOOL as the overriding setting.
WWWOFFLE_SPOOL?= /var/spool/wwwoffle
PLIST_SUB+= WWWOFFLE_SPOOL=${WWWOFFLE_SPOOL}
HAS_CONFIGURE= yes
LIBS+= -lmd
CONFIGURE_ARGS= --with-confdir=${PREFIX}/etc --with-ipv6 \
--with-gnutls=${LOCALBASE} \
--with-spooldir=${WWWOFFLE_SPOOL} \
--docdir=${DOCSDIR} \
--mandir=${MANPREFIX}/man
SUB_FILES= pkg-message
SUB_LIST= WWWOFFLE_SPOOL="${WWWOFFLE_SPOOL}"
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/conf/upgrade-config.pl ${STAGEDIR}${WWWOFFLE_SPOOL}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}* ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}d
post-stage:
@${RM} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf
.include <bsd.port.mk>