freebsd-ports/www/pnews/Makefile
Mathieu Arnold dca255c3ce Convert USE_PHP*=yes into USES=php*
PR:		210529
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6936
2016-06-28 14:00:45 +00:00

30 lines
627 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= pnews
PORTVERSION= 2.6.6
PORTEPOCH= 1
CATEGORIES= www news
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/v${PORTVERSION}
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
MAINTAINER= ports@FreeBSD.org
COMMENT= PHP Web-based News Reader
LICENSE= GPLv2+
USES= php tar:tgz
NO_BUILD= yes
PNEWSDIR?= www/pnews
PNEWSFULLDIR= ${PREFIX}/${PNEWSDIR}
PLIST_SUB+= PNEWSDIR="${PNEWSDIR}"
post-extract:
${FIND} ${WRKSRC} -type d -name .svn | ${XARGS} ${RM} -r
do-install:
@${MKDIR} ${STAGEDIR}${PNEWSFULLDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PNEWSFULLDIR})
.include <bsd.port.mk>