svn commit: r320786 - head/databases/rdfdb
Boris Samorodov
bsam at FreeBSD.org
Thu Jun 13 11:56:17 UTC 2013
Author: bsam
Date: Thu Jun 13 11:56:17 2013
New Revision: 320786
URL: http://svnweb.freebsd.org/changeset/ports/320786
Log:
. 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.
Deleted:
head/databases/rdfdb/pkg-plist
Modified:
head/databases/rdfdb/Makefile
Modified: head/databases/rdfdb/Makefile
==============================================================================
--- head/databases/rdfdb/Makefile Thu Jun 13 11:56:03 2013 (r320785)
+++ head/databases/rdfdb/Makefile Thu Jun 13 11:56:17 2013 (r320786)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: rdfdb
-# Date created: 28 December 2001
-# Whom: Philip Jenvey <pjenvey at turntables.org>
-#
+# Created by: Philip Jenvey <pjenvey at turntables.org>
# $FreeBSD$
-#
PORTNAME= rdfdb
PORTVERSION= 0.46
@@ -13,7 +9,7 @@ MASTER_SITES= http://www.guha.com/
DISTNAME= rdfdb_src
MAINTAINER= ports at 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 \
More information about the svn-ports-all
mailing list