37 lines
954 B
Makefile
37 lines
954 B
Makefile
# Created by: KANOU Hiroki <kanou@khdd.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ft2demos
|
|
PORTVERSION= 2.5.5
|
|
CATEGORIES= print
|
|
MASTER_SITES= SF/freetype/freetype-demos/${PORTVERSION}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Demo programs for FreeType2
|
|
|
|
LICENSE= BSD3CLAUSE GPLv2
|
|
LICENSE_COMB= dual
|
|
|
|
BUILD_DEPENDS= ${FREETYPE_WRKSRC}/config.mk:${PORTSDIR}/print/freetype2:build
|
|
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2
|
|
|
|
USES= gmake tar:bzip2
|
|
USE_XORG= x11
|
|
MAKE_ENV= TOP_DIR="${FREETYPE_WRKSRC}"
|
|
MAKE_ARGS= EXES="${FT_PROGRAMS}" X11_PATH="${LOCALBASE}"
|
|
|
|
PLIST_FILES= ${FT_PROGRAMS:S,^,bin/,}
|
|
|
|
FT_PROGRAMS= ftbench ftchkwd ftdiff ftdump ftgamma ftgrid ftlint ftmemchk \
|
|
ftmulti ftpatchk ftstring fttimer ftvalid ftview
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
FREETYPE_WRKSRC!= ${MAKE} -C ${.CURDIR}/../../print/freetype2 -V WRKSRC
|
|
|
|
do-install:
|
|
@(cd ${WRKSRC}/bin/.libs && \
|
|
${INSTALL_PROGRAM} ${FT_PROGRAMS} ${STAGEDIR}${PREFIX}/bin)
|
|
|
|
.include <bsd.port.post.mk>
|