aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gob2/Makefile
blob: b820b1fa012586dbb52717bcb41164e3acc886fc (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
# New ports collection makefile for:   gob2
# Date created:        09 November 2002
# Whom:                Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gob2
PORTVERSION=    2.0.12
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.0
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
CONFIGURE_ENV=  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>