mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
30 lines
615 B
Makefile
30 lines
615 B
Makefile
# Created by: ijliao
|
|
|
|
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>
|