summaryrefslogtreecommitdiffstats
path: root/devel/datadraw/Makefile
blob: fefde522aa1af6c4c4a25bbf22043289bd405873 (plain)
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
38
# 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

NO_STAGE=	yes
.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>
OpenPOWER on IntegriCloud