1999-06-06 18:59:26 +02:00
|
|
|
# New ports collection makefile for: dbview
|
|
|
|
# Date created: 7 May 1999
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1999-06-06 18:59:26 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 00:49:07 +02:00
|
|
|
PORTNAME= dbview
|
|
|
|
PORTVERSION= 1.0.3
|
1999-06-06 18:59:26 +02:00
|
|
|
CATEGORIES= databases
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
|
|
|
|
ftp://ftp.infodrom.north.de/pub/Linux/Devel/dbview/
|
|
|
|
MASTER_SITE_SUBDIR= apps/database/proprietary
|
|
|
|
|
2000-03-29 09:16:59 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= View dBase III files
|
1999-06-06 18:59:26 +02:00
|
|
|
|
|
|
|
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
|
|
|
|
|
|
|
MAN1= dbview.1
|
|
|
|
|
2002-09-01 18:07:59 +02:00
|
|
|
USE_REINPLACE= yes
|
2002-05-15 16:26:22 +02:00
|
|
|
|
|
|
|
pre-patch:
|
2002-09-01 18:07:59 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
|
2002-05-15 16:26:22 +02:00
|
|
|
${WRKSRC}/db_dump.c
|
|
|
|
|
1999-06-06 18:59:26 +02:00
|
|
|
do-install:
|
|
|
|
@ ${INSTALL_PROGRAM} ${WRKSRC}/dbview ${PREFIX}/bin
|
|
|
|
@ ${INSTALL_MAN} ${WRKSRC}/dbview.1 ${PREFIX}/man/man1
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2001-08-30 07:12:47 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/dBASE ${DOCSDIR}
|
1999-06-06 18:59:26 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|