1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/www/jawstats/Makefile
Martin Wilke fc41d7f5ca - Stage support
PR:		190151
2014-06-05 06:18:45 +00:00

34 lines
904 B
Makefile

# Created by: Alan Snelson <alan@wave2.org>
# $FreeBSD$
PORTNAME= jawstats
DISTVERSION= 0.7beta
CATEGORIES= www
MASTER_SITES= http://www.jawstats.com/src/
MAINTAINER= Alan@Wave2.org
COMMENT= JAWStats is a Free Web Site Statistics tool
RUN_DEPENDS= awstats>=6.8:${PORTSDIR}/www/awstats
NO_WRKSUBDIR= yes
NO_BUILD= yes
USE_PHP= yes
WANT_PHP_WEB= yes
DEFAULT_PHP_VER= 5
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
do-install:
@${MKDIR} ${STAGEDIR}/${WWWDIR}
@cd ${WRKSRC}; ${FIND} . ! -path '*stage*' -print |\
${CPIO} --quiet -pdum -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}/${WWWDIR}
@${RM} -f ${STAGEDIR}${WWWDIR}/.PLIST.mktmp \
${STAGEDIR}${WWWDIR}/.build_done.jawstats._usr_local \
${STAGEDIR}${WWWDIR}/.configure_done.jawstats._usr_local \
${STAGEDIR}${WWWDIR}/.extract_done.jawstats._usr_local \
${STAGEDIR}${WWWDIR}/.patch_done.jawstats._usr_local
.include <bsd.port.mk>