205c226bb2
MODGNOME_HELP_FILES is set to yes. * add a build_depends on gnome-doc-utils if MODGNOME_HELP_FILES is set to yes * add rarian as a run_depends for gnome-doc-utils (will help with older ports that will never be updated from using deprecated scrollkeeper) * remove build+run_depends on gnome-doc-utils and rarian for ports that have MODGNOME_HELP_FILES as they are now implied. * bump where needed This should help in having all required build dependencies for gnome-related ports and it greatly simplifies things. "thanks for cleaning this mess" and ok jasper@
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# $OpenBSD: gnome.port.mk,v 1.21 2009/04/06 10:05:20 ajacoutot 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_BUILD_DEPENDS+= ::x11/gnome/doc-utils
|
|
MODGNOME_RUN_DEPENDS+= :yelp-*: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
|
|
|
|
MASTER_SITES?= ${MASTER_SITE_GNOME:=sources/${GNOME_PROJECT}/${GNOME_VERSION:C/^([0-9]+\.[0-9]+).*/\1/}/}
|
|
EXTRACT_SUFX?= .tar.bz2
|
|
|
|
USE_GMAKE?= Yes
|