aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/gd/Makefile
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>1999-09-09 00:50:29 +0800
committertaoka <taoka@FreeBSD.org>1999-09-09 00:50:29 +0800
commit4e06818bdb66d699651702b086391a1b6b75833d (patch)
treef2419f524986f1697b4401444aca70bc0b191bd0 /japanese/gd/Makefile
parentf7c9b1f1bf0d141cde11082e6490d1a67afc2ef8 (diff)
downloadfreebsd-ports-gnome-4e06818bdb66d699651702b086391a1b6b75833d.tar.gz
freebsd-ports-gnome-4e06818bdb66d699651702b086391a1b6b75833d.tar.zst
freebsd-ports-gnome-4e06818bdb66d699651702b086391a1b6b75833d.zip
Updated to 1.6.3
PR: 13640 Submitted by: maintainer
Diffstat (limited to 'japanese/gd/Makefile')
-rw-r--r--japanese/gd/Makefile49
1 files changed, 14 insertions, 35 deletions
diff --git a/japanese/gd/Makefile b/japanese/gd/Makefile
index 90426afd894d..be7a641a9cef 100644
--- a/japanese/gd/Makefile
+++ b/japanese/gd/Makefile
@@ -1,55 +1,34 @@
-# New ports collection makefile for: gd
-# Version required: 1.3+kanji.patch
+# New ports collection makefile for: gd
+# Version required: 1.6.3
# Date created: 19 Aug 1998
# Whom: ichiro@ichiro.org
#
# $FreeBSD$
#
-DISTNAME= gd1.3
-PKGNAME= ja-gd-1.3
+DISTNAME= gd-1.6.3
+PKGNAME= ja-gd-1.6.3
CATEGORIES= japanese graphics
-MASTER_SITES= http://www.boutell.com/gd/http/ \
+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
+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
-BUILD_DEPENDS= ${PREFIX}/lib/libVFlib2.so:${PORTSDIR}/japanese/vflib
-
-RESTRICTED= unavailable from master site due to legal problems
+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
-.include <bsd.port.pre.mk>
+CFLAGS= -DJISX0208
pre-install:
${MKDIR} ${PREFIX}/include/gd
${MKDIR} ${PREFIX}/share/examples/gd
-do-install:
- for i in libgd.a libgd.so.1; do \
- ${INSTALL} -c -o bin -g bin -m 555 ${WRKSRC}/$$i \
- ${PREFIX}/lib; \
- done
- ( cd ${PREFIX}/lib; ${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:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>