Bug 175640 - [patch] print/freetype2: convert to optionsNG
Summary: [patch] print/freetype2: convert to 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-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-28 04:50 UTC by Donald Stewart
Modified: 2013-03-20 00:40 UTC (History)
0 users

See Also:


Attachments
optionsNG.diff (1.12 KB, patch)
2013-01-28 04:50 UTC, Donald Stewart
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Donald Stewart 2013-01-28 04:50:00 UTC
This makes LCD_FILTERING option more visible.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-01-28 04:50:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-03-20 00:31:07 UTC
Author: mezz
Date: Wed Mar 20 00:30:59 2013
New Revision: 314701
URL: http://svnweb.freebsd.org/changeset/ports/314701

Log:
  -OPTIONSng and remove pre-everything.
  -Remove the CJK stuff since it has been disabled for very long time.
  
  PR:		ports/175640
  Submitted by:	Donald Stewart <dstewyls@gmail.com>

Modified:
  head/print/freetype2/Makefile

Modified: head/print/freetype2/Makefile
==============================================================================
--- head/print/freetype2/Makefile	Tue Mar 19 22:48:44 2013	(r314700)
+++ head/print/freetype2/Makefile	Wed Mar 20 00:30:59 2013	(r314701)
@@ -27,28 +27,13 @@ USE_GNOME=	ltverhack:9
 LIBTOOLFILES=	builds/unix/configure
 CONFIGURE_WRKSRC=	${WRKSRC}/builds/unix
 
-.if defined(WITH_LCD_FILTERING)
-CFLAGS+=	-DFT_CONFIG_OPTION_SUBPIXEL_RENDERING
-.endif
+OPTIONS_DEFINE=		LCD_FILTERING
+LCD_FILTERING_DESC?=	Sub-pixel rendering (patented)
 
-.if defined(WITH_CJK)
-#PATCH_SITES+=	http://lwj-hinet.myweb.hinet.net/ \
-#		ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/ \
-#		http://bsdchat.com/dist/firefly-cjk-patchset/
-#PATCHFILES+=	cjk-freetype-2.1.10-20051219.patch.gz
-#PATCH_DIST_STRIP+=	-p1
-.endif
+.include <bsd.port.options.mk>
 
-pre-everything::
-.if !defined(WITH_LCD_FILTERING)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "You may want to enable LCD filtering."
-	@${ECHO_MSG}
-	@${ECHO_MSG} "Hit Ctrl-C now and use \"make WITH_LCD_FILTERING=yes\""
-	@${ECHO_MSG}
-	@${ECHO_MSG} "Note that there are possible patent issues related to the"
-	@${ECHO_MSG} "use of the LCD filtering technology."
-	@${ECHO_MSG}
+.if ${PORT_OPTIONS:MLCD_FILTERING}
+CFLAGS+=	-DFT_CONFIG_OPTION_SUBPIXEL_RENDERING
 .endif
 
 pre-patch:
_______________________________________________
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 3 Jeremy Messenger freebsd_committer freebsd_triage 2013-03-20 00:31:10 UTC
State Changed
From-To: open->closed

Committed, thanks!