diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-05-16 16:05:05 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-05-16 16:05:05 +0800 |
commit | 127c8858aad8907fe7651083221ba9fc42f9c0b7 (patch) | |
tree | 771a1b9599b9951a1dc1b9633034b104d2ae0536 /databases | |
parent | ef1189f98d16a392b1fce03950db243f8a535e8f (diff) | |
download | freebsd-ports-gnome-127c8858aad8907fe7651083221ba9fc42f9c0b7.tar.gz freebsd-ports-gnome-127c8858aad8907fe7651083221ba9fc42f9c0b7.tar.zst freebsd-ports-gnome-127c8858aad8907fe7651083221ba9fc42f9c0b7.zip |
1: Support staging.
2: use USE_RC_SUBR instead.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/rdfdb/Makefile | 17 | ||||
-rw-r--r-- | databases/rdfdb/files/patch-librdf_db.c (renamed from databases/rdfdb/files/patch-librdf::db.c) | 0 | ||||
-rw-r--r-- | databases/rdfdb/files/patch-librdf_rdflib.c (renamed from databases/rdfdb/files/patch-librdf::rdflib.c) | 0 | ||||
-rw-r--r-- | databases/rdfdb/files/rdfdb-server.in (renamed from databases/rdfdb/files/rdfdb-server.sh.tmpl) | 0 |
4 files changed, 6 insertions, 11 deletions
diff --git a/databases/rdfdb/Makefile b/databases/rdfdb/Makefile index 045da9938a03..b0fc73a44fe2 100644 --- a/databases/rdfdb/Makefile +++ b/databases/rdfdb/Makefile @@ -17,17 +17,18 @@ INVALID_BDB_VER=2 USERS= rdfdb GROUPS= rdfdb -WRKSRC= ${WRKDIR}/rdfdb -USE_GMAKE= yes +WRKSRC= ${WRKDIR}/rdfdb +USES= gmake MAKEFILE= makefile ALL_TARGET= CFLAGS+= ${PTHREAD_CFLAGS} -Wno-return-type +SUB_LIST+= RDFDB_PORT="${RDFDB_PORT}" RDFDB_DIR="${RDFDB_DIR}" +USE_RC_SUBR= rdfdb-server RDFDB_PORT?= 7001 -PLIST_FILES= bin/rdfdb bin/rdfdb etc/rc.d/rdfdb-server.sh +PLIST_FILES= bin/rdfdb -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \ -e 's,%%PTHREAD_LIBS%%,${PTHREAD_LIBS:S/"//g},g' \ @@ -36,12 +37,6 @@ post-patch: ${WRKSRC}/makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/rdfdb ${PREFIX}/bin - @${SED} "s|%%PREFIX%%|${PREFIX}|g; s|%%RDFDB_DIR%%|${RDFDB_DIR}|g; \ - s|%%RDFDB_PORT%%|${RDFDB_PORT}|g" \ - < ${FILESDIR}/rdfdb-server.sh.tmpl \ - > ${PREFIX}/etc/rc.d/rdfdb-server.sh - @${CHMOD} 554 ${PREFIX}/etc/rc.d/rdfdb-server.sh - @${CHOWN} root:rdfdb ${PREFIX}/etc/rc.d/rdfdb-server.sh + ${INSTALL_PROGRAM} ${WRKSRC}/rdfdb ${STAGEDIR}${PREFIX}/bin .include <bsd.port.mk> diff --git a/databases/rdfdb/files/patch-librdf::db.c b/databases/rdfdb/files/patch-librdf_db.c index 28f7c9bfc4dd..28f7c9bfc4dd 100644 --- a/databases/rdfdb/files/patch-librdf::db.c +++ b/databases/rdfdb/files/patch-librdf_db.c diff --git a/databases/rdfdb/files/patch-librdf::rdflib.c b/databases/rdfdb/files/patch-librdf_rdflib.c index 49cdc0349ac9..49cdc0349ac9 100644 --- a/databases/rdfdb/files/patch-librdf::rdflib.c +++ b/databases/rdfdb/files/patch-librdf_rdflib.c diff --git a/databases/rdfdb/files/rdfdb-server.sh.tmpl b/databases/rdfdb/files/rdfdb-server.in index a3ccd8132b67..a3ccd8132b67 100644 --- a/databases/rdfdb/files/rdfdb-server.sh.tmpl +++ b/databases/rdfdb/files/rdfdb-server.in |