freebsd-ports/databases/dbview/Makefile
Dmitry Marakasov 7401cf9aa4 - Add LICENSE
- Switch to options helpers
- Regenerate patches
- Add WWW
- Remove useless patch
2016-12-04 09:00:47 +00:00

34 lines
745 B
Makefile

# Created by: Andrey Zakhvatov
# $FreeBSD$
PORTNAME= dbview
PORTVERSION= 1.0.4
CATEGORIES= databases
MASTER_SITES= SUNSITE/apps/database/proprietary
MAINTAINER= ports@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
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}
.include <bsd.port.mk>