1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/databases/dbview/Makefile
Pete Fritchman 6fcbe10248 - Don't do two read()s, we're not on windows and don't have a \r to strip
out.  Also fix an off-by-one error when trying to trim trailing spaces.
- bump PORTREVISION

PR:		41719
Submitted by:	Michael Pearce <mpearce@coreth.com>
2003-05-11 16:56:13 +00:00

39 lines
862 B
Makefile

# New ports collection makefile for: dbview
# Date created: 7 May 1999
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= dbview
PORTVERSION= 1.0.3
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
ftp://ftp.infodrom.north.de/pub/Linux/Devel/dbview/
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>