aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2013-03-20 08:30:59 +0800
committermezz <mezz@FreeBSD.org>2013-03-20 08:30:59 +0800
commit51760568a36f90f75b12d5af5d039dcea5c471b6 (patch)
treebe6ab14fd0aa8ba5f778774643483afcfd1f5197 /print
parent5333ec061c1383645b21cc6aacb7d6b211d5c58d (diff)
downloadfreebsd-ports-gnome-51760568a36f90f75b12d5af5d039dcea5c471b6.tar.gz
freebsd-ports-gnome-51760568a36f90f75b12d5af5d039dcea5c471b6.tar.zst
freebsd-ports-gnome-51760568a36f90f75b12d5af5d039dcea5c471b6.zip
-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>
Diffstat (limited to 'print')
-rw-r--r--print/freetype2/Makefile25
1 files changed, 5 insertions, 20 deletions
diff --git a/print/freetype2/Makefile b/print/freetype2/Makefile
index 4b78b5f1f0f8..da9c39c323cc 100644
--- a/print/freetype2/Makefile
+++ b/print/freetype2/Makefile
@@ -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: