Bug 175719 - [PATCH] devel/t1lib: fix OptionsNG
Summary: [PATCH] devel/t1lib: fix OptionsNG
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-31 03:30 UTC by takefu
Modified: 2013-01-31 06:00 UTC (History)
0 users

See Also:


Attachments
t1lib-5.1.2_1,1.patch (883 bytes, patch)
2013-01-31 03:30 UTC, takefu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description takefu 2013-01-31 03:30:01 UTC
  - fix OptionsNG
  - trim header

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
Comment 1 dfilter service freebsd_committer freebsd_triage 2013-01-31 05:57:52 UTC
Author: danfe
Date: Thu Jan 31 05:57:44 2013
New Revision: 311290
URL: http://svnweb.freebsd.org/changeset/ports/311290

Log:
  - Convert OptionsNG
  - Augment COMMENT
  
  PR:	ports/175719

Modified:
  head/devel/t1lib/Makefile

Modified: head/devel/t1lib/Makefile
==============================================================================
--- head/devel/t1lib/Makefile	Thu Jan 31 05:34:28 2013	(r311289)
+++ head/devel/t1lib/Makefile	Thu Jan 31 05:57:44 2013	(r311290)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 2 Alexey Dokuchaev freebsd_committer freebsd_triage 2013-01-31 05:58:08 UTC
State Changed
From-To: open->closed

Committed with minor modifications, thanks!