summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/geeklog/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/www/geeklog/Makefile b/www/geeklog/Makefile
index b64ceabaa50..b494547f9b5 100644
--- a/www/geeklog/Makefile
+++ b/www/geeklog/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.16 2007/07/04 20:55:04 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2008/05/26 00:40:24 joerg Exp $
#
DISTNAME= geeklog-${VER}
PKGNAME= geeklog-${VER:C/(sr|-)/./g}
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.geeklog.net/filemgmt/upload_dir/
@@ -13,6 +14,8 @@ COMMENT= PHP/MySQL based application for managing dynamic web content
DEPENDS+= ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}>=4.3.3:../../www/ap-php
DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=4.3.0:../../databases/php-mysql
+USE_TOOLS+= pax:run
+
VER= 1.4.1
NO_BUILD= YES
@@ -108,19 +111,19 @@ do-install:
${INSTALL_SCRIPT} ${WRKDIR}/createdb.php ${GEEKLOG_DIR}
${INSTALL_DATA} ${WRKDIR}/geeklog.conf ${GEEKLOG_EXAMPLESDIR}
.for f in ${GEEKLOG_SYS}
- cd ${WRKSRC}; ${PAX} -rw ${f} ${GEEKLOG_DIR}
+ cd ${WRKSRC}; pax -rw ${f} ${GEEKLOG_DIR}
.endfor
cd ${WRKSRC}/public_html; \
- ${PAX} -rw admin ${GEEKLOG_DIR}; \
+ pax -rw admin ${GEEKLOG_DIR}; \
${RM} -rf admin
.for d in ${GEEKLOG_TMPL_SUB}
cd ${WRKSRC}/public_html; \
if [ -d ${d} ]; then \
- ${PAX} -rw ${d} ${GEEKLOG_TMPL_DIR}; \
+ pax -rw ${d} ${GEEKLOG_TMPL_DIR}; \
${RM} -rf ${d}; \
fi
.endfor
- cd ${WRKSRC}/public_html; ${PAX} -rw . ${GEEKLOG_PUBDIR}
+ cd ${WRKSRC}/public_html; pax -rw . ${GEEKLOG_PUBDIR}
.include "../../mk/apache.mk"
.include "../../lang/php/phpversion.mk"