aboutsummaryrefslogtreecommitdiff
path: root/devel/gob2/Makefile
blob: 9e3e9601be2ccf5cf6bbdabdab6cd0a37b319359 (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$

PORTNAME=	gob2
PORTVERSION=	2.0.17
CATEGORIES=	devel
MASTER_SITES=	GNOME
DIST_SUBDIR=	gnome2

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	A preprocessor for making GObjects with inline C

USE_GMAKE=	yes
GNU_CONFIGURE=	yes
USE_GNOME=	glib20
USES=		pkgconfig
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

PLIST_FILES=	bin/gob2 share/aclocal/gob2.m4 ${EXAMPLES:S/^/%%EXAMPLESDIR%%\//}
PLIST_DIRS=	%%EXAMPLESDIR%%

MAN1=		gob2.1

EXAMPLES=	GNOME_Foo_SomeInterface.idl \
		README \
		foo-some-interface.gob \
		gtk-button-count.gob \
		my-glade-main.c \
		my-glade.glade \
		my-glade.gob \
		my-person.gob

post-install:
	${MKDIR} ${EXAMPLESDIR}
.for f in ${EXAMPLES}
	${INSTALL_DATA} ${WRKSRC}/examples/${f} ${EXAMPLESDIR}
.endfor

.include <bsd.port.mk>