1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/www/postnuke/Makefile
Martin Wilke 3f8b15741c Update MASTER_SITES
Submitted by:	linimon via mail
Approved by:	krion (mentor)
2006-07-03 12:25:10 +00:00

53 lines
1.2 KiB
Makefile

# New ports collection makefile for: postnuke
# Date created: 14 July 2002
# Whom: Tae-seong Kim <rapzzard@rapzzard.pe.kr>
#
# $FreeBSD$
#
PORTNAME= postnuke
PORTVERSION= 0.762
CATEGORIES= www
MASTER_SITES= http://noc.postnuke.com/frs/download.php/987/
DISTNAME= PostNuke-0.762
MAINTAINER= ports@FreeBSD.org
COMMENT= An automated website package to distribute and manage content
RUN_DEPENDS= ${LOCALBASE}/share/pear/System.php:${PORTSDIR}/devel/pear
USE_MYSQL= YES
NO_BUILD= yes
WRKSRC= ${WRKDIR}/PostNuke-${PORTVERSION}
NO_WRKSUBDIR= yes
PLIST_SUB= NUKEDIR=${NUKEDIR}
PKGMESSAGE= ${WRKDIR}/pkg-message
pre-fetch:
.if !defined(NUKEDIR)
@${ECHO_MSG} ""
@${ECHO_MSG} "Define NUKEDIR to override default of 'www/postnuke'."
@${ECHO_MSG} ""
.endif
NUKEDIR?= www/postnuke
post-configure:
${CP} pkg-message ${PKGMESSAGE}
${REINPLACE_CMD} \
-e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%NUKEDIR%%#${NUKEDIR}#g' ${PKGMESSAGE}
do-install:
@${MKDIR} ${PREFIX}/${NUKEDIR}
@${MKDIR} ${PREFIX}/${NUKEDIR}/html
@${MKDIR} ${PREFIX}/${NUKEDIR}/phoenix-sql
@${CP} -Rp ${WRKSRC}/html ${WRKSRC}/phoenix-sql ${PREFIX}/${NUKEDIR}
post-install:
@${CHMOD} 644 ${PREFIX}/${NUKEDIR}/html/config*.php
@ ${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>