Changeset View
Changeset View
Standalone View
Standalone View
Mk/Uses/mate.mk
- This file was moved from Mk/bsd.mate.mk.
#-*- tab-width: 4; -*- | #-*- tab-width: 4; -*- | ||||
# ex:ts=4 | # ex:ts=4 | ||||
# | # | ||||
# $FreeBSD: head/Mk/bsd.mate.mk 393031 2015-07-27 20:19:33Z kwm $ | # $FreeBSD$ | ||||
# $NetBSD$ | |||||
# $MCom: ports-experimental/Mk/bsd.mate.mk,v 1.13 2012/09/03 17:02:31 mezz Exp $ | |||||
# | # | ||||
# Please view me with 4 column tabs! | # Please view me with 4 column tabs! | ||||
####################################################### | |||||
# | |||||
# *** WARNING: Disable MARCUSCOM before merge in FreeBSD! | |||||
# Please also remove this section before merging into FreeBSD. | |||||
# | |||||
#MARCUSCOM_CVS=yes | |||||
# ======================= USERS ================================= | # ======================= USERS ================================= | ||||
# | # | ||||
# There are no significant user-definable settings in here. | # There are no significant user-definable settings in here. | ||||
# This file is a framework to make it easier to create MATE ports. | # This file is a framework to make it easier to create MATE ports. | ||||
# | # | ||||
# ======================= /USERS ================================ | # ======================= /USERS ================================ | ||||
# | |||||
.if !defined(_POSTMKINCLUDED) && !defined(Mate_Pre_Include) | |||||
# Please make sure all changes to this file are passed through the maintainer. | # Please make sure all changes to this file are passed through the maintainer. | ||||
# Do not commit them yourself (unless of course you're the Port's Wraith ;). | # Do not commit them yourself (unless of course you're the Port's Wraith ;). | ||||
Mate_Include_MAINTAINER= gnome@FreeBSD.org | # | ||||
Mate_Pre_Include= bsd.mate.mk | # MAINTAINER: gnome@FreeBSD.org | ||||
.if !defined(_INCLUDE_USES_MATE_MK) | |||||
_INCLUDE_USES_MATE_MK= yes | |||||
# This section defines possible names of MATE components and all information | # This section defines possible names of MATE components and all information | ||||
# necessary for ports to use those components. | # necessary for ports to use those components. | ||||
# Ports can use this as follows: | # Ports can use this as follows: | ||||
# | # | ||||
# USE_MATE= caja common desktop | # USE_MATE= caja common desktop | ||||
# | # | ||||
# .include <bsd.port.mk> | # .include <bsd.port.mk> | ||||
▲ Show 20 Lines • Show All 98 Lines • ▼ Show 20 Lines | |||||
pluma_RUN_DEPENDS= ${pluma_DETECT}:${PORTSDIR}/editors/pluma | pluma_RUN_DEPENDS= ${pluma_DETECT}:${PORTSDIR}/editors/pluma | ||||
settingsdaemon_DETECT= ${LOCALBASE}/libdata/pkgconfig/mate-settings-daemon.pc | settingsdaemon_DETECT= ${LOCALBASE}/libdata/pkgconfig/mate-settings-daemon.pc | ||||
settingsdaemon_BUILD_DEPENDS= ${settingsdaemon_DETECT}:${PORTSDIR}/sysutils/mate-settings-daemon | settingsdaemon_BUILD_DEPENDS= ${settingsdaemon_DETECT}:${PORTSDIR}/sysutils/mate-settings-daemon | ||||
settingsdaemon_RUN_DEPENDS= ${settingsdaemon_DETECT}:${PORTSDIR}/sysutils/mate-settings-daemon | settingsdaemon_RUN_DEPENDS= ${settingsdaemon_DETECT}:${PORTSDIR}/sysutils/mate-settings-daemon | ||||
# End component definition section | # End component definition section | ||||
.endif | |||||
# End of optional part. | |||||
.if defined(_POSTMKINCLUDED) && !defined(Mate_Post_Include) | |||||
Mate_Post_Include= bsd.mate.mk | |||||
.if defined(USE_MATE) | .if defined(USE_MATE) | ||||
# Comparing between USE_MATE and _USE_MATE_ALL to make sure the component | # Comparing between USE_MATE and _USE_MATE_ALL to make sure the component | ||||
# exists in _USE_MATE_ALL. If it does not exist then give an error about it. | # exists in _USE_MATE_ALL. If it does not exist then give an error about it. | ||||
#. for component in ${USE_MATE:O:u:C/^([^:]+).*/\1/} | #. for component in ${USE_MATE:O:u:C/^([^:]+).*/\1/} | ||||
. for component in ${USE_MATE:C/^([^:]+).*/\1/} | . for component in ${USE_MATE:C/^([^:]+).*/\1/} | ||||
#. for component in ${USE_GNOME:C/^([^:]+).*/\1/} | #. for component in ${USE_GNOME:C/^([^:]+).*/\1/} | ||||
. if ${_USE_MATE_ALL:M${component}}=="" | . if ${_USE_MATE_ALL:M${component}}=="" | ||||
.error cannot install: Unknown component USE_MATE=${component} | .error cannot install: Unknown component USE_MATE=${component} | ||||
Show All 37 Lines | |||||
. endif | . endif | ||||
. if defined(${component}_PRE_PATCH) | . if defined(${component}_PRE_PATCH) | ||||
MATE_PRE_PATCH+= ; ${${component}_PRE_PATCH} | MATE_PRE_PATCH+= ; ${${component}_PRE_PATCH} | ||||
. endif | . endif | ||||
. endfor | . endfor | ||||
.endif # USE_MATE check | .endif # USE_MATE check | ||||
.endif | |||||
# End of optional part. | |||||
.if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_MATE_POST_MK) | |||||
_INCLUDE_USES_MATE_POST_MK= yes | |||||
.if ${USE_MATE:Mautogen}!="" | .if ${USE_MATE:Mautogen}!="" | ||||
CONFIGURE_ENV+= NOCONFIGURE=yes | CONFIGURE_ENV+= NOCONFIGURE=yes | ||||
pre-configure: mate-pre-configure | pre-configure: mate-pre-configure | ||||
mate-pre-configure: | mate-pre-configure: | ||||
@(cd ${CONFIGURE_WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} ./autogen.sh) | @(cd ${CONFIGURE_WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} ./autogen.sh) | ||||
.endif | .endif | ||||
.if defined(MATE_PRE_PATCH) | .if defined(MATE_PRE_PATCH) | ||||
pre-configure-script: mate-pre-configure-script | pre-configure-script: mate-pre-configure-script | ||||
mate-pre-configure-script: | mate-pre-configure-script: | ||||
@${MATE_PRE_PATCH:C/^;//1} | @${MATE_PRE_PATCH:C/^;//1} | ||||
.endif | .endif | ||||
.if ${MAINTAINER}=="gnome@FreeBSD.org" | #.endif | ||||
CONFIGURE_FAIL_MESSAGE= "Please run the gnomelogalyzer, available from \"http://www.freebsd.org/gnome/gnomelogalyzer.sh\", which will diagnose the problem and suggest a solution. If - and only if - the gnomelogalyzer cannot solve the problem, report the build failure to the FreeBSD MATE team at ${MAINTAINER}, and attach (a) \"${CONFIGURE_WRKSRC}/${CONFIGURE_LOG}\", (b) the output of the failed make command, and (c) the gnomelogalyzer output. Also, it might be a good idea to provide an overview of all packages installed on your system (i.e. an \`ls ${PKG_DBDIR}\`). Put your attachment up on any website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) with the attachment. Try to avoid sending any attachments to the mailing list (${MAINTAINER}), because attachments sent to FreeBSD mailing lists are usually discarded by the mailing list software." | |||||
.endif | |||||
.endif | |||||
# End of use part. | # End of use part. |