aboutsummaryrefslogtreecommitdiffstats
path: root/databases/dbview/Makefile
blob: cc61d6c82b6adbd1de83c2bc454814f03f4fd926 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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

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>