b50a4b0708
- Mk/bsd.database.mk rewrite, new default to db5. - db6 is eligible by default only if installed on the system. - Bump PORTREVISION of all ports that directly depend on BerkeleyDB or where USE_BDB is found in the port's directory - Patch a few ports such that they will pick up or work with newer versions. - Add UPDATING entry - Drive-by format fix for pks - Drop BerkeleyDB option from mail/popular for now, requires more work. - Exp-run logs linked from the PR below. - Ports that do not build (IGNORE, BROKEN, etc.) have pro-forma changes for new Berkeley DB, but are untested. NOTE: please read UPDATING and the Wiki page before proceeding! Announcement: http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-August/000090.html Wiki reference: https://wiki.freebsd.org/Ports/BerkeleyDBCleanup PR: 192690 Approved by: portmgr (implicit, PORTREVISION bump on unstaged ports)
42 lines
903 B
Makefile
42 lines
903 B
Makefile
# Created by: Philip Jenvey <pjenvey@turntables.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rdfdb
|
|
PORTVERSION= 0.46
|
|
PORTREVISION= 4
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://www.guha.com/
|
|
DISTNAME= rdfdb_src
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Lightweight RDF database
|
|
|
|
USE_BDB= 40+
|
|
INVALID_BDB_VER=2
|
|
|
|
USERS= rdfdb
|
|
GROUPS= rdfdb
|
|
|
|
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
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
|
|
-e 's,%%PTHREAD_LIBS%%,${PTHREAD_LIBS:S/"//g},g' \
|
|
-e 's,%%BDB_INCLUDE_DIR%%,${BDB_INCLUDE_DIR},g'\
|
|
-e 's,%%BDB_LIB_NAME%%,${BDB_LIB_NAME},g' \
|
|
${WRKSRC}/makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/rdfdb ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|