Update www/firefox-esr to version 102.5.0,1
[dports.git] / www / wwwoffle / Makefile
1 PORTNAME=       wwwoffle
2 PORTVERSION=    2.9j
3 CATEGORIES=     www
4 MASTER_SITES=   http://www.gedanken.org.uk/software/wwwoffle/download/
5
6 MAINTAINER=     ports@FreeBSD.org
7 COMMENT=        Caching proxy server for HTTP and FTP designed for dial-up hosts
8 WWW=            https://www.gedanken.org.uk/software/wwwoffle/
9
10 LICENSE=        GPLv2
11 LICENSE_FILE=   ${WRKSRC}/doc/COPYING
12
13 LIB_DEPENDS=    libgnutls.so:security/gnutls
14
15 USES=           cpe perl5 gmake tar:tgz
16 GNU_CONFIGURE=  yes
17 CONFIGURE_ARGS= --with-confdir=${PREFIX}/etc --with-ipv6 \
18                 --with-gnutls=${LOCALBASE} \
19                 --with-spooldir=${WWWOFFLE_SPOOL} \
20                 --docdir=${DOCSDIR}
21 LIBS+=          -lmd
22
23 PLIST_SUB+=     WWWOFFLE_SPOOL=${WWWOFFLE_SPOOL}
24 SUB_FILES=      pkg-message
25 SUB_LIST=       WWWOFFLE_SPOOL="${WWWOFFLE_SPOOL}"
26
27 USE_RC_SUBR=    ${PORTNAME}d
28
29 # $SPOOL seems like a common name which could be used for other things, so
30 # use $WWWOFFLE_SPOOL as the overriding setting.
31 WWWOFFLE_SPOOL?=        /var/spool/wwwoffle
32
33 post-install:
34         ${INSTALL_SCRIPT} ${WRKSRC}/conf/upgrade-config.pl ${STAGEDIR}${WWWOFFLE_SPOOL}
35         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}* ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}d
36
37 .include <bsd.port.mk>