diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-11 19:12:46 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-11 19:12:46 +0000 |
commit | 4a4337dfe97661bece227aea6604a90289a57ae6 (patch) | |
tree | 42c0c63046a5dcf651241e8c314b560341151d83 /deskutils/menumaker | |
parent | 1dd031a9a4c350431a2d23de3cf306c6e33bb5a7 (diff) | |
download | ports-4a4337dfe97661bece227aea6604a90289a57ae6.tar.gz ports-4a4337dfe97661bece227aea6604a90289a57ae6.zip |
Notes
Diffstat (limited to 'deskutils/menumaker')
-rw-r--r-- | deskutils/menumaker/Makefile | 4 | ||||
-rw-r--r-- | deskutils/menumaker/files/patch-Makefile.in | 10 |
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 |