Lines 1-11
Link Here
|
1 |
PORTNAME= postgrest |
1 |
PORTNAME= postgrest |
2 |
DISTVERSIONPREFIX= v |
2 |
DISTVERSIONPREFIX= v |
3 |
DISTVERSION= 12.0.2 |
3 |
DISTVERSION= 12.0.3 |
4 |
CATEGORIES= www databases haskell |
4 |
CATEGORIES= www databases haskell |
5 |
|
5 |
|
6 |
MAINTAINER= haskell@FreeBSD.org |
6 |
MAINTAINER= haskell@FreeBSD.org |
7 |
COMMENT= PostgREST create a REST API to an existing Postgres database |
7 |
COMMENT= PostgREST create a REST API to an existing Postgres database |
8 |
WWW= https://postgrest.org |
8 |
WWW= https://postgrest.org/ |
9 |
|
9 |
|
10 |
LICENSE= MIT |
10 |
LICENSE= MIT |
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
Lines 24-32
USE_RC_SUBR= postgrest
Link Here
|
24 |
|
24 |
|
25 |
SKIP_CABAL_PLIST= yes |
25 |
SKIP_CABAL_PLIST= yes |
26 |
|
26 |
|
27 |
POSTGREST_USER?= postgrest |
|
|
28 |
POSTGREST_GROUP?= postgrest |
29 |
|
30 |
SUB_FILES= default.conf |
27 |
SUB_FILES= default.conf |
31 |
SUB_LIST= ETCDIR=${ETCDIR} \ |
28 |
SUB_LIST= ETCDIR=${ETCDIR} \ |
32 |
POSTGREST_GROUP=${POSTGREST_GROUP} \ |
29 |
POSTGREST_GROUP=${POSTGREST_GROUP} \ |
Lines 48-53
PLIST_SUB= ETCDIR=${ETCDIR} \
Link Here
|
48 |
# 3) make make-use-cabal && paste the USE_CABAL section to Makefile.modules |
45 |
# 3) make make-use-cabal && paste the USE_CABAL section to Makefile.modules |
49 |
.include "Makefile.modules" |
46 |
.include "Makefile.modules" |
50 |
|
47 |
|
|
|
48 |
POSTGREST_GROUP?= postgrest |
49 |
POSTGREST_USER?= postgrest |
50 |
|
51 |
do-install: |
51 |
do-install: |
52 |
@${MKDIR} ${STAGEDIR}${ETCDIR} |
52 |
@${MKDIR} ${STAGEDIR}${ETCDIR} |
53 |
${INSTALL_DATA} ${WRKDIR}/default.conf ${STAGEDIR}${ETCDIR}/default.conf.sample |
53 |
${INSTALL_DATA} ${WRKDIR}/default.conf ${STAGEDIR}${ETCDIR}/default.conf.sample |