1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/www/pwebstats/Makefile
Martin Wilke 032db407f4 - Stage support
PR:		190372
2014-06-05 05:20:24 +00:00

29 lines
890 B
Makefile

# Created by: HSIN-HSIUNG CHANG <sexbear@tmu.edu.tw>
# $FreeBSD$
PORTNAME= pwebstats
PORTVERSION= 1.3.8
PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= http://www.gleeson.net/pub/pwebstats/dist/ \
ftp://ftp.psg.com/pub/pwebstats/ \
ftp://ftp.unimelb.edu.au/pub/www/tools/unix/pwebstats/
MAINTAINER= sexbear@tmu.edu.tw
COMMENT= Analyse a web server log
RUN_DEPENDS= fly:${PORTSDIR}/graphics/fly
USES= perl5
NO_BUILD= yes
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/pwebstats/
${CP} -R ${WRKSRC}/* ${STAGEDIR}${PREFIX}/etc/pwebstats/
${MV} "${STAGEDIR}${PREFIX}/etc/pwebstats/templates/images/'.gif" ${STAGEDIR}${PREFIX}/etc/pwebstats/templates/images/10.gif
${MV} "${STAGEDIR}${PREFIX}/etc/pwebstats/templates/images/dates/'.gif" ${STAGEDIR}${PREFIX}/etc/pwebstats/templates/images/dates/10.gif
${RM} ${STAGEDIR}${PREFIX}/etc/pwebstats/pwebstats.orig
.include <bsd.port.mk>