Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2015 15:33:46 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r376955 - head/databases/tinycdb
Message-ID:  <201501131533.t0DFXkaP063800@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Jan 13 15:33:46 2015
New Revision: 376955
URL: https://svnweb.freebsd.org/changeset/ports/376955
QAT: https://qat.redports.org/buildarchive/r376955/

Log:
  - Strip binary executable and shared library
  - Remove WRKSRC
  - Use PLIST
  - Bump PORTREVISION for package change
  - Take maintainership

Added:
  head/databases/tinycdb/pkg-plist   (contents, props changed)
Modified:
  head/databases/tinycdb/Makefile

Modified: head/databases/tinycdb/Makefile
==============================================================================
--- head/databases/tinycdb/Makefile	Tue Jan 13 15:30:55 2015	(r376954)
+++ head/databases/tinycdb/Makefile	Tue Jan 13 15:33:46 2015	(r376955)
@@ -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>

Added: head/databases/tinycdb/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/tinycdb/pkg-plist	Tue Jan 13 15:33:46 2015	(r376955)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501131533.t0DFXkaP063800>