aboutsummaryrefslogtreecommitdiffstats
path: root/devel/datadraw/Makefile
blob: 65188064db30316b2d2595871cac0b954921893b (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
35
36
37
# Created by: ijliao
# $FreeBSD$

PORTNAME=   datadraw
PORTVERSION=    3.1.1
CATEGORIES= devel
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}${PORTVERSION}
DISTNAME=   ${PORTNAME}${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Feature rich persistent database generator

LICENSE=    GPLv2

HAS_CONFIGURE=  yes
USE_GMAKE=  yes
ALL_TARGET= # empty

.include <bsd.port.options.mk>

.if ${OSVERSION} < 1000013
USES+=      bison
.else
post-patch:
    ${REINPLACE_CMD} -e "s/bison/byacc/g" ${WRKSRC}/configure
.endif

.if ${PORT_OPTIONS:MDOCS}
PORTDOCS=   *

post-install:
    @${MKDIR} ${DOCSDIR}
    ${CP} -R ${WRKSRC}/www/* ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/manual.pdf ${DOCSDIR}
.endif

.include <bsd.port.mk>