aboutsummaryrefslogtreecommitdiff
path: root/www/pnews/Makefile
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2007-03-07 07:19:28 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2007-03-07 07:19:28 +0000
commit2b29c0f7281088b7e68e38da2d8ffae8ec5c288b (patch)
tree7ad9b922e30f230f49f66d66dd99df9ee0c7a9f5 /www/pnews/Makefile
parent9ff4ffd62472a96915c1a30ec56509d4186a09cb (diff)
downloadports-2b29c0f7281088b7e68e38da2d8ffae8ec5c288b.tar.gz
ports-2b29c0f7281088b7e68e38da2d8ffae8ec5c288b.zip
Notes
Diffstat (limited to 'www/pnews/Makefile')
-rw-r--r--www/pnews/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/www/pnews/Makefile b/www/pnews/Makefile
index 685a1903a192..4bcfa60acae8 100644
--- a/www/pnews/Makefile
+++ b/www/pnews/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= pnews
-PORTVERSION= 2.6.4
-PORTREVISION= 1
+PORTVERSION= 2.6.6
PORTEPOCH= 1
CATEGORIES= www news
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -16,17 +15,20 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
EXTRACT_SUFX= .tgz
-MAINTAINER= gslin@gslin.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= PHP Web-based News Reader
USE_PHP= yes
NO_BUILD= yes
-PNEWSDIR?= ${TARGETDIR}/www/pnews
+PNEWSDIR?= www/pnews
+PNEWSFULLDIR= ${PREFIX}/${PNEWSDIR}
+PLIST_SUB+= PNEWSDIR="${PNEWSDIR}"
do-install:
- @${MKDIR} ${PNEWSDIR}
- @${CP} -R ${WRKSRC}/* ${PNEWSDIR}
- @${CP} -R ${WRKSRC}/.htaccess ${WRKSRC}/* ${PNEWSDIR}
+ @${MKDIR} ${PNEWSFULLDIR}
+ @${CP} -R ${WRKSRC}/* ${PNEWSFULLDIR}
+ @${CP} -R ${WRKSRC}/.htaccess ${WRKSRC}/* ${PNEWSFULLDIR}
+ @${FIND} ${PNEWSFULLDIR} -path '*/.svn' | ${XARGS} ${RM} -fr
.include <bsd.port.mk>