aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk12/Makefile
blob: 0feb142287e7ef61f6a44e2941705fbc8d571b4d (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
41
42
43
44
45
46
47
48
49
# New ports collection makefile for:   gtk12
# Date Created:         28 Sep 1997
# Whom:             Vanilla I. Shu <vanilla@MinJe.com.TW>
#
# $FreeBSD$
#

PORTNAME=   gtk
PORTVERSION=    1.2.10
PORTREVISION=   7
CATEGORIES= x11-toolkits
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/gtk+
DISTNAME=   gtk+-${PORTVERSION}

MAINTAINER= gnome@FreeBSD.org

LIB_DEPENDS=    intl.4:${PORTSDIR}/devel/gettext

USE_X_PREFIX=   yes
USE_PERL5=  yes
USE_GNOMENG=    yes
USE_GNOME=  glib12
USE_LIBTOOL=    yes
INSTALLS_SHLIB= yes
LIBTOOLFLAGS=   --disable-ltlibs --release-suffix
CONFIGURE_ARGS= --includedir=${PREFIX}/include/gtk12 --with-native-locale
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        X_CFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib"

MAN1=       gtk12-config.1

.if defined(WITH_XINPUT)
CONFIGURE_ARGS+=    --with-xinput=xfree
.endif

pre-extract:
.if !defined(WITH_XINPUT)
    @${ECHO_MSG} "You can enable support for XInput by defining WITH_XINPUT."
.endif

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

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

.include <bsd.port.mk>