summaryrefslogtreecommitdiff
path: root/graphics/mscgen/Makefile
blob: 3ea9a8ca9285952f7f8a5e9ee7ccdcc3468a3e6b (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
# New ports collection makefile for:	mscgen
# Date created:		2011-01-23
# Whom:			Romain Tartiere <romain@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	mscgen
PORTVERSION=	0.20
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	http://www.mcternan.me.uk/mscgen/software/ \
		http://romain.blogreen.org/distfiles/
DISTNAME=	${PORTNAME}-src-${PORTVERSION}

MAINTAINER=	romain@FreeBSD.org
COMMENT=	A Message Sequence Chart Renderer

OPTIONS=	PNG "Enable PNG support" on

.include <bsd.port.options.mk>

.if !defined(WITHOUT_PNG)
CONFIGURE_ARGS+=--with-png
LIB_DEPENDS+=	gd.4:${PORTSDIR}/graphics/gd
.else
CONFIGURE_ARGS+=--without-png
.endif

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE=	yes

MAN1=		mscgen.1

.include <bsd.port.mk>