Changeset View
Changeset View
Standalone View
Standalone View
head/Mk/bsd.gnome.mk
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | |||||
# INSTALLS_ICONS - If your port installs Freedesktop-style icons to | # INSTALLS_ICONS - If your port installs Freedesktop-style icons to | ||||
# ${LOCALBASE}/share/icons, then you should use this | # ${LOCALBASE}/share/icons, then you should use this | ||||
# macro. If the icons are not cached, they will not be | # macro. If the icons are not cached, they will not be | ||||
# displayed. | # displayed. | ||||
# | # | ||||
# non-version specific components | # non-version specific components | ||||
_USE_GNOME_ALL= esound intlhack intltool introspection \ | _USE_GNOME_ALL= esound intlhack intltool introspection \ | ||||
gnomehack referencehack gnomehier gnomemimedata \ | gnomehack referencehack gnomemimedata \ | ||||
gnomeprefix | gnomeprefix | ||||
# GNOME 1 components | # GNOME 1 components | ||||
_USE_GNOME_ALL+= gdkpixbuf glib12 gtk12 imlib | _USE_GNOME_ALL+= gdkpixbuf glib12 gtk12 imlib | ||||
# GNOME 2 components | # GNOME 2 components | ||||
_USE_GNOME_ALL+= atk atspi cairo desktopfileutils gal2 \ | _USE_GNOME_ALL+= atk atspi cairo desktopfileutils gal2 \ | ||||
gdkpixbuf2 gconf2 glib20 \ | gdkpixbuf2 gconf2 glib20 \ | ||||
Show All 32 Lines | gnomehack_PRE_PATCH= ${FIND} ${WRKSRC} -name "${GNOME_MAKEFILEIN}*" -type f | ${XARGS} ${REINPLACE_CMD} -e \ | ||||
${FIND} ${WRKSRC} -name "configure" -type f | ${XARGS} ${REINPLACE_CMD} -e \ | ${FIND} ${WRKSRC} -name "configure" -type f | ${XARGS} ${REINPLACE_CMD} -e \ | ||||
's|-lpthread|${PTHREAD_LIBS}|g ; \ | 's|-lpthread|${PTHREAD_LIBS}|g ; \ | ||||
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ | s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ | ||||
s|{libdir}/locale|{prefix}/share/locale|g' | s|{libdir}/locale|{prefix}/share/locale|g' | ||||
referencehack_PRE_PATCH= ${FIND} ${WRKSRC} -name "Makefile.in" -type f | ${XARGS} ${REINPLACE_CMD} -e \ | referencehack_PRE_PATCH= ${FIND} ${WRKSRC} -name "Makefile.in" -type f | ${XARGS} ${REINPLACE_CMD} -e \ | ||||
"s|test \"\$$\$$installfiles\" = '\$$(srcdir)/html/\*'|:|" | "s|test \"\$$\$$installfiles\" = '\$$(srcdir)/html/\*'|:|" | ||||
GNOME_MTREE_FILE?= ${LOCALBASE}/etc/mtree/BSD.gnome.dist | |||||
gnomehier_DETECT= ${GNOME_MTREE_FILE} | |||||
gnomehier_RUN_DEPENDS= ${gnomehier_DETECT}:${PORTSDIR}/misc/gnomehier | |||||
GNOME_HTML_DIR?= ${PREFIX}/share/doc | GNOME_HTML_DIR?= ${PREFIX}/share/doc | ||||
GCONF_CONFIG_OPTIONS?= merged | GCONF_CONFIG_OPTIONS?= merged | ||||
GCONF_CONFIG_DIRECTORY?=etc/gconf/gconf.xml.defaults | GCONF_CONFIG_DIRECTORY?=etc/gconf/gconf.xml.defaults | ||||
GCONF_CONFIG_SOURCE?=xml:${GCONF_CONFIG_OPTIONS}:${PREFIX}/${GCONF_CONFIG_DIRECTORY} | GCONF_CONFIG_SOURCE?=xml:${GCONF_CONFIG_OPTIONS}:${PREFIX}/${GCONF_CONFIG_DIRECTORY} | ||||
GNOME_LOCALSTATEDIR?= ${PREFIX}/share | GNOME_LOCALSTATEDIR?= ${PREFIX}/share | ||||
gnomeprefix_CONFIGURE_ENV=GTKDOC="false" | gnomeprefix_CONFIGURE_ENV=GTKDOC="false" | ||||
gnomeprefix_CONFIGURE_ARGS=--localstatedir=${GNOME_LOCALSTATEDIR} \ | gnomeprefix_CONFIGURE_ARGS=--localstatedir=${GNOME_LOCALSTATEDIR} \ | ||||
--with-html-dir=${GNOME_HTML_DIR} \ | --with-html-dir=${GNOME_HTML_DIR} \ | ||||
▲ Show 20 Lines • Show All 616 Lines • ▼ Show 20 Lines | |||||
.endif | .endif | ||||
.if ${MAINTAINER}=="gnome@FreeBSD.org" | .if ${MAINTAINER}=="gnome@FreeBSD.org" | ||||
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 GNOME 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." | 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 GNOME 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 | ||||
.if defined(GCONF_SCHEMAS) || defined(INSTALLS_OMF) || defined(INSTALLS_ICONS) \ | .if defined(GCONF_SCHEMAS) || defined(INSTALLS_OMF) || defined(INSTALLS_ICONS) \ | ||||
|| defined(GLIB_SCHEMAS) || (defined(_USE_GNOME) && ${_USE_GNOME:Mgnomehier}!="") | || defined(GLIB_SCHEMAS) | ||||
pre-su-install: gnome-pre-su-install | pre-su-install: gnome-pre-su-install | ||||
post-install: gnome-post-install | post-install: gnome-post-install | ||||
gnome-pre-su-install: | gnome-pre-su-install: | ||||
.if defined(_USE_GNOME) && ${_USE_GNOME:Mgnomehier}!="" && !defined(NO_MTREE) | |||||
@${MTREE_CMD} ${MTREE_ARGS:S/${MTREE_FILE}/${GNOME_MTREE_FILE}/} ${STAGEDIR}${PREFIX}/ >/dev/null | |||||
.endif | |||||
.if defined(GCONF_SCHEMAS) | .if defined(GCONF_SCHEMAS) | ||||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/gconf/gconf.xml.defaults/ | @${MKDIR} ${STAGEDIR}${PREFIX}/etc/gconf/gconf.xml.defaults/ | ||||
.else | .else | ||||
@${DO_NADA} | @${DO_NADA} | ||||
.endif | .endif | ||||
gnome-post-install: | gnome-post-install: | ||||
. if defined(GCONF_SCHEMAS) | . if defined(GCONF_SCHEMAS) | ||||
▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines |