1998-09-10 14:17:47 +00:00
|
|
|
# New ports collection makefile for: gd
|
|
|
|
# Version required: 1.3+kanji.patch
|
|
|
|
# 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
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= gd1.3
|
|
|
|
PKGNAME= ja-gd-1.3
|
|
|
|
CATEGORIES= japanese graphics
|
|
|
|
MASTER_SITES= http://www.boutell.com/gd/http/ \
|
|
|
|
ftp://ftp.boutell.com/pub/boutell/gd/
|
|
|
|
|
|
|
|
PATCH_SITES= http://pg.cni.co.jp/GD/
|
|
|
|
PATCHFILES= gd1.3.kanji.patch-fix1.gz
|
|
|
|
PATCH_DIST_STRIP= # empty
|
|
|
|
|
|
|
|
MAINTAINER= ichiro@ichiro.org
|
|
|
|
|
1999-05-10 12:24:04 +00:00
|
|
|
BUILD_DEPENDS= ${PREFIX}/lib/libVFlib2.so:${PORTSDIR}/japanese/vflib
|
1998-09-10 14:17:47 +00:00
|
|
|
|
1999-07-13 23:59:58 +00:00
|
|
|
RESTRICTED= unavailable from master site due to legal problems
|
|
|
|
|
1998-09-10 14:17:47 +00:00
|
|
|
FETCH_BEFORE_ARGS= -b
|
|
|
|
|
1998-11-14 09:43:39 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1998-09-10 14:17:47 +00:00
|
|
|
pre-install:
|
|
|
|
${MKDIR} ${PREFIX}/include/gd
|
|
|
|
${MKDIR} ${PREFIX}/share/examples/gd
|
|
|
|
|
|
|
|
do-install:
|
1999-05-10 12:24:04 +00:00
|
|
|
for i in libgd.a libgd.so.1; do \
|
1998-09-10 14:17:47 +00:00
|
|
|
${INSTALL} -c -o bin -g bin -m 555 ${WRKSRC}/$$i \
|
|
|
|
${PREFIX}/lib; \
|
|
|
|
done
|
1999-05-10 12:24:04 +00:00
|
|
|
( cd ${PREFIX}/lib; ${LN} -sf libgd.so.1 libgd.so )
|
1998-09-10 14:17:47 +00:00
|
|
|
for i in gddemo giftogd webgif; do \
|
|
|
|
${INSTALL} -c -o bin -g bin -m 755 ${WRKSRC}/$$i \
|
|
|
|
${PREFIX}/bin; \
|
|
|
|
done
|
|
|
|
for i in gd.h gdfontt.h gdfonts.h gdfontmb.h gdfontl.h gdfontg.h; do \
|
|
|
|
${INSTALL} -c -o root -g bin -m 644 ${WRKSRC}/$$i \
|
|
|
|
${PREFIX}/include/gd; \
|
|
|
|
done
|
|
|
|
for i in index.html demoin.gif ; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$$i \
|
|
|
|
${PREFIX}/share/examples/gd; \
|
|
|
|
done
|
|
|
|
|
|
|
|
post-install:
|
1998-10-06 20:52:47 +00:00
|
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
1998-09-10 14:17:47 +00:00
|
|
|
|
1998-11-14 09:43:39 +00:00
|
|
|
.include <bsd.port.post.mk>
|