mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
090059a210
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)
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# New ports collection makefile for: wget4web
|
|
# Date created: Feb 02, 2005
|
|
# Whom: Roman Y. Bogdanov <sam@brj.pp.ru>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= wget4web
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= www ftp
|
|
MASTER_SITES= http://irodov.nm.ru/wget4web/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= sam@brj.pp.ru
|
|
COMMENT= WWW interface for console wget
|
|
|
|
USE_APACHE= yes
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
# These are tunable
|
|
WEBOWN?= www
|
|
WEBGRP?= www
|
|
LOGSDIR?= /var/log/wget4web
|
|
TASKDIR?= /var/spool/wget4web
|
|
FILESDIR?= /var/spool/wget4web/files
|
|
APACHEDIR?= ${PREFIX}/www/data
|
|
|
|
INSTALLDIR= ${APACHEDIR}/wget4web
|
|
NO_BUILD= yes
|
|
|
|
PLIST_SUB= INSTALLDIR=${INSTALLDIR:S,^${PREFIX}/,,} \
|
|
LOGSDIR=${LOGSDIR} TASKDIR=${TASKDIR} FILESDIR=${FILESDIR}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s#%%LOGSDIR%%#${LOGSDIR}#; \
|
|
s#%%TASKDIR%%#${TASKDIR}#; \
|
|
s#%%FILESDIR%%#${FILESDIR}#" \
|
|
${WRKSRC}/data/info.cgi
|
|
|
|
do-install:
|
|
@${MKDIR} ${INSTALLDIR}; \
|
|
cd ${WRKSRC}; ${FIND} . -name "*.cgi" -o -name "*.lib" \
|
|
| ${CPIO} -pdm -R ${WEBOWN}:${WEBGRP} ${INSTALLDIR}; \
|
|
${MKDIR} -p ${LOGSDIR} ${TASKDIR} ${FILESDIR}; \
|
|
${CHOWN} ${WEBOWN}:${WEBGRP} ${LOGSDIR} ${TASKDIR} ${FILESDIR}
|
|
|
|
.include <bsd.port.mk>
|