svn commit: r427761 - in head/databases/dbview: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Dec 4 09:00:48 UTC 2016
Author: amdmi3
Date: Sun Dec 4 09:00:47 2016
New Revision: 427761
URL: https://svnweb.freebsd.org/changeset/ports/427761
Log:
- Add LICENSE
- Switch to options helpers
- Regenerate patches
- Add WWW
- Remove useless patch
Deleted:
head/databases/dbview/files/patch-version.c
Modified:
head/databases/dbview/Makefile
head/databases/dbview/files/patch-Makefile
head/databases/dbview/files/patch-db_dump.c
head/databases/dbview/pkg-descr
Modified: head/databases/dbview/Makefile
==============================================================================
--- head/databases/dbview/Makefile Sun Dec 4 08:52:15 2016 (r427760)
+++ head/databases/dbview/Makefile Sun Dec 4 09:00:47 2016 (r427761)
@@ -9,18 +9,24 @@ MASTER_SITES= SUNSITE/apps/database/prop
MAINTAINER= ports at FreeBSD.org
COMMENT= View dBase III files
+LICENSE= GPLv2+
+
PLIST_FILES= bin/dbview man/man1/dbview.1.gz
PORTDOCS= README dBASE
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|; \
- s|<endian.h>|<sys/endian.h>|; \
- /byteswap/d' \
- ${WRKSRC}/db_dump.c
+ s|<endian.h>|<sys/endian.h>|; \
+ /byteswap/d' \
+ ${WRKSRC}/db_dump.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dbview ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/dbview.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
Modified: head/databases/dbview/files/patch-Makefile
==============================================================================
--- head/databases/dbview/files/patch-Makefile Sun Dec 4 08:52:15 2016 (r427760)
+++ head/databases/dbview/files/patch-Makefile Sun Dec 4 09:00:47 2016 (r427761)
@@ -1,6 +1,6 @@
---- Makefile.orig Fri Sep 27 00:05:30 1996
-+++ Makefile Tue Apr 29 02:41:08 2003
-@@ -18,8 +18,6 @@
+--- Makefile.orig 2006-11-19 19:37:41 UTC
++++ Makefile
+@@ -19,8 +19,6 @@
MAN=man
@@ -9,7 +9,7 @@
# CFLAGS= -g -fomit-frame-pointer -Wall -pipe
# Look where your install program is
-@@ -32,12 +30,12 @@
+@@ -33,12 +31,12 @@ mandir = $(prefix)/share/$(MAN)
obj = db_dump.o dbview.o version.o
.c.o:
Modified: head/databases/dbview/files/patch-db_dump.c
==============================================================================
--- head/databases/dbview/files/patch-db_dump.c Sun Dec 4 08:52:15 2016 (r427760)
+++ head/databases/dbview/files/patch-db_dump.c Sun Dec 4 09:00:47 2016 (r427761)
@@ -1,6 +1,6 @@
---- db_dump.c.orig 2008-06-24 16:10:56.000000000 +0000
-+++ db_dump.c 2008-06-24 16:11:14.000000000 +0000
-@@ -82,6 +82,8 @@
+--- db_dump.c.orig 2006-11-27 11:51:25 UTC
++++ db_dump.c
+@@ -82,6 +82,8 @@ FILE *dbfile;
/*----------------------------------------------------helpers------------*/
#if BYTE_ORDER == BIG_ENDIAN
Modified: head/databases/dbview/pkg-descr
==============================================================================
--- head/databases/dbview/pkg-descr Sun Dec 4 08:52:15 2016 (r427760)
+++ head/databases/dbview/pkg-descr Sun Dec 4 09:00:47 2016 (r427761)
@@ -5,3 +5,5 @@ also work with dBase IV files, but this
dbview displays the contents of a dBase III or IV database file. This is
done by displaying both the name of the field itself and its value. At
the end of every record a newline is appended.
+
+WWW: http://www.infodrom.org/projects/dbview/
More information about the svn-ports-head
mailing list