- Update to 9.1
- Added target to automate plist creation and pkg-message (inspired from dokuwiki port) - Trim Makefile headers PR: ports/172860 Submitted by: Chris Petrik <c.petrik.sosa@gmail.com> (maintainer) Feature safe: yes
This commit is contained in:
parent
cd9f905e80
commit
674c2552ce
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306396
@ -1,30 +1,48 @@
|
||||
# New ports collection makefile for: tikiwiki
|
||||
# Date created: 19-JUNE-2006
|
||||
# Whom: Babak Farrokhi <babak@farrokhi.net>
|
||||
#
|
||||
# Created by: Babak Farrokhi <babak@farrokhi.net>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= tikiwiki
|
||||
PORTVERSION= 8.3
|
||||
PORTVERSION= 9.1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= SF/${PORTNAME}/Tiki_8.x_Acubens/${PORTVERSION}/
|
||||
MASTER_SITES= SF/${PORTNAME}/Tiki_9.x_Herbig_Haro/${PORTVERSION}/
|
||||
DISTNAME= tiki-${PORTVERSION}
|
||||
|
||||
MAINTAINER= c.petrik.sosa@gmail.com
|
||||
COMMENT= Powerful PHP based Wiki/CMS/Groupware
|
||||
|
||||
USE_PHP= gettext pcre posix session xml zlib
|
||||
WANT_PHP_WEB= YES
|
||||
|
||||
NO_BUILD= YES
|
||||
TIKIWIKI_DIR?= www/${PORTNAME}-${PORTVERSION}
|
||||
PLIST_SUB= TIKIWIKI_DIR=${TIKIWIKI_DIR}
|
||||
TEMP_PLIST= ${WRKDIR}/temp-pkg-plist
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST+= PORTNAME=${PORTNAME} TIKIWIKI_DIR=${TIKIWIKI_DIR}
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# This target is only meant to be used by the port maintainer.
|
||||
# Stolen from dokuwiki sorry :)
|
||||
|
||||
x-generate-plist:
|
||||
@cd ${WRKSRC} && ${FIND} -s . -type f | \
|
||||
${SED} -e 's|^./||;s|^|%%TIKIWIKI_DIR%%/|' > ${TEMP_PLIST} \
|
||||
&& ${FIND} -d * -type d | \
|
||||
${SED} -e 's|^|@dirrm %%TIKIWIKI_DIR%%/|' >> ${TEMP_PLIST} \
|
||||
&& ${ECHO_CMD} "@dirrmtry %%TIKIWIKI_DIR%%" >> ${TEMP_PLIST}
|
||||
|
||||
do-extract:
|
||||
${MKDIR} ${WRKDIR}
|
||||
${TAR} -yxf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} -C ${WRKDIR}
|
||||
|
||||
do-install:
|
||||
@-${MKDIR} ${WWWDIR}
|
||||
@(cd ${WRKDIR}/tiki-${PORTVERSION} && ${COPYTREE_SHARE} . ${WWWDIR})
|
||||
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
|
||||
-${MKDIR} ${PREFIX}/${TIKIWIKI_DIR}
|
||||
@${CP} -R ${WRKSRC}/ ${PREFIX}/${TIKIWIKI_DIR}
|
||||
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${TIKIWIKI_DIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (tiki-8.3.tar.gz) = 86b1b5475eba1a3f4b97c00167cb201bc8509a7489e19fd08223c20bdc8aa1ad
|
||||
SIZE (tiki-8.3.tar.gz) = 22554511
|
||||
SHA256 (tiki-9.1.tar.gz) = 5032b70737c1ad84e3bc7fae424e07b3f7723e7a6f0505c947acad40516dfb0e
|
||||
SIZE (tiki-9.1.tar.gz) = 25505600
|
||||
|
15
www/tikiwiki/files/pkg-message.in
Normal file
15
www/tikiwiki/files/pkg-message.in
Normal file
@ -0,0 +1,15 @@
|
||||
=================================================================
|
||||
**** NOTE ****
|
||||
1) Please add the following to your apache config, and restart.
|
||||
[1;32m#
|
||||
# Directives to allow use of tikiwiki
|
||||
#
|
||||
Alias /%%PORTNAME%% "%%PREFIX%%/%%TIKIWIKI_DIR%%/"[m
|
||||
|
||||
2) Open the following page in your browser and follow the instructions:
|
||||
[1;36mhttp://www.your.host/tikiwiki/[m
|
||||
|
||||
For FULL configuration instructions see
|
||||
http://http://doc.tiki.org/Tiki+Installation+Guide
|
||||
|
||||
=================================================================
|
27473
www/tikiwiki/pkg-plist
27473
www/tikiwiki/pkg-plist
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user