1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00

- Add missing sharedmime to the list of USE_KDE4 components. It will be

superseded by recently introduced USES= shared-mime-info later.
- Remove no longer needed exec/unexec from plist and post-install calls for
  update-mime-database
- Trim Makefile header while I'm here
This commit is contained in:
Max Brazhnikov 2013-05-12 16:16:56 +00:00
parent 36897c327b
commit 5fdd545013
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317967
21 changed files with 6 additions and 50 deletions

View File

@ -13,7 +13,7 @@ COMMENT= Virtual globe and world atlas for KDE
CONFLICTS= kdeedu-4.4.[0-4]
USE_KDE4= kdehier kdelibs kdeprefix automoc4
USE_KDE4= kdehier kdelibs kdeprefix automoc4 sharedmime
USES= cmake:outsource
USE_QT4= corelib dbus declarative designer_build gui network phonon \
qtestlib script sql svg webkit xml \

View File

@ -103,5 +103,3 @@ share/mime/packages/kdepim-mime.xml
@dirrmtry share/apps/akonadi
@dirrm share/akonadi/agents
@dirrm share/akonadi
@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true

View File

@ -54,7 +54,4 @@ post-patch:
${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d; /SharedMimeInfo/ d' \
${PATCH_WRKSRC}/app/CMakeLists.txt
post-install:
@-update-mime-database ${PREFIX}/share/mime
.include <bsd.port.mk>

View File

@ -550,5 +550,3 @@ share/mime/packages/kdevelop.xml
@dirrmtry share/apps/kdevappwizard
@dirrm include/kdevelop/make
@dirrm include/kdevelop
@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true

View File

@ -32,5 +32,3 @@ share/locale/it/LC_MESSAGES/piklab.mo
%%KDE4%%@dirrm share/doc/HTML/en/piklab
%%KDE4%%@dirrm share/apps/piklab/pics
%%KDE4%%@dirrm share/apps/piklab
%%KDE4%%@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true
%%KDE4%%@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true

View File

@ -1652,5 +1652,3 @@ share/mime/text/x-kilepr.xml
@dirrm share/apps/kile/complete/abbreviation
@dirrm share/apps/kile/complete
@dirrm share/apps/kile
@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true

View File

@ -1422,5 +1422,3 @@ share/mime/packages/x-kmymoney.xml
%%CALENDAR%%@dirrm share/apps/kmm_icalendarexport
@dirrm share/apps/kmm_csvimport
@dirrm include/kmymoney
@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true

View File

@ -25,7 +25,4 @@ MAKE_JOBS_SAFE= yes
PLIST_SUB= VERSION=${PORTVERSION}
post-install:
@-update-mime-database ${KDE4_PREFIX}/share/mime
.include <bsd.port.mk>

View File

@ -643,5 +643,3 @@ share/mime/packages/x-skg.xml
@dirrmtry share/akonadi
@dirrmtry lib/kde4/plugins/grantlee/0.3
@dirrmtry lib/kde4/plugins/grantlee
@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true

View File

@ -67,7 +67,7 @@ USE_QT4+= webkit
CMAKE_ARGS+= -DWITHOUT_QTWEBKIT=yes
. endif
.else #defined(PKGNAMESUFFIX)
USE_KDE4= kdelibs automoc4 kdeprefix
USE_KDE4= kdelibs automoc4 kdeprefix sharedmime
PLIST_SUB+= QT="@comment " KDE=""
.endif #defined(PKGNAMESUFFIX)

View File

@ -2318,5 +2318,3 @@ share/pixmaps/kvirc.png
@dirrm lib/kvirc/%%VER%%/modules
@dirrm lib/kvirc/%%VER%%
@dirrm lib/kvirc
%%KDE%%@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true
%%KDE%%@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true

View File

@ -1,9 +1,4 @@
# ports collection makefile for: krecipies
# Date created: 19 March 2005
# Whom: hank
#
# $FreeBSD$
#
PORTNAME= krecipes
DISTVERSION= 2.0-beta2

View File

@ -254,5 +254,3 @@ share/mime/packages/krecipes-mime.xml
@dirrm share/apps/krecipes/layouts
@dirrm share/apps/krecipes/data
@dirrm share/apps/krecipes
@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true

View File

@ -22,7 +22,7 @@ LATEST_LINK= ${PORTNAME}-kde4
USE_BZIP2= yes
USE_KDE4= kdehier kdelibs kdeprefix libksane pimlibs \
automoc4 qimageblitz libkcddb
automoc4 qimageblitz libkcddb sharedmime
USE_QT4= qmake_build moc_build uic_build rcc_build
USES= cmake gettext
MAKE_JOBS_SAFE= yes

View File

@ -72,7 +72,4 @@ post-patch:
${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d; /SharedMimeInfo/ d' \
${PATCH_WRKSRC}/src/mimetypes/CMakeLists.txt
post-install:
@-update-mime-database ${PREFIX}/share/mime
.include <bsd.port.mk>

View File

@ -435,5 +435,3 @@ share/mime/packages/westley.xml
@dirrm share/apps/kdenlive/effects/update
@dirrm share/apps/kdenlive/effects
@dirrm share/apps/kdenlive
@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true

View File

@ -1,9 +1,4 @@
# New ports collection makefile for: subtitlecomposer
# Date created: 2008-01-08
# Whom: Max Brazhnikov <makc@issp.ac.ru>
#
# $FreeBSD$
#
PORTNAME= subtitlecomposer
PORTVERSION= 0.5.3
@ -16,7 +11,7 @@ COMMENT= Subtitle editor for KDE
USE_BZIP2= yes
USES= cmake
USE_KDE4= kdeprefix kdelibs automoc4
USE_KDE4= kdeprefix kdelibs automoc4 sharedmime
USE_QT4= gui qmake_build moc_build rcc_build uic_build
LATEST_LINK= ${PORTNAME}-kde4

View File

@ -15,7 +15,7 @@ LIB_DEPENDS= cddb:${PORTSDIR}/audio/libcddb \
cdio:${PORTSDIR}/sysutils/libcdio
USE_BZIP2= yes
USE_KDE4= automoc4 kdehier kdeprefix kdelibs
USE_KDE4= automoc4 kdehier kdeprefix kdelibs sharedmime
USE_QT4= corelib dbus gui network svg xml \
qmake_build uic_build rcc_build
USE_PERL5_BUILD=yes
@ -28,7 +28,4 @@ post-patch:
@${REINPLACE_CMD} -e \
'/libcdio/s|>=.*)|)|' ${WRKSRC}/src/CMakeLists.txt
post-install:
-update-mime-database ${PREFIX}/share/mime
.include <bsd.port.mk>

View File

@ -26,5 +26,3 @@ share/mime/packages/kover.xml
@dirrmtry share/icons/locolor/16x16
@dirrmtry share/icons/locolor
@dirrm share/apps/kover
@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime

View File

@ -21,7 +21,7 @@ USE_BZIP2= yes
USES= cmake
CMAKE_ARGS= -DK3B_BUILD_K3BSETUP:BOOL=OFF \
-DK3B_ENABLE_MUSICBRAINZ:BOOL=OFF
USE_KDE4= automoc4 kdeprefix kdelibs libkcddb
USE_KDE4= automoc4 kdeprefix kdelibs libkcddb sharedmime
USE_QT4= gui dbus network phonon qt3support sql svg webkit xml \
qmake_build moc_build rcc_build uic_build
USE_LDCONFIG= yes

View File

@ -638,5 +638,3 @@ share/mime/packages/x-k3b.xml
@dirrm share/apps/k3b/extra
@dirrm share/apps/k3b/cdi
@dirrm share/apps/k3b
@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true