mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
- Support STAGEDIR
- Rename patches according to porter's handbook - Convert to PLIST_FILES
This commit is contained in:
parent
c69aa3b0c1
commit
540ba26317
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331399
@ -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>
|
||||
|
@ -1,4 +0,0 @@
|
||||
bin/dbview
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/dBASE
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user