freebsd-ports/databases/dbview/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

34 lines
758 B
Makefile

# New ports collection makefile for: dbview
# Date created: 7 May 1999
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= dbview
PORTVERSION= 1.0.4
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/database/proprietary
MAINTAINER= ports@FreeBSD.org
COMMENT= View dBase III files
MAN1= dbview.1
DOCS= README dBASE
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 ${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/dbview.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>