freebsd-ports/www/pnews/Makefile
Edwin Groothuis 27c3b39212 [PATCH] www/pnews: update to 2.6.3, take maintainership
- Use correct version, update to 2.6.3, so bump PORTEPOCH.
	- Don't require php-cgi, USE_PHP is enough.
	- Take maintainership.

PR:		ports/90899
Submitted by:	Gea-Suan Lin <gslin@gslin.org>
Song:		Rolling Stones - The last time
2005-12-26 01:14:01 +00:00

35 lines
721 B
Makefile

# ex:ts=8
# Ports collection makefile for: pnews
# Date created: Feb 25, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= pnews
PORTVERSION= 2.6.3
PORTEPOCH= 1
CATEGORIES= www news
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
EXTRACT_SUFX= .tgz
MAINTAINER= gslin@gslin.org
COMMENT= PHP Web-based News Reader
USE_PHP= yes
NO_BUILD= yes
PNEWSDIR?= ${PREFIX}/www/data/pnews
do-install:
@${MKDIR} ${PNEWSDIR}
@${CP} -R ${WRKSRC}/* ${PNEWSDIR}
@${FIND} ${PNEWSDIR} -type f | \
${SED} -e "s,^${PREFIX}/,," >> ${TMPPLIST}
@${FIND} ${PNEWSDIR} -type d | ${SORT} -r | \
${SED} -e "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST}
.include <bsd.port.mk>