aboutsummaryrefslogtreecommitdiff
path: root/graphics/silgraphite
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-01-07 20:50:20 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-01-07 20:50:20 +0000
commitbaedaefc1363429069319dd267ae7cf8daab2ad6 (patch)
treec532e96c629a3d179d5c6a9afedc5d84033ebf76 /graphics/silgraphite
parent721c5abc42184ea05290452b15d3d2e62b0f44d8 (diff)
downloadports-baedaefc1363429069319dd267ae7cf8daab2ad6.tar.gz
ports-baedaefc1363429069319dd267ae7cf8daab2ad6.zip
Notes
Diffstat (limited to 'graphics/silgraphite')
-rw-r--r--graphics/silgraphite/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/graphics/silgraphite/Makefile b/graphics/silgraphite/Makefile
index 0cff22de1b3c..3bf0f5501adc 100644
--- a/graphics/silgraphite/Makefile
+++ b/graphics/silgraphite/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: silgraphite
-# Date created: 30 November 2008
-# Whom: Dennis Herrmann <adox@mcx2.org>
-#
+# Created by: Dennis Herrmann <adox@mcx2.org>
# $FreeBSD$
-#
PORTNAME= silgraphite
PORTVERSION= 2.3.1
@@ -13,16 +9,17 @@ MASTER_SITES= SF
MAINTAINER= dhn@FreeBSD.org
COMMENT= Font engine for complex non-Roman writing systems
-OPTIONS= FREETYPE "Build with Freetype support" on
+OPTIONS_DEFINE= FREETYPE
+OPTIONS_DEFAULT= FREETYPE
-USE_GNOME= pkgconfig
+USE_PKGCONFIG= build
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-xft --without-pangographite
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_FREETYPE)
+.if ${PORT_OPTIONS:MFREETYPE}
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
USE_ICONV= yes
CONFIGURE_ARGS+= --with-freetype
@@ -36,4 +33,4 @@ post-patch:
@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$${PREFIX}/libdata/pkgconfig|g' \
${WRKSRC}/engine/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>