freebsd-ports/www/wwwoffle/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

58 lines
1.4 KiB
Makefile

# New ports collection makefile for: wwwoffle
# Date created: 1 Jun 1998
# Whom: Peter Mutsaers
#
# $FreeBSD$
#
PORTNAME= wwwoffle
PORTVERSION= 2.9d
PORTREVISION= 2
CATEGORIES= www ipv6
MASTER_SITES= http://www.gedanken.demon.co.uk/download-wwwoffle/
EXTRACT_SUFX= .tgz
MAINTAINER= sumikawa@FreeBSD.org
COMMENT= A caching proxy server for HTTP and FTP designed for dial-up hosts
LIB_DEPENDS= gnutls.26:${PORTSDIR}/security/gnutls
USE_PERL5= yes
USE_GMAKE= yes
USE_RC_SUBR= ${PORTNAME}d.sh
# $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
CONFIGURE_ENV= LIBS=-lmd
CONFIGURE_ARGS= --with-confdir=${PREFIX}/etc --with-ipv6 \
--with-gnutls=${PREFIX} \
--with-spooldir=${WWWOFFLE_SPOOL} \
--mandir=${MANPREFIX}/man
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
MAN1= wwwoffle.1
MAN5= wwwoffle.conf.5
MAN8= wwwoffled.8
.if ${WWWOFFLE_SPOOL} != "/var/spool/wwwoffle"
# If using a non-standard spool, change all the documentation (and anything
# else) to reflect that.
PKGMESSAGE=${WRKDIR}/MESSAGE
post-configure:
@${SED} 's@/var/spool/wwwoffle@${WWWOFFLE_SPOOL}/wwwoffle@g' \
${PKGDIR}/pkg-message > ${PKGMESSAGE}
.endif
post-install:
@${INSTALL_SCRIPT} ${WRKSRC}/conf/upgrade-config.pl ${WWWOFFLE_SPOOL}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>