Lines 2-7
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= postgrest |
3 |
PORTNAME= postgrest |
4 |
PORTVERSION= 7.0.1 |
4 |
PORTVERSION= 7.0.1 |
|
|
5 |
PORTREVISION= 1 |
5 |
CATEGORIES= www databases haskell |
6 |
CATEGORIES= www databases haskell |
6 |
|
7 |
|
7 |
MAINTAINER= dmitry.wagin@ya.ru |
8 |
MAINTAINER= dmitry.wagin@ya.ru |
Lines 202-211
Link Here
|
202 |
GROUPS= ${POSTGREST_GROUP} |
203 |
GROUPS= ${POSTGREST_GROUP} |
203 |
|
204 |
|
204 |
SUB_FILES= default.conf |
205 |
SUB_FILES= default.conf |
205 |
SUB_LIST= ETCDIR=${ETCDIR} \ |
206 |
SUB_LIST= CABAL_LIBEXEC=${CABAL_LIBEXEC} \ |
|
|
207 |
ETCDIR=${ETCDIR} \ |
206 |
POSTGREST_USER=${POSTGREST_USER} \ |
208 |
POSTGREST_USER=${POSTGREST_USER} \ |
207 |
POSTGREST_GROUP=${POSTGREST_GROUP} |
209 |
POSTGREST_GROUP=${POSTGREST_GROUP} |
208 |
|
210 |
|
|
|
211 |
PLIST_FILES= "@sample ${ETCDIR}/default.conf.sample" |
209 |
PLIST_SUB= ETCDIR=${ETCDIR} \ |
212 |
PLIST_SUB= ETCDIR=${ETCDIR} \ |
210 |
POSTGREST_USER=${POSTGREST_USER} \ |
213 |
POSTGREST_USER=${POSTGREST_USER} \ |
211 |
POSTGREST_GROUP=${POSTGREST_GROUP} |
214 |
POSTGREST_GROUP=${POSTGREST_GROUP} |
Lines 212-224
Link Here
|
212 |
|
215 |
|
213 |
USE_RC_SUBR= postgrest |
216 |
USE_RC_SUBR= postgrest |
214 |
|
217 |
|
215 |
SKIP_CABAL_PLIST= yes |
218 |
post-install: |
216 |
|
|
|
217 |
do-install: |
218 |
@${MKDIR} ${STAGEDIR}${ETCDIR} |
219 |
@${MKDIR} ${STAGEDIR}${ETCDIR} |
219 |
${INSTALL_DATA} ${WRKDIR}/default.conf ${STAGEDIR}${ETCDIR}/default.conf.sample |
220 |
${INSTALL_DATA} ${WRKDIR}/default.conf ${STAGEDIR}${ETCDIR}/default.conf.sample |
220 |
${INSTALL_PROGRAM} \ |
|
|
221 |
$$(find ${WRKSRC}/dist-newstyle -name ${EXECUTABLES} -type f -perm +111) \ |
222 |
${STAGEDIR}${PREFIX}/sbin/${EXECUTABLES} |
223 |
|
221 |
|
224 |
.include <bsd.port.mk> |
222 |
.include <bsd.port.mk> |