diff options
author | romain <romain@FreeBSD.org> | 2014-05-12 15:31:17 +0800 |
---|---|---|
committer | romain <romain@FreeBSD.org> | 2014-05-12 15:31:17 +0800 |
commit | ceaf7157c2f7c21f931754d6a1542912c99d9637 (patch) | |
tree | 09ea2f181fe4992566030a735e4d294884fb41dc /graphics | |
parent | 97a45d08033d5084d7ba4a4f1019d5a5cf60b26b (diff) | |
download | freebsd-ports-gnome-ceaf7157c2f7c21f931754d6a1542912c99d9637.tar.gz freebsd-ports-gnome-ceaf7157c2f7c21f931754d6a1542912c99d9637.tar.zst freebsd-ports-gnome-ceaf7157c2f7c21f931754d6a1542912c99d9637.zip |
- Support staging;
- Make freetype dependency optional;
- Pet portlint.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/mscgen/Makefile | 14 | ||||
-rw-r--r-- | graphics/mscgen/pkg-descr | 2 | ||||
-rw-r--r-- | graphics/mscgen/pkg-plist | 1 |
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 |