mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
bb5196a149
variables deprecation revision WITHOUT_NLS 2013-12-13 r336337 WITH_/WITHOUT_ 2014-02-24 r345870 NOPORT(DOC|EXAMPLE)S 2014-04-19 r351587 WITH_BDB_VER 2016-05-02 r414444 OVERRIDE_LINUX_BASE_PORT 2016-09-05 r421387 WITH_OPENSSL_(BASE|PORT) 2016-06-16 r416965 While there, add an ERROR variable that works like DEV_ERROR, but for user facing errors, and move NOPORTDOCS, NOPORTEXAMPLES and WITHOUT_NLS to it. Cleanup bsd.sanity.mk a bit. Fix fallout. PR: 224613 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D13490
38 lines
817 B
Makefile
38 lines
817 B
Makefile
# Created by: Romain Tartiere <romain@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mscgen
|
|
PORTVERSION= 0.20
|
|
PORTREVISION= 4
|
|
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:print/freetype2
|
|
.else
|
|
CONFIGURE_ARGS+=--without-freetype
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MPNG}
|
|
CONFIGURE_ARGS+=--with-png
|
|
LIB_DEPENDS+= libgd.so:graphics/gd
|
|
.else
|
|
CONFIGURE_ARGS+=--without-png
|
|
.endif
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
GNU_CONFIGURE= yes
|
|
|
|
.include <bsd.port.mk>
|