aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gtoolkit/Makefile
blob: a9c5c76b9a7baee38e02a6fceb2773ed62c65220 (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
# 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=	1
CATEGORIES=	x11-toolkits
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

PREFIX=		${LOCALBASE}/GNUstep
NO_MTREE=	yes
USE_GMAKE=	yes
USE_GNOME=	gtk12
GNU_CONFIGURE=	yes
LDCONFIG_DIRS=	${LOCALLIBDIR}
INSTALLS_SHLIB=	yes

MAKE_ARGS+=	GNUSTEP_SYSTEM_ROOT=${PREFIX}/System
CONFIGURE_ARGS+=	--with-gnustep
WRKSRC=		${WRKDIR}/${DISTNAME}/GToolKit
CONFIGURE_WRKSRC=	${WRKDIR}/${DISTNAME}

post-patch:
	@${MV} ${CONFIGURE_WRKSRC}/configure ${CONFIGURE_WRKSRC}/configure.sed
	${SED} -e 's#gtk-config#gtk12-config#g' \
		${CONFIGURE_WRKSRC}/configure.sed \
		> ${CONFIGURE_WRKSRC}/configure
	${CHMOD} +x ${CONFIGURE_WRKSRC}/configure

.include <bsd.port.pre.mk>

USE_GNUSTEP_BASE=	yes
USE_GNUSTEP_CONFIGURE=	yes
USE_GNUSTEP_BUILD=	yes
USE_GNUSTEP_INSTALL=	yes
.include "${PORTSDIR}/devel/gnustep/bsd.gnustep.mk"

.include <bsd.port.post.mk>