1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/graphics/mscgen/Makefile
Baptiste Daroussin e6ffa1f425 Modernize LIB_DEPENDS
With hat:	portmgr
2014-07-13 23:23:25 +00:00

40 lines
858 B
Makefile

# Created by: Romain Tartiere <romain@FreeBSD.org>
# $FreeBSD$
PORTNAME= mscgen
PORTVERSION= 0.20
PORTREVISION= 3
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= Message Sequence Chart Renderer
OPTIONS_DEFINE= FREETYPE PNG
OPTIONS_DEFAULT=FREETYPE PNG
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFREETYPE}
CONFIGURE_ARGS+=--with-freetype
LIB_DEPENDS+= libfreetype.so:${PORTSDIR}/print/freetype2
.else
CONFIGURE_ARGS+=--without-freetype
.endif
.if ${PORT_OPTIONS:MPNG}
CONFIGURE_ARGS+=--with-png
LIB_DEPENDS+= libgd.so:${PORTSDIR}/graphics/gd
.else
CONFIGURE_ARGS+=--without-png
.endif
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
MAN1= mscgen.1
.include <bsd.port.mk>