openbsd-ports/x11/gnome/gnome.port.mk
jasper f23699fa1e - use a better way to figure out the MASTER_SITES, so no overridings should
be needed anymore if a file is on ftp.gnome.org

no chickens were injured or eaten whilst working on this, although "someone"
is begging to differ
2008-11-23 22:56:37 +00:00

35 lines
936 B
Makefile

# $OpenBSD: gnome.port.mk,v 1.20 2008/11/23 22:56:37 jasper Exp $
#
# Module for GNOME related ports
#
CATEGORIES+= x11/gnome
DISTNAME= ${GNOME_PROJECT}-${GNOME_VERSION}
VERSION= ${GNOME_VERSION}
.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"
MODGNOME_RUN_DEPENDS+= :desktop-file-utils-*:devel/desktop-file-utils
.endif
# Set to 'yes' if there are .xml GNOME help files under
# share/gnome/help/ in the package list.
.if defined(MODGNOME_HELP_FILES) && ${MODGNOME_HELP_FILES:L} == "yes"
MODGNOME_RUN_DEPENDS+= :yelp-*:x11/gnome/yelp
.endif
.if defined(MODGNOME_RUN_DEPENDS)
RUN_DEPENDS+= ${MODGNOME_RUN_DEPENDS}
.endif
MASTER_SITES?= ${MASTER_SITE_GNOME:=sources/${GNOME_PROJECT}/${GNOME_VERSION:C/^([0-9]+\.[0-9]+).*/\1/}/}
EXTRACT_SUFX?= .tar.bz2
USE_GMAKE?= Yes