freebsd-ports/misc/kdehier4/Makefile
Alberto Villa a2d3b5a4bc The KDE/FreeBSD team is pleased to announce KDE Software Compilation
4.7.2. The official release notes can be found at:
http://kde.org/announcements/announce-4.7.2.php
This release ships with many improvements. Read more about them here:
http://FreeBSD.kde.org/news.php#itemKDESC472availableinports

We'd like to say thanks to all testers and contributors, especially to
lwhsu@ for his effort on hosting our test packages.

PR:		156293 [1]
		159219 [2]
		160164 [3]
Submitted by:	Oleg Sidorkin <osidorkin@gmail.com> [1]
		Alvaro Castillo <gobledb@gmail.com> [2]
		dkeav04@gmail.com [3]
Tested by:	exp-run via pav
2011-10-17 00:03:42 +00:00

65 lines
1.8 KiB
Makefile

# New ports collection makefile for: kdehier4
# Date created: 2008-07-03
# Whom: Max Brazhnikov <makc@issp.ac.ru>
#
# $FreeBSD$
#
PORTNAME= kdehier4
PORTVERSION= 1.0.10
CATEGORIES= misc kde
MASTER_SITES= # none
DISTFILES= # none
MAINTAINER= kde@FreeBSD.org
COMMENT= Utility port that creates hierarchy of shared KDE4 directories
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
${LN} -sf ${LOCALBASE}/etc/pam.d ${KDE4_PREFIX}/etc/
${LN} -sf ${LOCALBASE}/etc/rc.d ${KDE4_PREFIX}/etc/
${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>