freebsd-ports/www/pnews/Makefile
Olli Hauer 8f036e5082 - add stage support
- add LICENSE
- cleanup
2014-05-24 22:16:45 +00:00

31 lines
639 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}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= PHP Web-based News Reader
LICENSE= GPLv2
USE_PHP= yes
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>