1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/www/polipo/Makefile
Baptiste Daroussin 7990f81066 Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
2018-11-10 18:12:57 +00:00

58 lines
1.7 KiB
Makefile

# Created by: Frank Behrens <frank@pinky.sax.de>
# $FreeBSD$
PORTNAME= polipo
PORTVERSION= 1.1.1
PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/
MAINTAINER= frank@pinky.sax.de
COMMENT= Small and fast caching web proxy
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USES= makeinfo
USE_RC_SUBR= polipo
INFO= polipo
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
DOCSDIR= ${DATADIR}/www/doc
PORTDOCS= *
SUB_FILES= pkg-message pkg-install pkg-deinstall 400.polipo
SUB_LIST+= USER=${PUSER} GROUP=${PGRP} DESTDIR=${DESTDIR} PCONFIGDIR=${PCONFIGDIR} \
PCACHEDIR=${PCACHEDIR} PPIDDIR=${PPIDDIR} PPIDFILE=${PPIDFILE} \
PLOGFILE=${PLOGFILE}
PLIST_SUB+= PCACHEDIR=${PCACHEDIR}
# polipo installation options, propagated to install scripts
PUSER?= polipo
PGRP?= polipo
PCONFIGDIR?= ${PREFIX}/etc/polipo/
PCACHEDIR?= /var/cache/polipo
PPIDDIR?= /var/run/polipo/
PPIDFILE= ${PPIDDIR}polipo.pid
PLOGFILE?= /var/log/polipo
MAKE_ENV+= DISK_CACHE_ROOT=${PCACHEDIR}
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily/ \
${STAGEDIR}${PCONFIGDIR} \
${STAGEDIR}${PCACHEDIR} \
${STAGEDIR}${DOCSDIR}
${INSTALL_PROGRAM} ${WRKSRC}/polipo ${STAGEDIR}${PREFIX}/bin/
${INSTALL_SCRIPT} ${WRKDIR}/400.polipo ${STAGEDIR}${PREFIX}/etc/periodic/daily/
${INSTALL_MAN} ${WRKSRC}/polipo.man ${STAGEDIR}${PREFIX}/man/man1/polipo.1
${INSTALL_DATA} ${WRKSRC}/config.sample ${WRKSRC}/forbidden.sample ${STAGEDIR}${PCONFIGDIR}
${INSTALL_DATA} ${WRKSRC}/polipo.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
${INSTALL_DATA} ${WRKSRC}/html/* ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/localindex.html ${STAGEDIR}${DATADIR}/www/index.html
.include <bsd.port.post.mk>