diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2011-09-09 19:56:29 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2011-09-09 19:56:29 +0000 |
commit | f161bba4dac32b7691325ab164b14cf1b8884468 (patch) | |
tree | 9b44391932e2eb3dd798026180de51a52a8a0fc0 /graphics | |
parent | a789e3bed253a75df53a22464b18c478cc89374e (diff) | |
download | ports-f161bba4dac32b7691325ab164b14cf1b8884468.tar.gz ports-f161bba4dac32b7691325ab164b14cf1b8884468.zip |
Notes
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 |