# New ports collection makefile for: gd
# Version required:     1.7.3
# Date created:         27 Mar 1998
# Whom:                 jeff@cetlink.net
#
# $FreeBSD: ports/graphics/gd/Makefile,v 1.16 1999/12/27 21:26:40 steve Exp $
#

DISTNAME=       gd-1.7.3
CATEGORIES=	graphics
MASTER_SITES=   http://www.boutell.com/gd/http/ \
		ftp://ftp.boutell.com/pub/boutell/gd/

MAINTAINER=	ports@FreeBSD.org

LIB_DEPENDS=	png.3:${PORTSDIR}/graphics/png \
		ttf.4:${PORTSDIR}/print/freetype \
		Xpm.4:${PORTSDIR}/graphics/xpm

USE_XLIB=	YES

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

post-install:
	${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib

.include <bsd.port.mk>
