freebsd-ports/misc/kdehier4/Makefile
Martin Wilke 568f8e877f The KDE FreeBSD team is proud to announce the release of KDE 4.1.0
for FreeBSD. The official KDE 4.1.0 release notes can be found at
http://www.kde.org/announcements/4.1/.

Some note:

* Prefix
KDE4 will be install into a custom prefixes namely ${LOCALBASE}/kde4.
KDE4 and KDE3 can co-exist

* Sound
For sound to work, it is necessary to have dbus and hal enabled
in your system. Please see the respective documentation on how
to enable these.

For more Informations see the HEADS UP at ports@ and kde-freebsd@
or our wiki page http://wiki.freebsd.org/KDE4/Install.

Have fun!
2008-08-09 16:52:28 +00:00

49 lines
1.1 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
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=""
.else
PLIST_SUB+= MTREE="@comment "
.endif
do-fetch:
@${DO_NADA}
do-install:
@for dir in `${GREP} -v "^@comment" ${FILESDIR}/dirlist`; \
do \
${MKDIR} ${PREFIX}/$${dir}; \
${TOUCH} ${PREFIX}/$${dir}/.keep_me; \
done
.if ${KDE4_PREFIX} != ${LOCALBASE}
@for dir in `${GREP} -v "^@comment" ${FILESDIR}/mtree-dirlist`; \
do \
${MKDIR} ${PREFIX}/$${dir}; \
${TOUCH} ${PREFIX}/$${dir}/.keep_me; \
done
${LN} -sf ${LOCALBASE}/${LDCONFIG_DIR} ${KDE4_PREFIX}/libdata/
${LN} -sf ${LOCALBASE}/${LDCONFIG32_DIR} ${KDE4_PREFIX}/libdata/
${LN} -sf ${LOCALBASE}/libdata/pkgconfig ${KDE4_PREFIX}/libdata/
.endif
.include <bsd.port.post.mk>