1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/databases/dbview/Makefile
Sam Lawrance 092db99860 - Fix crash error
- Misc other small fixes

PR:		ports/37186
Submitted by:	Alexander Trapeznikov <infoteacher@ipform.ru>
Approved by:	clement (mentor)
2005-04-14 12:17:36 +00:00

38 lines
806 B
Makefile

# New ports collection makefile for: dbview
# Date created: 7 May 1999
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= dbview
PORTVERSION= 1.0.3
PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/database/proprietary
MAINTAINER= ports@FreeBSD.org
COMMENT= View dBase III files
USE_REINPLACE= yes
USE_GETOPT_LONG= yes
MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= dbview.1
DOCS= README dBASE
pre-patch:
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' ${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>