diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2015-01-13 15:33:46 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2015-01-13 15:33:46 +0000 |
commit | 6bdb18c22ecf93cc2b1dbc55a44b2f05e6944c2a (patch) | |
tree | 074bf153121caa86960aff953cd8a6c2afbec621 /databases/tinycdb | |
parent | 85bd38b564a75cb4806c35220869a1d8fe4e3c62 (diff) | |
download | freebsd-ports-6bdb18c22ecf93cc2b1dbc55a44b2f05e6944c2a.zip |
- Strip binary executable and shared library
- Remove WRKSRC
- Use PLIST
- Bump PORTREVISION for package change
- Take maintainership
Diffstat (limited to 'databases/tinycdb')
-rw-r--r-- | databases/tinycdb/Makefile | 16 | ||||
-rw-r--r-- | databases/tinycdb/pkg-plist | 8 |
2 files changed, 15 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> diff --git a/databases/tinycdb/pkg-plist b/databases/tinycdb/pkg-plist new file mode 100644 index 000000000000..1f72bb8a1369 --- /dev/null +++ b/databases/tinycdb/pkg-plist @@ -0,0 +1,8 @@ +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 |