mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
24482eebf1
- kdegames4 port has been split. - kdeutils4-printer-applet and system-config-printer-kde have been replaced by print/kde4-print-manager. - Recover misc/kde4-l10n-mr from attic. - New USE_KDE4 components: kactivities, libkdegames, nepomuk-core, and nepomuk-widgets. - Provide sharedmime component with magic: ports don't need to run update-mime-database themselves now. - Switch some ports to out-of-source build. - Update port comments. - Adjust dependence on Qt4 components. - x11/kde4 installs modern kdepim4 now. - Remove redundant aspell and hspell from kdelibs4, both can be enabled in textproc/enchant if needed. - Remove stale bits from bsd.kde4.mk The area51 repository features commits by Schaich Alonso and myself. Contributors: - Tobias Berner
62 lines
1.6 KiB
Makefile
62 lines
1.6 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= kdehier4
|
|
PORTVERSION= 1.0.11
|
|
CATEGORIES= misc kde
|
|
MASTER_SITES= # none
|
|
DISTFILES= # none
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Hierarchy of shared directories for KDE 4 ports
|
|
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
USE_KDE4= kdeprefix
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${KDE4_PREFIX} != ${LOCALBASE}
|
|
PLIST_SUB+= MTREE="" \
|
|
LDCONFIG_DIR="${LDCONFIG_DIR}" \
|
|
LDCONFIG32_DIR="${LDCONFIG32_DIR}"
|
|
SUB_FILES= session-kde4.conf \
|
|
system-kde4.conf
|
|
SUB_LIST= KDE4_PREFIX="${KDE4_PREFIX}"
|
|
.else
|
|
PLIST_SUB+= MTREE="@comment "
|
|
.endif
|
|
|
|
do-fetch:
|
|
@${DO_NADA}
|
|
|
|
do-install:
|
|
@for dir in `${GREP} -v "^@comment" ${FILESDIR}/dirlist`; \
|
|
do \
|
|
${MKDIR} ${PREFIX}/$${dir}; \
|
|
done
|
|
.if ${KDE4_PREFIX} != ${LOCALBASE}
|
|
@for dir in `${GREP} -v "^@comment" ${FILESDIR}/mtree-dirlist`; \
|
|
do \
|
|
${MKDIR} ${PREFIX}/$${dir}; \
|
|
done
|
|
${MKDIR} ${LOCALBASE}/etc/dbus-1
|
|
${INSTALL_DATA} ${WRKDIR}/session-kde4.conf ${LOCALBASE}/etc/dbus-1
|
|
${INSTALL_DATA} ${WRKDIR}/system-kde4.conf ${LOCALBASE}/etc/dbus-1
|
|
. for dir in pam.d polkit-1 rc.d
|
|
${LN} -sf ${LOCALBASE}/etc/${dir} ${KDE4_PREFIX}/etc/
|
|
. endfor
|
|
${LN} -sf ${LOCALBASE}/${LDCONFIG_DIR} ${KDE4_PREFIX}/libdata/
|
|
${ECHO_CMD} ${KDE4_PREFIX}/lib > ${LOCALBASE}/${LDCONFIG_DIR}/kdehier4
|
|
${LN} -sf ${LOCALBASE}/${LDCONFIG32_DIR} ${KDE4_PREFIX}/libdata/
|
|
${LN} -sf ${LOCALBASE}/libdata/pkgconfig ${KDE4_PREFIX}/libdata/
|
|
. for dir in services system-services
|
|
${LN} -sf ${LOCALBASE}/share/dbus-1/${dir} ${KDE4_PREFIX}/share/dbus-1/
|
|
. endfor
|
|
${LN} -sf ${LOCALBASE}/share/polkit-1/actions ${KDE4_PREFIX}/share/polkit-1/
|
|
.endif
|
|
|
|
maintainer-generate-plist:
|
|
cd ${FILESDIR} && ${SH} make-plist.sh
|
|
|
|
.include <bsd.port.post.mk>
|