cb8b1428c6
- kdebindings ports have been renamed to match upstream. - kdemultimedia and kdenetwork have been split. - New port games/pairs added. - Trim Makefile header - Convert to new option framework - New USE_KDE4 components: libkcddb, libkcompactdisc - Update: databases/akonadi to 1.9.0 devel/grantlee to 0.3.0 textproc/rasqal to 0.9.30 textproc/redland-bindings to 1.0.16.1 textproc/soprano to 2.9.0 x11-toolkits/attica to 0.4.1 The area51 repository features commits by Schaich Alonso, avilla, dbn, jhale, makc and rakuco. Contributors: - Oleg Sidorkin - Tobias Berner - Kurt Jaeger
43 lines
895 B
Makefile
43 lines
895 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= shared-mime-info
|
|
PORTVERSION= 1.2
|
|
CATEGORIES= misc kde
|
|
MASTER_SITES= # none
|
|
PKGNAMEPREFIX= kde4-
|
|
DISTNAME= # none
|
|
EXTRACT_SUFX= # none
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Handles shared MIME database under $${KDE4_PREFIX}
|
|
|
|
RUN_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info
|
|
|
|
USE_KDE4= kdeprefix kdehier
|
|
|
|
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>
|