1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/www/pnews/Makefile
Ying-Chieh Liao a3d3dcf2ce add pnews 2.53
PHP News Reader
2004-02-25 06:11:00 +00:00

35 lines
716 B
Makefile

# ex:ts=8
# Ports collection makefile for: pnews
# Date created: Feb 25, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= pnews
PORTVERSION= 2.53
CATEGORIES= www news
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= PHP News Reader
USE_PHP= yes
WANT_PHP_CGI= 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>