aboutsummaryrefslogtreecommitdiff
path: root/databases/dbview
diff options
context:
space:
mode:
authorAlex Kozlov <ak@FreeBSD.org>2013-10-23 17:51:19 +0000
committerAlex Kozlov <ak@FreeBSD.org>2013-10-23 17:51:19 +0000
commit540ba26317f1e3af34eac33aa75a9dec9360056e (patch)
treeeeec64e35673fb4274b3eb296a6f0c1c6d611ce3 /databases/dbview
parentc69aa3b0c172816067aa254e5409270b5de6761c (diff)
downloadports-540ba26317f1e3af34eac33aa75a9dec9360056e.tar.gz
ports-540ba26317f1e3af34eac33aa75a9dec9360056e.zip
Notes
Diffstat (limited to 'databases/dbview')
-rw-r--r--databases/dbview/Makefile15
-rw-r--r--databases/dbview/files/patch-Makefile (renamed from databases/dbview/files/patch-aa)0
-rw-r--r--databases/dbview/pkg-plist4
3 files changed, 6 insertions, 13 deletions
diff --git a/databases/dbview/Makefile b/databases/dbview/Makefile
index 58b6248f6d64..ffffc523e526 100644
--- a/databases/dbview/Makefile
+++ b/databases/dbview/Makefile
@@ -10,10 +10,9 @@ MASTER_SITE_SUBDIR= apps/database/proprietary
MAINTAINER= ports@FreeBSD.org
COMMENT= View dBase III files
-MAN1= dbview.1
-DOCS= README dBASE
+PLIST_FILES= bin/dbview man/man1/dbview.1.gz
+PORTDOCS= README dBASE
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|; \
s|<endian.h>|<sys/endian.h>|; \
@@ -21,11 +20,9 @@ post-patch:
${WRKSRC}/db_dump.c
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/dbview ${PREFIX}/bin
- @${INSTALL_MAN} ${WRKSRC}/dbview.1 ${MANPREFIX}/man/man1
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/dbview ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/dbview.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/databases/dbview/files/patch-aa b/databases/dbview/files/patch-Makefile
index bf4430dc2e06..bf4430dc2e06 100644
--- a/databases/dbview/files/patch-aa
+++ b/databases/dbview/files/patch-Makefile
diff --git a/databases/dbview/pkg-plist b/databases/dbview/pkg-plist
deleted file mode 100644
index 0c31fda20b89..000000000000
--- a/databases/dbview/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/dbview
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/dBASE
-%%PORTDOCS%%@dirrm %%DOCSDIR%%