aboutsummaryrefslogtreecommitdiffstats
path: root/print/ft2demos/Makefile
blob: 76f34e64dc6184e44e1e0c0e8a6d9f75fdd3ea32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Created by: KANOU Hiroki <kanou@khdd.net>
# $FreeBSD$

PORTNAME=   ft2demos
PORTVERSION=    2.5.3
CATEGORIES= print
MASTER_SITES=   SF/freetype/freetype-demos/${PORTVERSION} \
        RINGSERVER/graphics/freetype/freetype2

MAINTAINER= 5u623l20@gmail.com
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

USE_XORG=   xext
USES=       gmake tar:bzip2
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

.include <bsd.port.pre.mk>

FREETYPE_WRKSRC!=   cd ${.CURDIR}/../../print/freetype2; ${MAKE} -V WRKSRC

do-install:
    @(cd ${WRKSRC}/bin/.libs/; ${INSTALL_PROGRAM} ${FT_PROGRAMS} ${STAGEDIR}${PREFIX}/bin)

.include <bsd.port.post.mk>