- Add LICENSE

- Add NO_ARCH
- Fix staging from plain user

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-09-11 19:12:46 +00:00
parent 1dd031a9a4
commit 4a4337dfe9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=396708
2 changed files with 14 additions and 0 deletions

View file

@ -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

View file

@ -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