36 lines
978 B
Makefile
36 lines
978 B
Makefile
# Created by: KANOU Hiroki <kanou@khdd.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ft2demos
|
|
PORTVERSION= 2.4.11
|
|
CATEGORIES= print
|
|
MASTER_SITES= SF/freetype/freetype-demos/${PORTVERSION} \
|
|
RINGSERVER/graphics/freetype/freetype2
|
|
|
|
MAINTAINER= 5u623l20@gmail.com
|
|
COMMENT= Demo programs for FreeType2
|
|
|
|
BUILD_DEPENDS+= ${FREETYPE_WRKSRC}/config.mk:${PORTSDIR}/print/freetype2:build
|
|
LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2
|
|
|
|
USE_BZIP2= yes
|
|
USE_XORG= xext
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= libtool:env
|
|
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
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.pre.mk>
|
|
|
|
FREETYPE_WRKSRC!= cd ${PORTSDIR}/print/freetype2; ${MAKE} -V WRKSRC
|
|
|
|
do-install:
|
|
@(cd ${WRKSRC}/bin/.libs/; ${INSTALL_PROGRAM} ${FT_PROGRAMS} ${PREFIX}/bin)
|
|
|
|
.include <bsd.port.post.mk>
|