aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-01-31 13:57:44 +0800
committerdanfe <danfe@FreeBSD.org>2013-01-31 13:57:44 +0800
commit541c13f2bc44377be9be9633a109221b3d98b0f0 (patch)
tree25afcf7f97afa903bc880e9322467e6574f9beb6 /devel
parenteaa06fd84353dd84ff093e94dfa2eff0b8f8bfa9 (diff)
downloadfreebsd-ports-gnome-541c13f2bc44377be9be9633a109221b3d98b0f0.tar.gz
freebsd-ports-gnome-541c13f2bc44377be9be9633a109221b3d98b0f0.tar.zst
freebsd-ports-gnome-541c13f2bc44377be9be9633a109221b3d98b0f0.zip
- Convert OptionsNG
- Augment COMMENT PR: ports/175719
Diffstat (limited to 'devel')
-rw-r--r--devel/t1lib/Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/devel/t1lib/Makefile b/devel/t1lib/Makefile
index 896059723e9f..f0f031bc905e 100644
--- a/devel/t1lib/Makefile
+++ b/devel/t1lib/Makefile
@@ -1,28 +1,27 @@
-# ex:ts=8
-# New ports collection makefile for: libt1
-# Date created: 13, May, 1999
-# Whom: Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
-#
+# Created by: Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
# $FreeBSD$
-#
PORTNAME= t1lib
PORTVERSION= 5.1.2
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITES= SUNSITE
MASTER_SITE_SUBDIR= libs/graphics
MAINTAINER= ports@FreeBSD.org
-COMMENT= A Type 1 Rasterizer Library for UNIX/X11
+COMMENT= Type 1 font rasterization library for Unix/X11
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
ALL_TARGET= without_doc
USE_LDCONFIG= yes
-.if !defined(WITHOUT_X11)
+OPTIONS_DEFINE= X11 DOCS
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MX11}
USE_XORG= xaw
CONFIGURE_ARGS+= --with-x
PLIST_SUB+= X11=""
@@ -40,7 +39,7 @@ post-patch:
's|_LT_CURRENT=.*$$|_LT_CURRENT=5|g' ${WRKSRC}/configure
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/t1lib_doc.pdf ${DOCSDIR}
.endif