aboutsummaryrefslogtreecommitdiffstats
path: root/www/pnews/Makefile
blob: ee2fb7a64401afcc82151c15cf446d24de0cbacb (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
# ex:ts=8
# Ports collection makefile for:    pnews
# Date created:         Feb 25, 2004
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   pnews
PORTVERSION=    2.6.4
PORTREVISION=   1
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}
    @${CP} -R ${WRKSRC}/.htaccess ${WRKSRC}/* ${PNEWSDIR}

.include <bsd.port.mk>