mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
d969fbba79
Approved by: delphij (mentor) archivers/pecl-bz2/Makefile archivers/pecl-lzf/Makefile archivers/pecl-rar/Makefile audio/fapg/Makefile audio/pecl-id3/Makefile chinese/CJKUnifonts/Makefile chinese/auto-tw-l10n/Makefile chinese/dfsongsd/Makefile chinese/fortunetw/Makefile chinese/gcin/Makefile chinese/joe/Makefile chinese/joe2/Makefile chinese/pcmanx/Makefile chinese/phpbb-tw/Makefile chinese/tatter-tools/Makefile chinese/ve/Makefile chinese/zhcon/Makefile devel/pear-Console_Getopt/Makefile devel/pear-Console_Table/Makefile devel/pear-PEAR_Info/Makefile devel/pecl-expect/Makefile games/p5-Baseball-Sabermetrics/Makefile graphics/epdfview/Makefile graphics/p5-Chart-Clicker/Makefile graphics/p5-GD-Thumbnail/Makefile graphics/p5-Visio/Makefile mail/pecl-esmtp/Makefile math/pecl-stats/Makefile misc/pear-Services_Weather/Makefile net/ldapdiff/Makefile net/p5-RRD-Simple/Makefile net/pear-Net_CDDB/Makefile net/pear-Net_SMS/Makefile net/pecl-cvsclient/Makefile security/gwee/Makefile security/p5-GSSAPI/Makefile security/pam-pgsql/Makefile security/pecl-ssh2/Makefile security/pecl-tcpwrap/Makefile sysutils/p5-BSD-Sysctl/Makefile sysutils/p5-File-Next/Makefile textproc/csvdiff/Makefile textproc/p5-CSS/Makefile textproc/p5-Pod-XML/Makefile textproc/p5-SGML-DTDParse/Makefile textproc/p5-Text-Emoticon-GoogleTalk/Makefile textproc/p5-XML-Handler-Dtd2DocBook/Makefile textproc/p5-XML-Handler-Dtd2Html/Makefile textproc/p5-XML-SAXDriver-CSV/Makefile textproc/p5-XML-SAXDriver-Excel/Makefile textproc/p5-ack/Makefile textproc/pear-XML_DTD/Makefile textproc/pecl-stem/Makefile textproc/scim-input-pad/Makefile textproc/sdcv/Makefile www/b2evolution/Makefile www/dokuwiki/Makefile www/dokuwiki-devel/Makefile www/lilurl/Makefile www/p5-HTML-TableParser/Makefile www/p5-HTML-WikiConverter/Makefile www/p5-HTML-WikiConverter-DokuWiki/Makefile www/p5-HTML-WikiConverter-Kwiki/Makefile www/p5-HTML-WikiConverter-Markdown/Makefile www/p5-HTML-WikiConverter-MediaWiki/Makefile www/p5-HTML-WikiConverter-MoinMoin/Makefile www/p5-HTML-WikiConverter-Oddmuse/Makefile www/p5-HTML-WikiConverter-PbWiki/Makefile www/p5-HTML-WikiConverter-PhpWiki/Makefile www/p5-HTML-WikiConverter-PmWiki/Makefile www/p5-HTML-WikiConverter-SnipSnap/Makefile www/p5-HTML-WikiConverter-Socialtext/Makefile www/p5-HTML-WikiConverter-TikiWiki/Makefile www/p5-HTML-WikiConverter-UseMod/Makefile www/p5-HTML-WikiConverter-WakkaWiki/Makefile www/p5-HTML-WikiConverter-WikkaWiki/Makefile www/p5-WWW-Baseball-NPB/Makefile www/p5-WWW-Comic/Makefile www/p5-WWW-VenusEnvy/Makefile www/pear-Services_Delicious/Makefile www/pear-UDDI/Makefile www/xpi-cssviewer/Makefile www/xpi-gmail-manager/Makefile www/xpi-google-notebook/Makefile www/xpi-mrtech-local-install/Makefile www/xpi-no-referrer/Makefile www/xpi-server_switcher/Makefile www/xpi-unplug/Makefile www/xpi-videodownloader/Makefile www/xpi-web_developer/Makefile x11/xdialog/Makefile x11-fm/pcmanfm/Makefile
57 lines
1.4 KiB
Makefile
57 lines
1.4 KiB
Makefile
# New ports collection makefile for: b2evolution
|
|
# Date created: 2005-04-16
|
|
# Whom: chinsan <chinsan@mail20000.com.tw>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= b2evolution
|
|
PORTVERSION= 0.9.2
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= evocms
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-${B2EVO_DATE}
|
|
|
|
MAINTAINER= chinsan@FreeBSD.org
|
|
COMMENT= A multilingual, multiuser, multi-blog engine
|
|
|
|
PATCH_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
|
|
|
|
USE_ZIP= YES
|
|
USE_DOS2UNIX= YES
|
|
|
|
B2EVO_DATE?= 2006-05-22
|
|
USE_PHP= mysql pcre session xml
|
|
NO_BUILD= YES
|
|
WANT_PHP_WEB= YES
|
|
|
|
TMPDIR?= ${PORTNAME}
|
|
WRKSRC= ${WRKDIR}/${TMPDIR}
|
|
|
|
B2EVO_URL?= b2evo
|
|
B2EVO_DIR?= www/${B2EVO_URL}
|
|
PLIST= ${WRKDIR}/pkg-plist
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
pre-install:
|
|
@cd ${WRKSRC} && ${FIND} -s . -type f | \
|
|
${SED} -e 's|^./||;s|^|${B2EVO_DIR}/|' > ${PLIST} \
|
|
&& ${FIND} -d * -type d | \
|
|
${SED} -e 's|^|@dirrm ${B2EVO_DIR}/|' >> ${PLIST} \
|
|
&& ${ECHO_CMD} @dirrm ${B2EVO_DIR} >> ${PLIST}
|
|
|
|
do-install:
|
|
${MKDIR} ${TARGETDIR}/${B2EVO_DIR}
|
|
@${CHMOD} 755 ${TARGETDIR}/${B2EVO_DIR}
|
|
@${CP} -R ${WRKSRC}/ ${TARGETDIR}/${B2EVO_DIR}
|
|
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${TARGETDIR}/${B2EVO_DIR}
|
|
@${CHMOD} 665 ${TARGETDIR}/${B2EVO_DIR}/blogs/conf/_config.php
|
|
|
|
post-install:
|
|
@${SED} -e 's|%%TARGETDIR%%|${TARGETDIR}|; s|%%PORTNAME%%|${PORTNAME}|' \
|
|
-e 's|%%B2EVO_DIR%%|${B2EVO_DIR}|; s|%%B2EVO_URL%%|${B2EVO_URL}|' \
|
|
${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|