From b761bbdfb8ebbdf94bb836b40e1c67ba047df65e Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sat, 6 Feb 2021 20:43:27 +0000 Subject: [PATCH] Cosmetic change --- databases/kyototycoon/Makefile | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/databases/kyototycoon/Makefile b/databases/kyototycoon/Makefile index ee083d7d67a7..8a3b411130eb 100644 --- a/databases/kyototycoon/Makefile +++ b/databases/kyototycoon/Makefile @@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libkyotocabinet.so:databases/kyotocabinet -OPTIONS_DEFINE= DOCS LZO +USES= gmake pkgconfig CONFIGURE_ARGS= --enable-uyield CPPFLAGS+= -fPIC @@ -27,8 +27,10 @@ REINPLACE_ARGS= -i '' TEST_TARGET= check USE_CXXSTD= gnu++98 USE_LDCONFIG= yes -USE_RC_SUBR= ${PORTNAME} -USES= gmake pkgconfig +USE_RC_SUBR= kyototycoon + +USERS= ${KYOTOTYCOON_USER} +GROUPS= ${KYOTOTYCOON_GROUP} PLIST_SUB= KYOTOTYCOON_USER=${KYOTOTYCOON_USER} \ KYOTOTYCOON_GROUP=${KYOTOTYCOON_GROUP} \ @@ -36,21 +38,20 @@ PLIST_SUB= KYOTOTYCOON_USER=${KYOTOTYCOON_USER} \ KYOTOTYCOON_LOGDIR=${KYOTOTYCOON_LOGDIR} \ KYOTOTYCOON_PIDFILE=${KYOTOTYCOON_PIDFILE} PORTDOCS= * -SUB_FILES= ${PORTNAME} +SUB_FILES= kyototycoon SUB_LIST= KYOTOTYCOON_USER=${KYOTOTYCOON_USER} \ KYOTOTYCOON_GROUP=${KYOTOTYCOON_GROUP} \ KYOTOTYCOON_DBDIR=${KYOTOTYCOON_DBDIR} \ KYOTOTYCOON_LOGDIR=${KYOTOTYCOON_LOGDIR} \ KYOTOTYCOON_PIDFILE=${KYOTOTYCOON_PIDFILE} -USERS= ${KYOTOTYCOON_USER} -GROUPS= ${KYOTOTYCOON_GROUP} +KYOTOTYCOON_USER?= kyototycoon +KYOTOTYCOON_GROUP?= kyototycoon +KYOTOTYCOON_DBDIR?= /var/db/kyototycoon +KYOTOTYCOON_LOGDIR?= /var/log/kyototycoon +KYOTOTYCOON_PIDFILE?= /var/run/kyototycoon.pid -KYOTOTYCOON_USER?= ${PORTNAME} -KYOTOTYCOON_GROUP?= ${PORTNAME} -KYOTOTYCOON_DBDIR?= /var/db/${PORTNAME} -KYOTOTYCOON_LOGDIR?= /var/log/${PORTNAME} -KYOTOTYCOON_PIDFILE?= /var/run/${PORTNAME}.pid +OPTIONS_DEFINE= DOCS LZO LZO_CONFIGURE_OFF= ac_cv_lib_lzo2_main=no LZO_CONFIGURE_ON= ac_cv_lib_lzo2_main=yes