aboutsummaryrefslogtreecommitdiffstats
path: root/databases/puredb
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-08-13 17:01:07 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-08-13 17:01:07 +0800
commit6bebff284b1593e60be31a6be4c3c59a2adb95a6 (patch)
treeb262f5a5686d907cc957f689ac62ba534a198a08 /databases/puredb
parentd90acf276fee9d2554dd21750662b1954db61110 (diff)
downloadfreebsd-ports-gnome-6bebff284b1593e60be31a6be4c3c59a2adb95a6.tar.gz
freebsd-ports-gnome-6bebff284b1593e60be31a6be4c3c59a2adb95a6.tar.zst
freebsd-ports-gnome-6bebff284b1593e60be31a6be4c3c59a2adb95a6.zip
- Add LICENSE
- Switch to options helpers - Regenerate patches with `make makepatch`
Diffstat (limited to 'databases/puredb')
-rw-r--r--databases/puredb/Makefile9
-rw-r--r--databases/puredb/files/patch-src_example__read.c (renamed from databases/puredb/files/patch-example_read.c)4
-rw-r--r--databases/puredb/pkg-plist4
3 files changed, 8 insertions, 9 deletions
diff --git a/databases/puredb/Makefile b/databases/puredb/Makefile
index b6a27019bb86..3623757fb953 100644
--- a/databases/puredb/Makefile
+++ b/databases/puredb/Makefile
@@ -11,17 +11,20 @@ DISTNAME= pure-db-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Set of libraries for creating and reading constant databases
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYING
+
USES= libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
-DOCS= AUTHORS FORMAT_DESCR NEWS README
+PORTDOCS= AUTHORS FORMAT_DESCR NEWS README
OPTIONS_DEFINE= DOCS
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/databases/puredb/files/patch-example_read.c b/databases/puredb/files/patch-src_example__read.c
index ba6d4fe304a8..547b3e2f5283 100644
--- a/databases/puredb/files/patch-example_read.c
+++ b/databases/puredb/files/patch-src_example__read.c
@@ -1,5 +1,5 @@
---- src/example_read.c.orig Fri Nov 1 23:21:19 2002
-+++ src/example_read.c Fri Nov 1 23:21:47 2002
+--- src/example_read.c.orig 2002-03-08 13:09:50 UTC
++++ src/example_read.c
@@ -3,6 +3,9 @@
#include <stdio.h>
diff --git a/databases/puredb/pkg-plist b/databases/puredb/pkg-plist
index 57817aa64706..f3c2d7a39a4e 100644
--- a/databases/puredb/pkg-plist
+++ b/databases/puredb/pkg-plist
@@ -10,7 +10,3 @@ lib/libpuredb_write.a
lib/libpuredb_write.so
lib/libpuredb_write.so.0
lib/libpuredb_write.so.0.0.0
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/FORMAT_DESCR
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README