freebsd-ports/databases/dbview/Makefile

29 lines
729 B
Makefile
Raw Normal View History

# Created by: Andrey Zakhvatov
1999-08-25 07:28:01 +02:00
# $FreeBSD$
PORTNAME= dbview
2008-06-04 22:34:41 +02:00
PORTVERSION= 1.0.4
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/database/proprietary
MAINTAINER= ports@FreeBSD.org
2003-02-20 18:07:10 +01:00
COMMENT= View dBase III files
PLIST_FILES= bin/dbview man/man1/dbview.1.gz
PORTDOCS= README dBASE
2008-06-04 22:34:41 +02:00
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
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>