aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk12/Makefile
blob: 820c07883343b681c53e3babac6308b317f68817 (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
29
30
31
32
33
34
35
36
# New ports collection makefile for:   gtk11-devel
# Version required:     1.1.9
# Date Created:         28 Sep 1997
# Whom:             Vanilla I. Shu <vanilla@MinJe.com.TW>
#
# $Id: Makefile,v 1.35 1998/12/22 09:06:28 asami Exp $
#

DISTNAME=   gtk+-1.1.9
PKGNAME=    gtk-1.1.9
CATEGORIES= x11-toolkits
MASTER_SITES=   ftp://ftp.gimp.org/pub/gtk/v1.1/ \
        ftp://ftp.cs.umn.edu/pub/gimp/gtk/v1.1/ \
        http://www.ameth.org/gimp/gtk/v1.1/

MAINTAINER= vanilla@FreeBSD.ORG

RUN_DEPENDS=    gettext:${PORTSDIR}/devel/gettext
LIB_DEPENDS=    glib11d.1:${PORTSDIR}/devel/glib11-devel

USE_X_PREFIX=   yes
.include <bsd.port.pre.mk>

.if ${OSVERSION} <= 300000
USE_PERL5=  yes
.endif
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  INSTALL='$${INSTALL} -c' \
        GLIB_CONFIG="${LOCALBASE}/bin/glib11d-config" \
        CPPFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ARGS= --includedir=${PREFIX}/include/gtk11d

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

.include <bsd.port.post.mk>