2011-06-02 13:20:33 -04:00
|
|
|
# $OpenBSD: gnome.port.mk,v 1.40 2011/06/02 17:20:33 ajacoutot Exp $
|
2008-04-15 07:51:23 -04:00
|
|
|
#
|
2007-05-30 05:19:02 -04:00
|
|
|
# Module for GNOME related ports
|
2008-04-15 07:51:23 -04:00
|
|
|
#
|
2007-05-30 05:19:02 -04:00
|
|
|
|
2010-10-23 10:37:17 -04:00
|
|
|
.if (defined(GNOME_PROJECT) && defined(GNOME_VERSION))
|
2007-05-31 07:30:35 -04:00
|
|
|
DISTNAME= ${GNOME_PROJECT}-${GNOME_VERSION}
|
2010-10-23 10:37:17 -04:00
|
|
|
VERSION= ${GNOME_VERSION}
|
2010-10-23 12:31:29 -04:00
|
|
|
MASTER_SITES?= ${MASTER_SITE_GNOME:=sources/${GNOME_PROJECT}/${GNOME_VERSION:C/^([0-9]+\.[0-9]+).*/\1/}/}
|
2010-10-23 11:26:27 -04:00
|
|
|
EXTRACT_SUFX?= .tar.bz2
|
2010-10-23 10:37:17 -04:00
|
|
|
CATEGORIES+= x11/gnome
|
|
|
|
.endif
|
2007-05-31 07:30:35 -04:00
|
|
|
|
2007-06-30 08:14:14 -04:00
|
|
|
.if ${NO_BUILD:L} == "no"
|
2007-05-30 05:19:02 -04:00
|
|
|
USE_LIBTOOL?= Yes
|
2007-12-27 15:45:54 -05:00
|
|
|
MODULES+= textproc/intltool
|
2007-06-30 07:39:46 -04:00
|
|
|
.endif
|
2007-05-30 05:19:02 -04:00
|
|
|
|
2008-04-15 07:51:23 -04:00
|
|
|
# Set to 'yes' if there are .desktop files in the package list.
|
|
|
|
.if defined(DESKTOP_FILES) && ${DESKTOP_FILES:L} == "yes"
|
2010-11-22 03:36:47 -05:00
|
|
|
MODGNOME_RUN_DEPENDS+= devel/desktop-file-utils
|
2008-04-15 07:51:23 -04:00
|
|
|
.endif
|
|
|
|
|
2011-05-11 10:56:42 -04:00
|
|
|
# Set to 'yes' if there are .xml GNOME help files under share/gnome/help/
|
|
|
|
# in the pkg list and it calls gnome_help_display() -- gnome-doc-utils is
|
|
|
|
# here to make sure we have a dependency on rarian (scrollkeeper-*) and
|
|
|
|
# have access to the gnome-doc-* tools (not always needed but easier).
|
2008-04-15 07:51:23 -04:00
|
|
|
.if defined(MODGNOME_HELP_FILES) && ${MODGNOME_HELP_FILES:L} == "yes"
|
2011-05-17 09:48:18 -04:00
|
|
|
MODGNOME_BUILD_DEPENDS+=x11/gnome/doc-utils
|
2010-11-22 03:36:47 -05:00
|
|
|
MODGNOME_RUN_DEPENDS+= x11/gnome/yelp
|
2008-04-15 07:51:23 -04:00
|
|
|
.endif
|
2007-05-30 05:19:02 -04:00
|
|
|
|
2009-04-06 06:05:20 -04:00
|
|
|
.if defined(MODGNOME_BUILD_DEPENDS)
|
|
|
|
BUILD_DEPENDS+= ${MODGNOME_BUILD_DEPENDS}
|
|
|
|
.endif
|
|
|
|
|
2008-04-15 07:51:23 -04:00
|
|
|
.if defined(MODGNOME_RUN_DEPENDS)
|
2007-05-30 05:19:02 -04:00
|
|
|
RUN_DEPENDS+= ${MODGNOME_RUN_DEPENDS}
|
2007-07-03 04:50:36 -04:00
|
|
|
.endif
|
2007-05-30 05:19:02 -04:00
|
|
|
|
2007-05-31 08:07:22 -04:00
|
|
|
USE_GMAKE?= Yes
|
2009-10-10 08:38:33 -04:00
|
|
|
|
2011-04-26 08:50:54 -04:00
|
|
|
FAKE_FLAGS += itlocaledir="${PREFIX}/share/locale/"
|