mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
e9c34f4c34
Among changes: - Switch KDE4_PREFIX to ${LOCALBASE} - Remove now needless misc/kde4-shared-mime-info port - Add stage support - Remove ancient CONFLICTS (KDE 4.9 and less) and LATEST_LINK - Squeeze MASTER_SITES/MASTER_SITE_SUBDIR - Convert LIB_DEPENDS to new style - Use options helpers - Drop support for FreeBSD 7.x - Remove Qt/KDE 3 related workarounds - Remove local patches and use upstream version scheme for libraries - sysutils/kdeadmin4, net/kdenetwork4, devel/kdesdk4, and x11-clocks/kdetoys4 ports have been split. - devel/kcachegrind is now a part of KDE SC [1] - more logs in area51 repo... New ports: devel/kde-dev-scripts: KDE development scripts devel/kde-dev-utils: KDE development utilities games/klickety: Tetris themed solitaire games/picmi: Single player logic-based puzzle game textproc/libkomparediff2: Library to compare files and strings The area51 repository features commits by Schaich Alonso, avilla, rakuco and myself. PR: ports/186491 Exp-run: by bdrewery Approved by: beat (former maintainer) [1]
57 lines
1.6 KiB
Makefile
57 lines
1.6 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= kdehier4
|
|
PORTVERSION= 1.2
|
|
CATEGORIES= misc kde
|
|
DISTFILES= # none
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Hierarchy of shared directories for KDE 4 ports
|
|
|
|
NO_BUILD= yes
|
|
USE_LDCONFIG= ${KDE4_PREFIX}/lib
|
|
USE_KDE4= #
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${KDE4_PREFIX} != ${PREFIX}
|
|
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-install:
|
|
@for dir in `${GREP} -v "^@comment" ${FILESDIR}/dirlist`; \
|
|
do \
|
|
${MKDIR} ${STAGEDIR}${KDE4_PREFIX}/$${dir}; \
|
|
done
|
|
.if ${KDE4_PREFIX} != ${PREFIX}
|
|
@for dir in `${GREP} -v "^@comment" ${FILESDIR}/mtree-dirlist`; \
|
|
do \
|
|
${MKDIR} ${STAGEDIR}${KDE4_PREFIX}/$${dir}; \
|
|
done
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/etc/dbus-1
|
|
${INSTALL_DATA} ${WRKDIR}/session-kde4.conf ${STAGEDIR}${PREFIX}/etc/dbus-1
|
|
${INSTALL_DATA} ${WRKDIR}/system-kde4.conf ${STAGEDIR}${PREFIX}/etc/dbus-1
|
|
. for dir in pam.d polkit-1 rc.d
|
|
${LN} -sf ${PREFIX}/etc/${dir} ${STAGEDIR}${KDE4_PREFIX}/etc/
|
|
. endfor
|
|
${LN} -sf ${PREFIX}/${LDCONFIG_DIR} ${STAGEDIR}${KDE4_PREFIX}/libdata/
|
|
${LN} -sf ${PREFIX}/${LDCONFIG32_DIR} ${STAGEDIR}${KDE4_PREFIX}/libdata/
|
|
${LN} -sf ${PREFIX}/libdata/pkgconfig ${STAGEDIR}${KDE4_PREFIX}/libdata/
|
|
. for dir in services system-services
|
|
${LN} -sf ${PREFIX}/share/dbus-1/${dir} ${STAGEDIR}${KDE4_PREFIX}/share/dbus-1/
|
|
. endfor
|
|
${LN} -sf ${PREFIX}/share/polkit-1/actions ${STAGEDIR}${KDE4_PREFIX}/share/polkit-1/
|
|
.endif
|
|
|
|
maintainer-generate-plist:
|
|
cd ${FILESDIR} && ${SH} make-plist.sh
|
|
|
|
.include <bsd.port.post.mk>
|