diff options
author | bsam <bsam@FreeBSD.org> | 2013-06-13 19:56:17 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2013-06-13 19:56:17 +0800 |
commit | 91889910b4cba45e04364865f0b7c03b067acadb (patch) | |
tree | 9584dc7485153980cb2246636cd39b9ae5b33bb2 /databases/rdfdb | |
parent | 077e0e86d965e1aa3c6153e1b81d4b7fce4b986b (diff) | |
download | freebsd-ports-gnome-91889910b4cba45e04364865f0b7c03b067acadb.tar.gz freebsd-ports-gnome-91889910b4cba45e04364865f0b7c03b067acadb.tar.zst freebsd-ports-gnome-91889910b4cba45e04364865f0b7c03b067acadb.zip |
. fix build with clang (CFLAGS+=-Wno-return-type);
. trim Makefile headers;
. remove the indefinite article from COMMENT;
. use PLIST_FILES;
. remove pkg-list (two lines for PLIST_FILES, two lines useless anyway);
. do not mute install.
Diffstat (limited to 'databases/rdfdb')
-rw-r--r-- | databases/rdfdb/Makefile | 14 | ||||
-rw-r--r-- | databases/rdfdb/pkg-plist | 4 |
2 files changed, 6 insertions, 12 deletions
diff --git a/databases/rdfdb/Makefile b/databases/rdfdb/Makefile index 42417d9ac749..dd7d716c4bdf 100644 --- a/databases/rdfdb/Makefile +++ b/databases/rdfdb/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: rdfdb -# Date created: 28 December 2001 -# Whom: Philip Jenvey <pjenvey@turntables.org> -# +# Created by: Philip Jenvey <pjenvey@turntables.org> # $FreeBSD$ -# PORTNAME= rdfdb PORTVERSION= 0.46 @@ -13,7 +9,7 @@ MASTER_SITES= http://www.guha.com/ DISTNAME= rdfdb_src MAINTAINER= ports@FreeBSD.org -COMMENT= A lightweight RDF database +COMMENT= Lightweight RDF database USE_BDB= 40+ INVALID_BDB_VER=2 @@ -25,10 +21,12 @@ WRKSRC= ${WRKDIR}/rdfdb USE_GMAKE= yes MAKEFILE= makefile ALL_TARGET= -CFLAGS+= ${PTHREAD_CFLAGS} +CFLAGS+= ${PTHREAD_CFLAGS} -Wno-return-type RDFDB_PORT?= 7001 +PLIST_FILES= bin/rdfdb bin/rdfdb etc/rc.d/rdfdb-server.sh + post-patch: @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \ -e 's,%%PTHREAD_LIBS%%,${PTHREAD_LIBS:S/"//g},g' \ @@ -37,7 +35,7 @@ post-patch: ${WRKSRC}/makefile do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/rdfdb ${PREFIX}/bin + ${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 \ diff --git a/databases/rdfdb/pkg-plist b/databases/rdfdb/pkg-plist deleted file mode 100644 index 9e034522a150..000000000000 --- a/databases/rdfdb/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -bin/rdfdb -etc/rc.d/rdfdb-server.sh -@unexec rmdir %%RDFDB_DIR%% 2>/dev/null || true -@exec mkdir -p %%RDFDB_DIR%% |