1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

-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>
This commit is contained in:
Jeremy Messenger 2013-03-20 00:30:59 +00:00
parent 900072b495
commit c31d8e0e83
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314701

View File

@ -27,30 +27,15 @@ USE_GNOME= ltverhack:9
LIBTOOLFILES= builds/unix/configure
CONFIGURE_WRKSRC= ${WRKSRC}/builds/unix
.if defined(WITH_LCD_FILTERING)
OPTIONS_DEFINE= LCD_FILTERING
LCD_FILTERING_DESC?= Sub-pixel rendering (patented)
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MLCD_FILTERING}
CFLAGS+= -DFT_CONFIG_OPTION_SUBPIXEL_RENDERING
.endif
.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
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}
.endif
pre-patch:
@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/builds/unix/install.mk