aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk13/Makefile
blob: ba60715ca5aeb07596ae622dd43504604b328a6d (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
37
38
39
40
# New ports collection makefile for:   gtk12
# Version required:     1.2.3
# Date Created:         28 Sep 1997
# Whom:             Vanilla I. Shu <vanilla@MinJe.com.TW>
#
# $Id: Makefile,v 1.49 1999/05/02 05:21:19 kuriyama Exp $
#

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

MAINTAINER= vanilla@FreeBSD.ORG

LIB_DEPENDS=    glib12.2:${PORTSDIR}/devel/glib12 \
        intl.1:${PORTSDIR}/devel/gettext

GLIB_CONFIG?=   ${LOCALBASE}/bin/glib12-config

USE_X_PREFIX=   yes
USE_PERL5=  yes
USE_LIBTOOL=    yes
CONFIGURE_ARGS= --includedir=${PREFIX}/include/gtk12
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        X_CFLAGS="-I${LOCALBASE}/include" \
        GLIB_CONFIG="${GLIB_CONFIG}" \
        LIBS="-L${LOCALBASE}/lib"

MAN1=       gtk12-config.1

pre-build:
    ${RM} -rf ${WRKSRC}/docs/gtk.info*

post-install:
    @${MKDIR} ${PREFIX}/share/themes/engines

.include <bsd.port.mk>