568f8e877f
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!
48 lines
1,020 B
Makefile
48 lines
1,020 B
Makefile
# New ports collection makefile for: kde4-shared-mime-info
|
|
# Date created: 2008-07-07
|
|
# Whom: Max Brazhnikov <makc@issp.ac.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= shared-mime-info
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= misc kde
|
|
MASTER_SITES= # none
|
|
PKGNAMEPREFIX= kde4-
|
|
DISTNAME= # none
|
|
EXTRACT_SUFX= # none
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Handles shared MIME database under $${KDE_PREFIX}
|
|
|
|
RUN_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info
|
|
|
|
USE_KDE4= kdeprefix
|
|
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
|
|
MIMESUBDIRS= application audio image inode message model multipart \
|
|
packages text video x-epoc x-content
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${KDE4_PREFIX} != ${LOCALBASE}
|
|
PLIST_SUB+= HACK=""
|
|
.else
|
|
PLIST_SUB+= HACK="@comment "
|
|
.endif
|
|
|
|
do-install:
|
|
.if ${KDE4_PREFIX} != ${LOCALBASE}
|
|
.for dir in ${MIMESUBDIRS}
|
|
${MKDIR} ${KDE4_PREFIX}/share/mime/${dir}
|
|
${TOUCH} ${KDE4_PREFIX}/share/mime/${dir}/.keep_me
|
|
.endfor
|
|
@-update-mime-database ${KDE4_PREFIX}/share/mime
|
|
.else
|
|
${DO_NADA}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|