diff options
author | tron <tron> | 2002-09-25 06:37:19 +0000 |
---|---|---|
committer | tron <tron> | 2002-09-25 06:37:19 +0000 |
commit | d68b813db63becaffde01755bd4932f4d981555b (patch) | |
tree | 33e18e7c79cd08d46e1d7eaf01d9fb08e8fb1c54 /lang | |
parent | 8fd506a29ac58bccd6aead1897fe8a67eb26413b (diff) | |
download | pkgsrc-d68b813db63becaffde01755bd4932f4d981555b.tar.gz |
Use appropriate permissions for installed example files.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/bwbasic/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lang/bwbasic/Makefile b/lang/bwbasic/Makefile index dcab76faa81..25f7b85c3dd 100644 --- a/lang/bwbasic/Makefile +++ b/lang/bwbasic/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2002/05/20 10:39:36 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2002/09/25 06:37:19 tron Exp $ DISTNAME= bwbasic-2.20 WRKSRC= ${WRKDIR}/bwbasic-2.20p2/${PKGNAME_NOREV} @@ -13,9 +13,13 @@ COMMENT= The Bywater Basic interpreter DIST_SUBDIR= ${PKGNAME_NOREV} GNU_CONFIGURE= yes +SHARE_DIR= ${PREFIX}/share/bwbasic + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/bwbasic - ${CP} -r ${WRKSRC}/bwbtest ${PREFIX}/share/bwbasic/ + ${INSTALL_DATA_DIR} ${SHARE_DIR} + ${CP} -r ${WRKSRC}/bwbtest ${SHARE_DIR} + ${FIND} ${SHARE_DIR} -type d | ${XARGS} ${CHMOD} ${BINMODE} + ${FIND} ${SHARE_DIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE} ${INSTALL_MAN} ${WRKSRC}/bwbasic.doc ${PREFIX}/man/man1/bwbasic.1 .include "../../mk/bsd.pkg.mk" |