diff options
author | kuriyama <kuriyama@FreeBSD.org> | 1998-09-10 14:17:47 +0000 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 1998-09-10 14:17:47 +0000 |
commit | d92b21fc0287e488309c1d96154a73e493b94968 (patch) | |
tree | eb8ea0ea656a5116d0c6f45c92e0bcfe8578ed73 /japanese/gd/Makefile | |
parent | f3d4d0c5b433e1ff2576d36ba6316e1df65168ce (diff) | |
download | FreeBSD-ports-d92b21fc0287e488309c1d96154a73e493b94968.zip FreeBSD-ports-d92b21fc0287e488309c1d96154a73e493b94968.tar.gz |
A graphics library for fast GIF creation
Submitted by: Ichiro Fukuhara <ichiro@ichiro.org>
Diffstat (limited to 'japanese/gd/Makefile')
-rw-r--r-- | japanese/gd/Makefile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/japanese/gd/Makefile b/japanese/gd/Makefile new file mode 100644 index 0000000..cb8fb2e --- /dev/null +++ b/japanese/gd/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: gd +# Version required: 1.3+kanji.patch +# Date created: 19 Aug 1998 +# Whom: ichiro@ichiro.org +# +# $Id$ +# + +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 + +BUILD_DEPENDS= ${PREFIX}/lib/libVFlib2.a:${PORTSDIR}/japanese/vflib + +FETCH_BEFORE_ARGS= -b + +pre-install: + ${MKDIR} ${PREFIX}/include/gd + ${MKDIR} ${PREFIX}/share/examples/gd + +do-install: + for i in libgd.a libgd.so.1.3; do \ + ${INSTALL} -c -o bin -g bin -m 555 ${WRKSRC}/$$i \ + ${PREFIX}/lib; \ + done + (cd ${PREFIX}/lib; ${LN} -sf libgd.so.1.3 libgd.so.1; \ + ${LN} -sf libgd.so.1 libgd.so) + 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: + ${LDCONFIG} -m ${PREFIX}/lib + +.include <bsd.port.mk> |