aboutsummaryrefslogtreecommitdiff
path: root/databases/lmdb
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-20 08:06:18 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-20 08:06:18 +0000
commitedfd67d86119a6277ec9af0ac487d3ee1035b4da (patch)
tree976533ea58d5e29e325fa0b249b8f6487b1e9627 /databases/lmdb
parent7df01ca68ead141fdf47e6dd0f64104bef6d9bbc (diff)
downloadports-edfd67d86119a6277ec9af0ac487d3ee1035b4da.tar.gz
ports-edfd67d86119a6277ec9af0ac487d3ee1035b4da.zip
Support staging
Notes
Notes: svn path=/head/; revision=345175
Diffstat (limited to 'databases/lmdb')
-rw-r--r--databases/lmdb/Makefile18
-rw-r--r--databases/lmdb/pkg-plist8
2 files changed, 14 insertions, 12 deletions
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 <bsd.port.mk>
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