Avoid @sample for the shell scripts, it doesn't copy permissions

so the installed files are no longer executable. Problem reported
by Joe Gidi. ok marco@ (maintainer)
This commit is contained in:
sthen 2009-10-22 22:15:56 +00:00
parent 35051bdde3
commit 9704c22652
2 changed files with 9 additions and 11 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.12 2009/10/21 12:37:31 marco Exp $
# $OpenBSD: Makefile,v 1.13 2009/10/22 22:15:56 sthen Exp $
COMMENT= small tiling window manager
SHARED_LIBS= swmhack 0.0
DISTNAME= scrotwm-0.9.18
PKGNAME= ${DISTNAME}p0
EXTRACT_SUFX= .tgz
CATEGORIES= x11
@ -34,9 +35,9 @@ pre-configure:
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/scrotwm
${INSTALL_SCRIPT} ${WRKSRC}/baraction.sh ${PREFIX}/share/examples/scrotwm
${INSTALL_SCRIPT} ${WRKSRC}/initscreen.sh ${PREFIX}/share/examples/scrotwm
${INSTALL_SCRIPT} ${WRKSRC}/screenshot.sh ${PREFIX}/share/examples/scrotwm
${INSTALL_SCRIPT} ${WRKSRC}/baraction.sh ${PREFIX}/share/scrotwm
${INSTALL_SCRIPT} ${WRKSRC}/initscreen.sh ${PREFIX}/share/scrotwm
${INSTALL_SCRIPT} ${WRKSRC}/screenshot.sh ${PREFIX}/share/scrotwm
${INSTALL_DATA} ${WRKSRC}/scrotwm.conf ${PREFIX}/share/examples/scrotwm
.for i in es it
${INSTALL_DATA_DIR} ${PREFIX}/man/$i/cat1

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2009/10/13 12:24:42 sthen Exp $
@comment $OpenBSD: PLIST,v 1.3 2009/10/22 22:15:56 sthen Exp $
%%SHARED%%
@bin bin/scrotwm
@man man/cat1/scrotwm.0
@ -10,11 +10,8 @@ man/it/cat1/
@man man/it/cat1/scrotwm.0
share/examples/scrotwm/
@sample share/scrotwm/
share/examples/scrotwm/baraction.sh
@sample share/scrotwm/baraction.sh
share/examples/scrotwm/initscreen.sh
@sample share/scrotwm/initscreen.sh
share/examples/scrotwm/screenshot.sh
@sample share/scrotwm/screenshot.sh
share/scrotwm/baraction.sh
share/scrotwm/initscreen.sh
share/scrotwm/screenshot.sh
share/examples/scrotwm/scrotwm.conf
@sample ${SYSCONFDIR}/scrotwm.conf