aboutsummaryrefslogtreecommitdiff
path: root/www/pnews/Makefile
blob: 516071958874c454f145cff06a69a984d10f1c31 (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
# 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=	SF/${PORTNAME}/${PORTNAME}/v${PORTVERSION}
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>