2007-12-29 16:03:42 +01:00
|
|
|
# New ports collection makefile for: zenphoto
|
|
|
|
# Date created: 27 December 2007
|
|
|
|
# Whom: Philippe Audeoud <jadawin@tuxaco.net>
|
2011-01-12 02:51:06 +01:00
|
|
|
#
|
2007-12-29 16:03:42 +01:00
|
|
|
# $FreeBSD$
|
2011-01-12 02:51:06 +01:00
|
|
|
#
|
2007-12-29 16:03:42 +01:00
|
|
|
|
|
|
|
PORTNAME= zenphoto
|
2011-11-24 17:34:34 +01:00
|
|
|
PORTVERSION= 1.4.1.6
|
2007-12-29 16:03:42 +01:00
|
|
|
CATEGORIES= www
|
2010-11-17 17:35:09 +01:00
|
|
|
MASTER_SITES= GOOGLE_CODE \
|
|
|
|
http://www.zenphoto.org/files/
|
2007-12-29 16:03:42 +01:00
|
|
|
|
2010-11-17 17:35:09 +01:00
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
2007-12-29 16:03:42 +01:00
|
|
|
COMMENT= A simpler web photo gallery
|
|
|
|
|
2010-11-17 17:35:09 +01:00
|
|
|
LICENSE= GPLv2
|
2007-12-29 16:03:42 +01:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
2010-11-17 17:35:09 +01:00
|
|
|
USE_PHP= gd gettext json mbstring mysql pcre session
|
|
|
|
WANT_PHP_WEB= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2007-12-29 16:03:42 +01:00
|
|
|
|
|
|
|
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
SUB_FILES= pkg-message pkg-deinstall
|
2010-11-17 17:35:09 +01:00
|
|
|
SUB_LIST= PORTNAME=${PORTNAME}
|
2007-12-29 16:03:42 +01:00
|
|
|
|
2011-10-10 00:38:37 +02:00
|
|
|
post-extract:
|
|
|
|
@${RM} ${WRKSRC}/doc_files/License.txt ${WRKSRC}/doc_files/README.html ${WRKSRC}/zp-core/Zenphoto.package
|
2011-11-24 17:34:34 +01:00
|
|
|
.for i in albums cache cache_html/rss plugins/flag_thumbnail plugins/flvplayer \
|
|
|
|
plugins/gd_fonts plugins/imagick_fonts plugins/watermarks uploaded zp-data
|
2011-10-10 00:38:37 +02:00
|
|
|
@${TOUCH} ${WRKSRC}/${i}/.keepme
|
|
|
|
.endfor
|
|
|
|
|
2007-12-29 16:03:42 +01:00
|
|
|
do-install:
|
2011-10-10 00:38:37 +02:00
|
|
|
${MKDIR} ${WWWDIR}/
|
|
|
|
cd ${WRKSRC}/ && ${COPYTREE_SHARE} \* ${WWWDIR}/
|
|
|
|
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/
|
2010-11-17 17:35:09 +01:00
|
|
|
|
2007-12-29 16:03:42 +01:00
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|