2008-11-23 17:56:37 -05:00
|
|
|
# $OpenBSD: gnome.port.mk,v 1.20 2008/11/23 22:56:37 jasper 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
|
|
|
|
|
|
|
CATEGORIES+= x11/gnome
|
|
|
|
|
2007-05-31 07:30:35 -04:00
|
|
|
DISTNAME= ${GNOME_PROJECT}-${GNOME_VERSION}
|
2007-06-29 15:23:34 -04:00
|
|
|
VERSION= ${GNOME_VERSION}
|
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"
|
|
|
|
MODGNOME_RUN_DEPENDS+= :desktop-file-utils-*:devel/desktop-file-utils
|
|
|
|
.endif
|
|
|
|
|
2008-05-26 09:23:34 -04:00
|
|
|
# Set to 'yes' if there are .xml GNOME help files under
|
|
|
|
# share/gnome/help/ in the package list.
|
2008-04-15 07:51:23 -04:00
|
|
|
.if defined(MODGNOME_HELP_FILES) && ${MODGNOME_HELP_FILES:L} == "yes"
|
|
|
|
MODGNOME_RUN_DEPENDS+= :yelp-*:x11/gnome/yelp
|
|
|
|
.endif
|
2007-05-30 05:19:02 -04:00
|
|
|
|
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
|
|
|
|
2008-11-23 17:56:37 -05:00
|
|
|
MASTER_SITES?= ${MASTER_SITE_GNOME:=sources/${GNOME_PROJECT}/${GNOME_VERSION:C/^([0-9]+\.[0-9]+).*/\1/}/}
|
2007-05-30 05:19:02 -04:00
|
|
|
EXTRACT_SUFX?= .tar.bz2
|
|
|
|
|
2007-05-31 08:07:22 -04:00
|
|
|
USE_GMAKE?= Yes
|