aboutsummaryrefslogtreecommitdiffstats
path: root/www/pnews/Makefile
blob: 4bcfa60acae866ab10e287fb88a13623b7893452 (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.6
PORTEPOCH=  1
CATEGORIES= www news
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ${PORTNAME}${PORTVERSION:S/.//g}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    PHP Web-based News Reader

USE_PHP=    yes
NO_BUILD=   yes

PNEWSDIR?=  www/pnews
PNEWSFULLDIR=   ${PREFIX}/${PNEWSDIR}
PLIST_SUB+= PNEWSDIR="${PNEWSDIR}"

do-install:
    @${MKDIR} ${PNEWSFULLDIR}
    @${CP} -R ${WRKSRC}/* ${PNEWSFULLDIR}
    @${CP} -R ${WRKSRC}/.htaccess ${WRKSRC}/* ${PNEWSFULLDIR}
    @${FIND} ${PNEWSFULLDIR} -path '*/.svn' | ${XARGS} ${RM} -fr

.include <bsd.port.mk>