mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
b64d26e8c3
- Bump portrevision as files were not packaged with intended owner
35 lines
955 B
Makefile
35 lines
955 B
Makefile
# Created by: Bob Bomar <bob@fly.homeunix.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= geeklog
|
|
PORTVERSION= 1.6.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.geeklog.net/filemgmt/upload_dir/
|
|
|
|
MAINTAINER= sahil@FreeBSD.org
|
|
COMMENT= Web content management system
|
|
|
|
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
|
|
SUB_FILES= pkg-message
|
|
|
|
USE_MYSQL= yes
|
|
|
|
NO_BUILD= yes
|
|
USE_PHP= yes
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${WWWDIR}
|
|
@(cd ${WRKSRC} && \
|
|
${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR} "! -name db-config.php \
|
|
-or -name siteconfig.php")
|
|
@${INSTALL_DATA} ${WRKSRC}/db-config.php ${STAGEDIR}${WWWDIR}/db-config.php.sample;
|
|
@${INSTALL_DATA} ${WRKSRC}/public_html/siteconfig.php \
|
|
${STAGEDIR}${WWWDIR}/public_html/siteconfig.php.sample
|
|
@${RM} ${STAGEDIR}${WWWDIR}/public_html/siteconfig.php
|
|
.for i in db-config.php error.log siteconfig.php geeklog.rss
|
|
@${FIND} ${STAGEDIR}${WWWDIR} -name ${i} | ${XARGS} ${CHMOD} 755
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|