aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorRomain Tartière <romain@FreeBSD.org>2014-05-12 07:31:17 +0000
committerRomain Tartière <romain@FreeBSD.org>2014-05-12 07:31:17 +0000
commit1c4c91465a721c194afd13166cf05a51ba498a3a (patch)
tree09ea2f181fe4992566030a735e4d294884fb41dc /graphics
parenta44418b03b5a23d912503bf10fd4cd753dd053cd (diff)
downloadports-1c4c91465a721c194afd13166cf05a51ba498a3a.tar.gz
ports-1c4c91465a721c194afd13166cf05a51ba498a3a.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/mscgen/Makefile14
-rw-r--r--graphics/mscgen/pkg-descr2
-rw-r--r--graphics/mscgen/pkg-plist1
3 files changed, 12 insertions, 5 deletions
diff --git a/graphics/mscgen/Makefile b/graphics/mscgen/Makefile
index cbc97048c0d7..76eba748d72f 100644
--- a/graphics/mscgen/Makefile
+++ b/graphics/mscgen/Makefile
@@ -3,7 +3,7 @@
PORTNAME= mscgen
PORTVERSION= 0.20
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= http://www.mcternan.me.uk/mscgen/software/ \
http://romain.blogreen.org/distfiles/
@@ -12,12 +12,18 @@ DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= romain@FreeBSD.org
COMMENT= A Message Sequence Chart Renderer
-OPTIONS_DEFINE= PNG
-OPTIONS_DEFAULT= PNG
+OPTIONS_DEFINE= FREETYPE PNG
+OPTIONS_DEFAULT=FREETYPE PNG
-NO_STAGE= yes
.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MFREETYPE}
+CONFIGURE_ARGS+=--with-freetype
+LIB_DEPENDS+= freetype:${PORTSDIR}/print/freetype2
+.else
+CONFIGURE_ARGS+=--without-freetype
+.endif
+
.if ${PORT_OPTIONS:MPNG}
CONFIGURE_ARGS+=--with-png
LIB_DEPENDS+= gd:${PORTSDIR}/graphics/gd
diff --git a/graphics/mscgen/pkg-descr b/graphics/mscgen/pkg-descr
index 7c2519d6ef9c..980535ab3f06 100644
--- a/graphics/mscgen/pkg-descr
+++ b/graphics/mscgen/pkg-descr
@@ -1,4 +1,4 @@
Mscgen is a small program that parses Message Sequence Chart descriptions and
produces PNG, SVG, EPS or server side image maps (ismaps) as the output.
-WWW: http://www.mcternan.me.uk/mscgen/
+WWW: http://www.mcternan.me.uk/mscgen/
diff --git a/graphics/mscgen/pkg-plist b/graphics/mscgen/pkg-plist
index 3b8ece06c2c2..652659d95a17 100644
--- a/graphics/mscgen/pkg-plist
+++ b/graphics/mscgen/pkg-plist
@@ -1,4 +1,5 @@
bin/mscgen
+man/man1/mscgen.1.gz
%%DOCSDIR%%/COPYING
%%DOCSDIR%%/ChangeLog
%%DOCSDIR%%/README