summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/leafpad/Makefile1
-rw-r--r--editors/leafpad/pkg-plist2
2 files changed, 3 insertions, 0 deletions
diff --git a/editors/leafpad/Makefile b/editors/leafpad/Makefile
index d64653fd6d60..9a5d8432e355 100644
--- a/editors/leafpad/Makefile
+++ b/editors/leafpad/Makefile
@@ -7,6 +7,7 @@
PORTNAME= leafpad
PORTVERSION= 0.7.6
+PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/editors/leafpad/pkg-plist b/editors/leafpad/pkg-plist
index b05956bfd986..903845c34cac 100644
--- a/editors/leafpad/pkg-plist
+++ b/editors/leafpad/pkg-plist
@@ -15,3 +15,5 @@ share/gnome/pixmaps/leafpad.png
%%NLS:%%share/locale/zh_CN/LC_MESSAGES/leafpad.mo
%%NLS:%%share/locale/zh_TW/LC_MESSAGES/leafpad.mo
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@exec update-mime-database %D/share/mime
+@unexec update-mime-database %D/share/mime