From edfd67d86119a6277ec9af0ac487d3ee1035b4da Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Thu, 20 Feb 2014 08:06:18 +0000 Subject: Support staging --- databases/lmdb/Makefile | 18 ++++++------------ databases/lmdb/pkg-plist | 8 ++++++++ 2 files changed, 14 insertions(+), 12 deletions(-) create mode 100644 databases/lmdb/pkg-plist (limited to 'databases/lmdb') diff --git a/databases/lmdb/Makefile b/databases/lmdb/Makefile index 6c1e259fac30..b8ca74c6e422 100644 --- a/databases/lmdb/Makefile +++ b/databases/lmdb/Makefile @@ -24,22 +24,16 @@ GO_PROJECT= mdb GO_TAGNAME= ${PORTNAME:U}_${PORTVERSION} FETCH_ARGS?= -o ${DISTDIR}/${DISTFILES} -NO_STAGE= yes do-install: - ${INSTALL_LIB} ${WRKSRC}/liblmdb.a ${PREFIX}/lib/ - ${INSTALL_LIB} ${WRKSRC}/liblmdb.so ${PREFIX}/lib/liblmdb.so.0 - ${LN} -sf liblmdb.so.0 ${PREFIX}/lib/liblmdb.so + ${INSTALL_LIB} ${WRKSRC}/liblmdb.a ${STAGEDIR}${PREFIX}/lib/ + ${INSTALL_LIB} ${WRKSRC}/liblmdb.so ${STAGEDIR}${PREFIX}/lib/liblmdb.so.0 + ${LN} -sf liblmdb.so.0 ${STAGEDIR}${PREFIX}/lib/liblmdb.so .for f in mdb_stat mdb_copy - ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor - ${INSTALL_DATA} ${WRKSRC}/lmdb.h ${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/lmdb.h ${STAGEDIR}${PREFIX}/include .for f in mdb_stat.1 mdb_copy.1 - ${INSTALL_MAN} ${WRKSRC}/${f} ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/man/man1 .endfor -MAN1= mdb_stat.1 mdb_copy.1 -PLIST_FILES= lib/liblmdb.a lib/liblmdb.so lib/liblmdb.so.0 -PLIST_FILES+= bin/mdb_stat bin/mdb_copy -PLIST_FILES+= include/lmdb.h - .include diff --git a/databases/lmdb/pkg-plist b/databases/lmdb/pkg-plist new file mode 100644 index 000000000000..005831fd26e6 --- /dev/null +++ b/databases/lmdb/pkg-plist @@ -0,0 +1,8 @@ +bin/mdb_copy +bin/mdb_stat +include/lmdb.h +lib/liblmdb.a +lib/liblmdb.so +lib/liblmdb.so.0 +man/man1/mdb_copy.1.gz +man/man1/mdb_stat.1.gz -- cgit v1.2.3