aboutsummaryrefslogtreecommitdiffstats
path: root/devel/glg/Makefile
blob: 24b7bc229198718ef947e76a47e957744e33aa65 (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
# New ports collection makefile for:    glg
# Date created:             23 May 2001
# Whom:                 Olivier Singla <lo_gafet@users.sourceforge.net>
#
# $FreeBSD$
#

PORTNAME=   glg
PORTVERSION=    0.2.a
PORTREVISION=   1
CATEGORIES= devel gnome
MASTER_SITES=   ${MASTER_SITE_LOCAL}
#       http://glg.sourceforge.net/ \
#       ${MASTER_SITE_SOURCEFORGE}
#MASTER_SITE_SUBDIR=    glg
MASTER_SITE_SUBDIR= kris

MAINTAINER= lo_gafet@users.sourceforge.net
COMMENT=    Open Application Builder (code generator) for the GTK and/or GNOME

PLIST_FILES=    bin/glg
USE_REINPLACE=  yes
USE_GMAKE=  yes
USE_GNOME=  gtk12
WANT_GNOME= yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500113
BROKEN=     "Does not compile on FreeBSD ${OSVERSION}"
.endif

.if ${HAVE_GNOME:Mgnomelibs}!=""
USE_GNOME+= gnomelibs
.endif

pre-build:
    ${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} -e \
        's@gtk-config@${GTK_CONFIG}@g'

.include <bsd.port.post.mk>