blob: f0c68d4d79167eba2c4d2424a6fc3e284d513396 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# ex:ts=8
# Ports collection makefile for: pnews
# Date created: Feb 25, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= pnews
PORTVERSION= 2.6.3
PORTEPOCH= 1
CATEGORIES= www news
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
EXTRACT_SUFX= .tgz
MAINTAINER= gslin@gslin.org
COMMENT= PHP Web-based News Reader
USE_PHP= yes
NO_BUILD= yes
PNEWSDIR?= ${PREFIX}/www/data/pnews
do-install:
@${MKDIR} ${PNEWSDIR}
@${CP} -R ${WRKSRC}/* ${PNEWSDIR}
@${FIND} ${PNEWSDIR} -type f | \
${SED} -e "s,^${PREFIX}/,," >> ${TMPPLIST}
@${FIND} ${PNEWSDIR} -type d | ${SORT} -r | \
${SED} -e "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST}
.include <bsd.port.mk>
|