blob: 2487d3d33ddc1e33fad2c6a96dd4d8aea664e8d5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $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=yes
PGSQL_USE= PHP=pgsql
PGSQL_USES= pgsql
post-extract:
@${CHMOD} -R u+w ${WRKSRC}
do-install:
${MV} ${WRKSRC}/custom_inc.php ${WRKSRC}/custom_inc.php.sample
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
.include <bsd.port.mk>
|