d26ef18700
PR: 213743 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight
38 lines
844 B
Makefile
38 lines
844 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= phprecipebook
|
|
PORTVERSION= 3.01
|
|
PORTREVISION= 2
|
|
CATEGORIES= www deskutils
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION:C/\..*//}
|
|
|
|
MAINTAINER= madpilot@FreeBSD.org
|
|
COMMENT= Small php webapp to manage your recipes
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/docs/LICENSE.TXT
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
USES= tar:tgz
|
|
USE_PHP= xml
|
|
WANT_PHP_WEB= yes
|
|
SUB_FILES= pkg-message
|
|
PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
|
|
|
|
OPTIONS_SINGLE= BACKEND
|
|
OPTIONS_SINGLE_BACKEND= MYSQL PGSQL
|
|
OPTIONS_DEFAULT= MYSQL
|
|
|
|
MYSQL_USE= PHP=mysql
|
|
MYSQL_USES= mysql
|
|
MYSQL_VARS= IGNORE_WITH_PHP+=70
|
|
PGSQL_USE= PHP=pgsql
|
|
PGSQL_USES= pgsql
|
|
|
|
do-install:
|
|
${MV} ${WRKSRC}/custom_inc.php ${WRKSRC}/custom_inc.php.sample
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
|
|
|
|
.include <bsd.port.mk>
|