diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2005-06-22 12:10:36 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2005-06-22 12:10:36 +0000 |
commit | f3cd77a5257ef8c90839389226af103df94a195f (patch) | |
tree | 326bfa5f97b97646ed674cf6552d8d14f776c8df /x11-wm/novawm | |
parent | 2022b314019de7166045015797b1550348429a38 (diff) | |
download | ports-f3cd77a5257ef8c90839389226af103df94a195f.tar.gz ports-f3cd77a5257ef8c90839389226af103df94a195f.zip |
Fix permissions in post-extract: target instead of pre-clean: -- it makes
things less cumbersome.
Notes
Notes:
svn path=/head/; revision=137860
Diffstat (limited to 'x11-wm/novawm')
-rw-r--r-- | x11-wm/novawm/Makefile | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/x11-wm/novawm/Makefile b/x11-wm/novawm/Makefile index c922928a2ba0..ae8b74f902cd 100644 --- a/x11-wm/novawm/Makefile +++ b/x11-wm/novawm/Makefile @@ -30,6 +30,10 @@ PLIST_FILES= bin/novawm PORTDOCS= AUTHORS ChangeLog INSTALL README TODO .endif +post-extract: + @${CHMOD} -R +w ${WRKSRC}/src/xpm/.xvpics + @${CHMOD} -R +w ${WRKSRC}/.xvpics + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin .if !defined(NOPORTDOCS) @@ -39,12 +43,4 @@ do-install: .endfor .endif -pre-clean: - @-if [ -e ${WRKSRC}/src/xpm/.xvpics ]; then \ - ${CHMOD} -R +w ${WRKSRC}/src/xpm/.xvpics 2>/dev/null; \ - fi - @-if [ -e ${WRKSRC}/.xvpics ]; then \ - ${CHMOD} -R +w ${WRKSRC}/.xvpics 2>/dev/null; \ - fi - .include <bsd.port.mk> |