mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
8f036e5082
- add LICENSE - cleanup
32 lines
639 B
Makefile
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>
|