diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/edje/Makefile | 4 | ||||
-rw-r--r-- | graphics/edje/pkg-plist | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/graphics/edje/Makefile b/graphics/edje/Makefile index 860f541b4997..1f926e3847a6 100644 --- a/graphics/edje/Makefile +++ b/graphics/edje/Makefile @@ -16,6 +16,7 @@ MAINTAINER= stas@FreeBSD.org COMMENT= Edje is a complex graphical design and layout engine LIB_DEPENDS= lua-5.1:${PORTSDIR}/lang/lua +RUN_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info LICENSE= BSD DIST_SUBDIR= e17 @@ -33,4 +34,7 @@ post-patch: @${REINPLACE_CMD} -E -e "/^SUBDIRS[[:space:]]+=/s/utils//" \ ${WRKSRC}/Makefile.in +post-install: + -update-mime-database ${PREFIX}/share/mime + .include <bsd.port.mk> diff --git a/graphics/edje/pkg-plist b/graphics/edje/pkg-plist index f24362213ce1..c73bf2e006d5 100644 --- a/graphics/edje/pkg-plist +++ b/graphics/edje/pkg-plist @@ -16,3 +16,5 @@ share/mime/packages/edje.xml @dirrm include/edje-1 @dirrm %%DATADIR%%/include @dirrm %%DATADIR%% +@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime +@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime |