aboutsummaryrefslogtreecommitdiffstats
path: root/databases/tinycdb/Makefile
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-01-13 23:33:46 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-01-13 23:33:46 +0800
commit4c66d56096aeabf79a18052f4758b021a219ca28 (patch)
tree074bf153121caa86960aff953cd8a6c2afbec621 /databases/tinycdb/Makefile
parent3bc9b4df97e7e9ca768fbcdc0af21866c33bce99 (diff)
downloadfreebsd-ports-gnome-4c66d56096aeabf79a18052f4758b021a219ca28.tar.gz
freebsd-ports-gnome-4c66d56096aeabf79a18052f4758b021a219ca28.tar.zst
freebsd-ports-gnome-4c66d56096aeabf79a18052f4758b021a219ca28.zip
- Strip binary executable and shared library
- Remove WRKSRC - Use PLIST - Bump PORTREVISION for package change - Take maintainership
Diffstat (limited to 'databases/tinycdb/Makefile')
-rw-r--r--databases/tinycdb/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/databases/tinycdb/Makefile b/databases/tinycdb/Makefile
index f46048256d26..0efc4b5be8f0 100644
--- a/databases/tinycdb/Makefile
+++ b/databases/tinycdb/Makefile
@@ -3,22 +3,20 @@
PORTNAME= tinycdb
PORTVERSION= 0.78
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= http://www.corpit.ru/mjt/tinycdb/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Analogous to cdb, but faster
-USES= gmake
-USE_LDCONFIG= yes
-MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" prefix="${PREFIX}"
ALL_TARGET= static sharedlib
INSTALL_TARGET= install install-sharedlib
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" prefix="${PREFIX}"
+USE_LDCONFIG= yes
+USES= gmake
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
-PLIST_FILES= bin/cdb include/cdb.h lib/libcdb.a lib/libcdb.so lib/libcdb.so.1 \
- man/man1/cdb.1.gz man/man3/cdb.3.gz man/man5/cdb.5.gz
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cdb ${STAGEDIR}${PREFIX}/lib/libcdb.so.1
.include <bsd.port.mk>