1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

New port: postnuke

PostNuke is a content management system written in PHP with
	a database backend, focusing on style, appearance, and
	functionality.

PR:		ports/40544
Submitted by:	Tae-seong Kim <rapzzard@rapzzard.pe.kr>
This commit is contained in:
Edwin Groothuis 2003-01-20 03:32:55 +00:00
parent c859c870fc
commit 28001b1d75
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73587
7 changed files with 1322 additions and 0 deletions

View File

@ -353,6 +353,7 @@
SUBDIR += phpbb
SUBDIR += phpnuke
SUBDIR += plugger
SUBDIR += postnuke
SUBDIR += pound
SUBDIR += privoxy
SUBDIR += publicfile

57
www/postnuke/Makefile Normal file
View File

@ -0,0 +1,57 @@
# New ports collection makefile for: postnuke
# Date created: 14 July 2002
# Whom: Tae-seong Kim <rapzzard@rapzzard.pe.kr>
#
# $FreeBSD$
#
PORTNAME= postnuke
PORTVERSION= 0.714
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= post-nuke
DISTNAME= Rogue_714
MAINTAINER= rapzzard@rapzzard.pe.kr
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
RUN_DEPENDS= ${LOCALBASE}/lib/php/System.php:${PORTSDIR}/www/mod_php4
NO_BUILD= yes
WRKSRC= ${WRKDIR}/pn_714
NO_WRKSUBDIR= yes
DOCFILES= README-FIRST.txt THEME_UPGRADES.txt UPGRADE.txt pnAPI.pdf pnMDG.pdf
PLIST_SUB= NUKEDIR=${NUKEDIR}
PKGMESSAGE= ${WRKDIR}/pkg-message
USE_REINPLACE= yes
pre-fetch:
.if !defined(NUKEDIR)
@${ECHO_MSG} ""
@${ECHO_MSG} "Define NUKEDIR to override default of 'www/data/postnuke'."
@${ECHO_MSG} ""
.endif
NUKEDIR?= www/data/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}/sql
@${CP} -Rp ${WRKSRC}/html ${WRKSRC}/sql ${PREFIX}/${NUKEDIR}
post-install:
@${CHMOD} 666 ${PREFIX}/${NUKEDIR}/html/config*.php
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${DOCSDIR}
@ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${DOCSDIR}
.endif
@ ${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

1
www/postnuke/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (Rogue_714.tar.gz) = a726bf0660f481fc093bf37b20f51578

1
www/postnuke/pkg-comment Normal file
View File

@ -0,0 +1 @@
An automated website package to distribute and manage content

5
www/postnuke/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
PostNuke is a content management system
written in PHP with a database backend,
focusing on style, appearance, and functionality.
WWW: http://postnuke.com/

11
www/postnuke/pkg-message Normal file
View File

@ -0,0 +1,11 @@
*******************************************************************
Notice!!
1) Edit /usr/local/etc/php.ini
register_globals = On
2) Restart Apache
apachectl restart
3) Open "http://localhost/postnuke/html/install.php"
4) When installation finished, change some files permission.
chmod 555 %%PREFIX%%/%%NUKEDIR%%/html/config*.php
*******************************************************************

1246
www/postnuke/pkg-plist Normal file

File diff suppressed because it is too large Load Diff