summaryrefslogtreecommitdiff
path: root/graphics/mscgen/Makefile
blob: f3f75e64d7cfeadd91078338a460e199fbedb126 (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
# Created by: Romain Tartiere <romain@FreeBSD.org>
# $FreeBSD$

PORTNAME=	mscgen
PORTVERSION=	0.20
PORTREVISION=	2
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_DEFINE=	PNG
OPTIONS_DEFAULT=	PNG

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MPNG}
CONFIGURE_ARGS+=--with-png
LIB_DEPENDS+=	gd:${PORTSDIR}/graphics/gd
.else
CONFIGURE_ARGS+=--without-png
.endif

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

MAN1=		mscgen.1

.include <bsd.port.mk>