mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
7887c684ad
are the latest stable releases. * Update vala to the newest stable release 0.18.1, also update a few ports in the gtk/gnome stack. * The c++ bindings ports for glib, atk, gconf, etc, have now USE_GNOME toggles. * Remove pkg-config run depends from glib20 and freetype2. This doesn't eliminate pkg-config run dependency completely, a second phase is needed and is planned. * Support for .:run. and .:build. for USE_GNOME components was added. Currently only libxml2 and libxslt support this mechanism. * Updates of the telepathy stack and empathy. * Trim makefile headers, convert ports to new options, trim off library versions for some ports. * Fix other ports so they build with the new glib version. Thanks to miwi and crees for helping out with some exp-runs. Approved by: portmgr (miwi & bapt) Obtained from: gnome team repo
56 lines
1.6 KiB
Makefile
56 lines
1.6 KiB
Makefile
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
# $FreeBSD$
|
|
# $MCom: ports/misc/gnomehier/Makefile,v 1.39 2012/12/10 10:58:06 kwm Exp $
|
|
# !!DON'T BUMP PORTREVISION ON MTREE CHANGES ANYMORE!!
|
|
|
|
PORTNAME= gnomehier
|
|
PORTVERSION= 3.0
|
|
CATEGORIES= misc gnome
|
|
MASTER_SITES= # none
|
|
DISTFILES= # none
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= A utility port that creates the GNOME directory tree
|
|
|
|
NO_BUILD= yes
|
|
PLIST= ${WRKDIR}/pkg-plist
|
|
PKGINSTALL= ${WRKDIR}/pkg-install
|
|
|
|
GNOME_MTREE= BSD.gnome.dist
|
|
GNOME_MTREE_ARGS=${MTREE_ARGS:S|${MTREE_FILE}|${PREFIX}/etc/mtree/${GNOME_MTREE}|}
|
|
|
|
do-fetch:
|
|
@${DO_NADA}
|
|
|
|
pre-install:
|
|
@${CP} -f ${FILESDIR}/dirlist ${WRKDIR}
|
|
@${RM} -f ${PLIST} ${WRKDIR}/${GNOME_MTREE}
|
|
@${TOUCH} -f ${PLIST}
|
|
@${ECHO_CMD} etc/mtree/${GNOME_MTREE} >> ${PLIST}
|
|
@${MKDIR} ${WRKSRC}
|
|
@${CAT} ${FILESDIR}/dirlist | ${SORT} -r | ${SED} -e \
|
|
's|^|@dirrm |' >> ${PLIST}
|
|
@${ECHO_CMD} "@unexec ${RMDIR} %D/etc/mtree 2>/dev/null || ${TRUE}" >> ${PLIST}
|
|
@for dir in `${CAT} ${WRKDIR}/dirlist`; \
|
|
do \
|
|
${MKDIR} ${WRKSRC}/$${dir}; \
|
|
done
|
|
@${SED} -e 's|%%MTREE_ARGS%%|${GNOME_MTREE_ARGS}|' \
|
|
< ${FILESDIR}/pkg-install.in > ${PKGINSTALL}
|
|
|
|
pre-su-install:
|
|
cd ${WRKSRC} && \
|
|
${MTREE_CMD} -U -d -n -i -c -k "uname, gname, mode" | \
|
|
${SED} -e 's|uname=[A-Za-z0-9_]*|uname=root|' \
|
|
-e 's|gname=[A-Za-z0-9_]*|gname=wheel|' \
|
|
> ${WRKDIR}/${GNOME_MTREE}
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/etc/mtree
|
|
${INSTALL_DATA} ${WRKDIR}/${GNOME_MTREE} ${PREFIX}/etc/mtree
|
|
|
|
post-install:
|
|
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
.include <bsd.port.mk>
|