1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/www/pnews/Makefile
Olli Hauer 8f036e5082 - add stage support
- add LICENSE
- cleanup
2014-05-24 22:16:45 +00:00

32 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>