openbsd-ports/x11/gnome/gnome.port.mk

44 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: gnome.port.mk,v 1.40 2011/06/02 17:20:33 ajacoutot Exp $
#
# Module for GNOME related ports
#
.if (defined(GNOME_PROJECT) && defined(GNOME_VERSION))
DISTNAME= ${GNOME_PROJECT}-${GNOME_VERSION}
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
CATEGORIES+= x11/gnome
.endif
.if ${NO_BUILD:L} == "no"
USE_LIBTOOL?= Yes
MODULES+= textproc/intltool
.endif
# 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
.endif
# 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).
.if defined(MODGNOME_HELP_FILES) && ${MODGNOME_HELP_FILES:L} == "yes"
MODGNOME_BUILD_DEPENDS+=x11/gnome/doc-utils
2010-11-22 03:36:47 -05:00
MODGNOME_RUN_DEPENDS+= x11/gnome/yelp
.endif
.if defined(MODGNOME_BUILD_DEPENDS)
BUILD_DEPENDS+= ${MODGNOME_BUILD_DEPENDS}
.endif
.if defined(MODGNOME_RUN_DEPENDS)
RUN_DEPENDS+= ${MODGNOME_RUN_DEPENDS}
.endif
2007-05-31 08:07:22 -04:00
USE_GMAKE?= Yes
FAKE_FLAGS += itlocaledir="${PREFIX}/share/locale/"