e159824929
Approved by: portmgr (bapt)
40 lines
1 KiB
Makefile
40 lines
1 KiB
Makefile
# New ports collection makefile for: gnome-main-menu
|
|
# Date created: 06 July 2008
|
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gnome-main-menu
|
|
PORTVERSION= 0.9.12
|
|
PORTREVISION= 8
|
|
CATEGORIES= deskutils gnome
|
|
MASTER_SITES= GNOME
|
|
DIST_SUBDIR= gnome2
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Provides easy access to sets of GNOME applications
|
|
|
|
LIB_DEPENDS= gtop-2.0.7:${PORTSDIR}/devel/libgtop
|
|
|
|
USE_BZIP2= yes
|
|
USE_GNOME= gnomehack gnomeprefix gnomepanel intlhack eel2 gnomedesktop \
|
|
libgnomeui
|
|
USE_GMAKE= yes
|
|
USES= gettext
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= LIBS="`pkg-config --libs libgnomeui-2.0`"
|
|
CPPFLAGS+= -I${LOCALBASE}/include `pkg-config --cflags libgnomeui-2.0`
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
GCONF_SCHEMAS= application-browser.schemas slab.schemas
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|glib/gmacros.h|glib.h|g' \
|
|
-e 's|glib/gfileutils.h|glib.h|g' \
|
|
-e 's|glib/gtypes.h|glib.h|g' \
|
|
${WRKSRC}/libslab/system-tile.c \
|
|
${WRKSRC}/libslab/application-tile.c \
|
|
${WRKSRC}/main-menu/src/tomboykeybinder.h
|
|
|
|
.include <bsd.port.mk>
|