aboutsummaryrefslogtreecommitdiff
path: root/japanese/gd/Makefile
blob: 5302b79b4cfb900bcac337a7692b76ce3530dc39 (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
# New ports collection makefile for: gd
# Version required:			1.6.3
# Date created:				19 Aug 1998
# Whom:					ichiro@ichiro.org
#
# $FreeBSD$
#

DISTNAME=       gd-1.6.3
PKGNAME=	ja-gd-1.6.3
CATEGORIES=	japanese graphics
MASTER_SITES=   http://www.boutell.com/gd/http/ \
		ftp://ftp.boutell.com/pub/boutell/gd/

PATCH_SITES=    ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/gd/1.6.3/
PATCHFILES=     gd-1.6.3.ttf-kanji.patch.990731

MAINTAINER=	ichiro@ichiro.org

LIB_DEPENDS=	png.3:${PORTSDIR}/graphics/png

FETCH_BEFORE_ARGS=	-b
USE_LIBTOOL=		yes
CONFIGURE_ENV+=		CFLAGS="${CFLAGS} -I${LOCALBASE}/include"
CONFIGURE_ARGS+=	--includedir=${PREFIX}/include/gd \
			--libdir=${PREFIX}/lib

CFLAGS=		-DJISX0208

pre-install:
	${MKDIR} ${PREFIX}/include/gd
	${MKDIR} ${PREFIX}/share/examples/gd

.include <bsd.port.mk>