1999-09-08 16:50:29 +00:00
|
|
|
# New ports collection makefile for: gd
|
1998-09-10 14:17:47 +00:00
|
|
|
# Date created: 19 Aug 1998
|
|
|
|
# Whom: ichiro@ichiro.org
|
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1998-09-10 14:17:47 +00:00
|
|
|
#
|
|
|
|
|
2000-04-11 14:15:53 +00:00
|
|
|
PORTNAME= gd
|
|
|
|
PORTVERSION= 1.6.3
|
1998-09-10 14:17:47 +00:00
|
|
|
CATEGORIES= japanese graphics
|
1999-09-08 16:50:29 +00:00
|
|
|
MASTER_SITES= http://www.boutell.com/gd/http/ \
|
1998-09-10 14:17:47 +00:00
|
|
|
ftp://ftp.boutell.com/pub/boutell/gd/
|
|
|
|
|
2000-04-11 14:15:53 +00:00
|
|
|
PATCH_SITES= ftp://ftp.ipc.chiba-u.ac.jp/pub/pub.yamaga/gd/${PORTVERSION}/
|
|
|
|
PATCHFILES= ${DISTNAME}.ttf-kanji.patch.990731
|
1998-09-10 14:17:47 +00:00
|
|
|
|
|
|
|
MAINTAINER= ichiro@ichiro.org
|
|
|
|
|
1999-09-08 16:50:29 +00:00
|
|
|
LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png
|
1999-07-13 23:59:58 +00:00
|
|
|
|
1998-09-10 14:17:47 +00:00
|
|
|
FETCH_BEFORE_ARGS= -b
|
1999-09-08 16:50:29 +00:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include"
|
|
|
|
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/gd \
|
|
|
|
--libdir=${PREFIX}/lib
|
1998-09-10 14:17:47 +00:00
|
|
|
|
1999-09-08 16:50:29 +00:00
|
|
|
CFLAGS= -DJISX0208
|
1998-11-14 09:43:39 +00:00
|
|
|
|
1998-09-10 14:17:47 +00:00
|
|
|
pre-install:
|
|
|
|
${MKDIR} ${PREFIX}/include/gd
|
|
|
|
${MKDIR} ${PREFIX}/share/examples/gd
|
|
|
|
|
1999-09-08 16:50:29 +00:00
|
|
|
.include <bsd.port.mk>
|