aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/menumaker
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-12 03:12:46 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-12 03:12:46 +0800
commite5b4b5ba47568087800e16bab9075f02d577c17d (patch)
tree42c0c63046a5dcf651241e8c314b560341151d83 /deskutils/menumaker
parent898a23e46b96f6b124e4def43652e83c51aac799 (diff)
downloadfreebsd-ports-gnome-e5b4b5ba47568087800e16bab9075f02d577c17d.tar.gz
freebsd-ports-gnome-e5b4b5ba47568087800e16bab9075f02d577c17d.tar.zst
freebsd-ports-gnome-e5b4b5ba47568087800e16bab9075f02d577c17d.zip
- Add LICENSE
- Add NO_ARCH - Fix staging from plain user Approved by: portmgr blanket
Diffstat (limited to 'deskutils/menumaker')
-rw-r--r--deskutils/menumaker/Makefile4
-rw-r--r--deskutils/menumaker/files/patch-Makefile.in10
2 files changed, 14 insertions, 0 deletions
diff --git a/deskutils/menumaker/Makefile b/deskutils/menumaker/Makefile
index 3bad8509c7d6..ba20760495a6 100644
--- a/deskutils/menumaker/Makefile
+++ b/deskutils/menumaker/Makefile
@@ -9,8 +9,12 @@ MASTER_SITES= SF/${PORTNAME}
MAINTAINER= jgh@FreeBSD.org
COMMENT= Menu generator for X Window Managers and desktop environments
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYING
+
USES= gmake python:2.7+
GNU_CONFIGURE= yes
+NO_ARCH= yes
INFO= mmaker
diff --git a/deskutils/menumaker/files/patch-Makefile.in b/deskutils/menumaker/files/patch-Makefile.in
new file mode 100644
index 000000000000..425cc3c15096
--- /dev/null
+++ b/deskutils/menumaker/files/patch-Makefile.in
@@ -0,0 +1,10 @@
+--- Makefile.in.orig 2015-06-23 10:18:34 UTC
++++ Makefile.in
+@@ -835,6 +835,7 @@ uninstall-am: uninstall-dist_binSCRIPTS
+
+
+ install-exec-local :
++ -chmod u+w $(DESTDIR)/$(bindir)/mmaker
+ echo "#!/usr/bin/env $(PYTHON_BIN)" > $(DESTDIR)/$(bindir)/mmaker
+ echo "import sys; sys.path = ['$(pkgdatadir)'] + sys.path" >> $(DESTDIR)/$(bindir)/mmaker
+ echo "import MenuMaker.CLI" >> $(DESTDIR)/$(bindir)/mmaker