1997-02-13 14:51:45 +00:00
|
|
|
# New ports collection makefile for: gd
|
1999-11-01 01:01:02 +00:00
|
|
|
# Version required: 1.7.3
|
1998-04-04 14:25:54 +00:00
|
|
|
# Date created: 27 Mar 1998
|
1997-02-13 14:51:45 +00:00
|
|
|
# Whom: jeff@cetlink.net
|
|
|
|
#
|
1999-08-25 06:16:32 +00:00
|
|
|
# $FreeBSD$
|
1997-02-13 14:51:45 +00:00
|
|
|
#
|
|
|
|
|
1999-11-01 01:01:02 +00:00
|
|
|
DISTNAME= gd-1.7.3
|
1997-02-13 14:51:45 +00:00
|
|
|
CATEGORIES= graphics
|
1998-06-25 03:13:16 +00:00
|
|
|
MASTER_SITES= http://www.boutell.com/gd/http/ \
|
|
|
|
ftp://ftp.boutell.com/pub/boutell/gd/
|
1997-02-13 14:51:45 +00:00
|
|
|
|
2000-01-28 04:01:59 +00:00
|
|
|
MAINTAINER= billf@FreeBSD.org
|
1999-07-13 23:59:58 +00:00
|
|
|
|
2000-02-03 03:06:38 +00:00
|
|
|
LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png
|
|
|
|
.if defined(WANT_X11)
|
|
|
|
LIB_DEPENDS+= ttf.4:${PORTSDIR}/print/freetype \
|
1999-12-25 02:01:54 +00:00
|
|
|
Xpm.4:${PORTSDIR}/graphics/xpm
|
|
|
|
|
|
|
|
USE_XLIB= YES
|
2000-02-03 03:06:38 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-fetch:
|
|
|
|
.if !defined(WANT_X11)
|
|
|
|
@${ECHO} -n "If you want to compile in X support use "
|
|
|
|
@${ECHO} "'make -DWANT_X11' instead"
|
|
|
|
.endif
|
1998-04-19 15:38:31 +00:00
|
|
|
|
1997-02-13 14:51:45 +00:00
|
|
|
pre-install:
|
|
|
|
${MKDIR} ${PREFIX}/include/gd
|
|
|
|
|
1999-12-27 21:26:46 +00:00
|
|
|
post-install:
|
|
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
|
|
|
|
1997-02-13 14:51:45 +00:00
|
|
|
.include <bsd.port.mk>
|