1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/www/pnews/Makefile

30 lines
647 B
Makefile

# Created by: 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}"
NO_STAGE= yes
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>