[csw-devel] SF.net SVN: gar:[9798] csw/mgar/pkg/password-gorilla/trunk/Makefile

skayser at users.sourceforge.net skayser at users.sourceforge.net
Sat May 1 00:45:13 CEST 2010


Revision: 9798
          http://gar.svn.sourceforge.net/gar/?rev=9798&view=rev
Author:   skayser
Date:     2010-04-30 22:45:13 +0000 (Fri, 30 Apr 2010)

Log Message:
-----------
password-gorilla: fix permissions

Modified Paths:
--------------
    csw/mgar/pkg/password-gorilla/trunk/Makefile

Modified: csw/mgar/pkg/password-gorilla/trunk/Makefile
===================================================================
--- csw/mgar/pkg/password-gorilla/trunk/Makefile	2010-04-30 19:14:55 UTC (rev 9797)
+++ csw/mgar/pkg/password-gorilla/trunk/Makefile	2010-04-30 22:45:13 UTC (rev 9798)
@@ -25,21 +25,24 @@
 CONFIGURE_ARGS  = $(DIRPATHS)
 CONFIGURE_ARGS += -with-wish=$(bindir)/tclsh
 
+BUILD_SCRIPTS   =
 INSTALL_SCRIPTS = custom
 TEST_SCRIPTS    =
 
 include gar/category.mk
 
 install-custom: TCLPKGS = twofish blowfish sha1 pwsafe
-install-custom: TCLDEST = $(DESTDIR)$(datadir)/password-gorilla/
+install-custom: TCLDEST = $(DESTDIR)$(datadir)/password-gorilla
 install-custom:
 	$(foreach P,$(TCLPKGS),\
-		mkdir -p $(TCLDEST)$(P); \
-		cp -r $(WORKSRC)/$(P) $(TCLDEST)$(P); \
+		mkdir -p $(TCLDEST)/$(P); \
+		cp $(WORKSRC)/$(P)/* $(TCLDEST)/$(P); \
+		chmod 644 $(TCLDEST)/$(P)/*; \
 	)
 	cp $(WORKSRC)/gorilla $(WORKSRC)/gorilla.tcl $(TCLDEST)
 	mkdir -p $(DESTDIR)$(bindir)
 	echo '#!/bin/sh\nexec $(datadir)/password-gorilla/gorilla' > \
 		$(DESTDIR)$(bindir)/password-gorilla
 	chmod 755 $(DESTDIR)$(bindir)/password-gorilla
+	chmod 644 $(WORKSRC)/$(LICENSE)
 	$(MAKECOOKIE)


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list