1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- projcet rename to lifetype

PR:		91264
Submitted by:	clsung
Repocopy by:	marcus
This commit is contained in:
Cheng-Lung Sung 2006-01-11 02:30:44 +00:00
parent ab188e5a7d
commit 5c68e5193a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=153223
5 changed files with 0 additions and 123 deletions

View File

@ -1,87 +0,0 @@
# New ports collection makefile for: plog
# Date created: 2004-10-27
# Whom: clsung
#
# $FreeBSD$
#
PORTNAME= plog
PORTVERSION= 1.0.1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= plog
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
_all_plugins${EXTRACT_SUFX} \
_all_templates${EXTRACT_SUFX}
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= clsung@FreeBSD.org
COMMENT= A PHP and MySQL based blogging platform
IGNOREFILES= _all_plugins${EXTRACT_SUFX} _all_templates${EXTRACT_SUFX}
USE_ZIP= YES
USE_PHP= ctype mysql pcre session xml
PHP4_PORT?= www/mod_php4
NO_BUILD= YES
WANT_PHP_WEB= YES
WWWDOCROOT?= www/data
PLOGURL?= plog
WWWOWN?= www
WWWGRP?= www
PLOGDIR?= ${WWWDOCROOT}/${PLOGURL}
PLIST= ${WRKDIR}/pkg-plist
PKGMESSAGE= ${WRKDIR}/pkg-message
OPTIONS= BIG5 "With Big5 chinese template fix" off \
GD "With GD Support" on \
IMAGICK "With ImageMagick Support" off
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_GD)
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/gd.so:${PORTSDIR}/${gd_DEPENDS}
.endif
.if defined(WITH_IMAGICK)
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/${imagick_DEPENDS}
.endif
.if defined(WITHOUT_GD) && !defined(WITH_IMAGICK)
pre-patch:
@${ECHO_CMD} "Without GD or ImageMagick support. No thumbnails will be generated at all."
.endif
post-extract:
.for x in plugins templates
cd ${WRKSRC}/${x} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/_all_${x}${EXTRACT_SUFX}
.endfor
.if defined(WITH_BIG5)
USE_REINPLACE=yes
post-patch:
${FIND} ${WRKSRC}/templates -name "*.template" | \
${XARGS} ${REINPLACE_CMD} -e 's/|capitalize//g' -e 's/%b/%B/g'
${FIND} ${WRKSRC}/templates -name "*.template.bak" -delete
.endif
pre-install:
@${RM} -f ${PLIST}
@cd ${WRKSRC} && ${FIND} -s . -type f | \
${SED} -e 's|^./||;s|^|${PLOGDIR}/|' > ${PLIST} \
&& ${ECHO_CMD} "@unexec ${RM} -fr %D/${PLOGDIR}/tmp/* 2>/dev/null || ${TRUE}" >> ${PLIST} \
&& ${FIND} -d * -type d | \
${SED} -e 's|^|@dirrm ${PLOGDIR}/|' >> ${PLIST} \
&& ${ECHO_CMD} @dirrm ${PLOGDIR} >> ${PLIST}
do-install:
@${MKDIR} ${PREFIX}/${PLOGDIR}
@${CP} -R ${WRKSRC}/ ${PREFIX}/${PLOGDIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PLOGDIR}
post-install:
@${SED} -e 's|%%PLOGURL%%|${PLOGURL}|' pkg-message > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View File

@ -1,4 +0,0 @@
MD5 (plog-1.0.1.zip) = fa3fe2def5c7c70c71ba68ebdde15668
SIZE (plog-1.0.1.zip) = 2526240
MD5 (_all_plugins.zip) = IGNORE
MD5 (_all_templates.zip) = IGNORE

View File

@ -1,12 +0,0 @@
--- wizard.php.orig Wed May 25 01:20:42 2005
+++ wizard.php Fri May 27 14:40:20 2005
@@ -1419,6 +1419,9 @@
}
}
+ // dirty hack, ignore duplicate table/key/column and upgrade anyway
+ $errors = false;
+
if( !$errors )
$message .= "Changes to table <strong>$tableId</strong> executed successfully.<br/>";
else {

View File

@ -1,8 +0,0 @@
pLog is a PHP and MySQL based blogging platform and its main goals
are flexibility and extendibility. It uses a powerful template system
based on the Smarty template engine to render the templates, whick
makes the platform highly customizable and safer to let other people
customize the templates, since the presentation code is isolated from
the PHP code.
WWW: http://www.plogworld.net/

View File

@ -1,12 +0,0 @@
======================================================================
**** NOTE ****
For first use of pLog, remember to point your browser to
http://your.plog.host/%%PLOGURL%%/wizard.php
and, remember to load your templates at
http://your.plog.host/%%PLOGURL%%/admin.php?op=adminSettings
and then click 'scanTemplates'
======================================================================