freebsd-ports/devel/gob2/Makefile
Marcelo Araujo 7c806af372 - Use GNOME macro instead of ${MASTER_SITE_GNOME}, remove
MASTER_SITE_SUBDIR when possible.

PR:		ports/125243
Submitted by:	pgollucci
Reworked by:	myself
Tested on:	pointyhat exp-run (pav)
2009-02-02 01:36:16 +00:00

44 lines
945 B
Makefile

# New ports collection makefile for: gob2
# Date created: 09 November 2002
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gob2
PORTVERSION= 2.0.15
PORTREVISION= 1
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
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>