blob: d005ede0cc54e3fc2e4ca2c282ea6be1e1626f7a (
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
50
51
52
53
54
55
56
57
58
59
60
|
# New ports collection makefile for: glade3
# Date created: Sun May 22 17:22:53 CEST 2005
# Whom: Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports/devel/glade3/Makefile,v 1.25 2006/12/19 13:45:41 ahze Exp $
#
PORTNAME= glade3
PORTVERSION= 3.1.4
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= A user interface builder for GTK+/GNOME
INSTALLS_ICONS= yes
USE_XLIB= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= gnometarget gtk20 libxml2 gnomeprefix gnomehack
WANT_GNOME= yes
USE_GETTEXT= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
DOCSDIR= share/doc/gladeui
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE= does not build on 4.X
.endif
.if ${HAVE_GNOME:Mlibgnomeui}!=""
USE_GNOME+= libgnomeui
CONFIGURE_ARGS+=--enable-gnome
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-gnome
.else
CONFIGURE_ARGS+=--disable-gnome
.endif
.if ${HAVE_GNOME:Mpygtk2}!=""
USE_PYTHON= yes
.include "${PORTSDIR}/Mk/bsd.python.mk"
USE_GNOME+= pygtk2
PLIST_SUB+= PYTHON:=""
.else
CONFIGURE_ARGS+=--disable-python
PLIST_SUB+= PYTHON:="@comment "
.endif
post-install:
${MKDIR} ${PREFIX}/lib/glade3/bindings
.include <bsd.port.post.mk>
|