Index: head/print/freetype/Makefile =================================================================== --- head/print/freetype/Makefile (revision 385695) +++ head/print/freetype/Makefile (revision 385696) @@ -1,24 +1,24 @@ # Created by: jseger@FreeBSD.org # $FreeBSD$ PORTNAME= freetype PORTVERSION= 1.3.1 PORTREVISION= 5 CATEGORIES= print MASTER_SITES= SF \ http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/freetype1/ \ http://www.funet.fi/pub/mirrors/ftp.freetype.org/freetype1/ \ http://ftp.sunet.se/pub/text-processing/freetype/freetype1/ \ ftp://ftp.freetype.org/freetype/freetupe1/ MAINTAINER= doceng@FreeBSD.org COMMENT= Free and portable TrueType font rendering engine -USES= desthack libtool +USES= cpe desthack libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-nls --enable-static --enable-shared PORTSCOUT= limit:^1\. .include Index: head/print/freetype2/Makefile =================================================================== --- head/print/freetype2/Makefile (revision 385695) +++ head/print/freetype2/Makefile (revision 385696) @@ -1,46 +1,49 @@ # Created by: jseger@FreeBSD.org # $FreeBSD$ PORTNAME= freetype2 PORTVERSION= 2.5.5 CATEGORIES= print MASTER_SITES= http://savannah.nongnu.org/download/freetype/ \ SF/freetype/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/}/ \ http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/freetype2/ \ http://www.funet.fi/pub/mirrors/ftp.freetype.org/freetype2/ \ http://ftp.sunet.se/pub/text-processing/freetype/freetype2/ \ ftp://ftp.freetype.org/freetype/freetype2/ DISTNAME= ${PORTNAME:S/2//}-${PORTVERSION} MAINTAINER= gnome@FreeBSD.org COMMENT= Free and portable TrueType font rendering engine -USES= gmake libtool tar:bzip2 +USES= cpe gmake libtool tar:bzip2 MAKE_ENV= TOP="" USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-harfbuzz CONFIGURE_WRKSRC= ${WRKSRC}/builds/unix + +CPE_PRODUCT= freetype +CPE_VENDOR= freetype OPTIONS_DEFINE= LCD_FILTERING PNG OPTIONS_DEFAULT= LCD_FILTERING LCD_FILTERING_DESC?= Sub-pixel rendering (patented) PNG_DESC= Png compressed OpenType embedded bitmaps support LCD_FILTERING_CFLAGS= -DFT_CONFIG_OPTION_SUBPIXEL_RENDERING PNG_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png PNG_CONFIGURE_OFF= --without-png pre-patch: @${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \ ${WRKSRC}/builds/unix/install.mk post-configure: @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} setup) post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libfreetype.so.* .include