aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtoolkit/Makefile
blob: ab1af333bc940237e58891b4a3d5ee86603f6a6c (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
# New ports collection makefile for:   gtoolkit
# Date created:        13 Jan 2002
# Whom:                Miguel Mendez <flynn@energyhq.homeip.net>
#
# $FreeBSD$
#

PORTNAME=   gtoolkit
PORTVERSION=    0.9.5
PORTREVISION=   5
CATEGORIES= x11-toolkits gnustep
MASTER_SITES=   ftp://ftp.inf.uos.de/pub/elmar/gtk/objc-gtoolkit/

MAINTAINER= dinoex@FreeBSD.org
COMMENT=    Obj-C wrapper for gtk, a x11 graphics library

USE_GMAKE=  yes
USE_GNUSTEP=    yes
USE_MAKEFILE=   yes
USE_GNUSTEP_PREFIX= yes
USE_GNUSTEP_BASE=   yes
USE_GNUSTEP_CONFIGURE=  yes
USE_GNUSTEP_BUILD=  yes
USE_GNUSTEP_INSTALL=    yes
USE_GNUSTEP_LDCONFIG=   ${GNUSTEP_LOCAL_LIBRARIES}

GNU_CONFIGURE=  yes
USE_GNOME=  gtk12
MAKE_ARGS+= GNUSTEP_PREFIX=${PREFIX}/System
CONFIGURE_ARGS+=    --with-gnustep
WRKSRC=     ${WRKDIR}/${DISTNAME}/GToolKit
CONFIGURE_WRKSRC=   ${WRKDIR}/${DISTNAME}

post-patch:
    ${REINPLACE_CMD} -e 's#gtk-config#${GTK_CONFIG}#g' \
        ${CONFIGURE_WRKSRC}/configure
    ${REINPLACE_CMD} -e 's|)/Makefiles|)/Library/Makefiles|' \
        ${WRKSRC}/Makefile.gnustep

.include <bsd.port.pre.mk>

.if ${ARCH} == "ia64"
BROKEN=     gtksignal.h is missing from gtk
.endif

.include <bsd.port.post.mk>