aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/mscgen/Makefile
blob: cbc97048c0d72cecefce8f54359aa2ab3c7bb4ff (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
# 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

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