aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gd2/Makefile
blob: ea03ab95a5d766511545f00fb69a0bd0da6306c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# New ports collection makefile for: gd
# Version required:     1.6.2
# Date created:         27 Mar 1998
# Whom:                 jeff@cetlink.net
#
# $Id: Makefile,v 1.9 1999/08/01 17:25:07 billf Exp $
#

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

MAINTAINER=     jeff@cetlink.net

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

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

.include <bsd.port.mk>