pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-game Fix permissions of installed files.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c27202e02e4d
branches:  trunk
changeset: 392158:c27202e02e4d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Apr 27 17:08:48 2009 +0000

description:
Fix permissions of installed files.
Bump PKGREVISION.

Set LICENSE to gnu-lgpl-v2.1.

diffstat:

 devel/py-game/Makefile |  14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diffs (39 lines):

diff -r 4e085ea5b1d2 -r c27202e02e4d devel/py-game/Makefile
--- a/devel/py-game/Makefile    Mon Apr 27 16:25:30 2009 +0000
+++ b/devel/py-game/Makefile    Mon Apr 27 17:08:48 2009 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.12 2008/11/18 12:42:32 drochner Exp $
+# $NetBSD: Makefile,v 1.13 2009/04/27 17:08:48 wiz Exp $
 #
 
 DISTNAME=              pygame-1.8.1release
 PKGNAME=               ${PYPKGPREFIX}-game-1.8.1
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            devel
 MASTER_SITES=          http://pygame.org/ftp/
 
@@ -11,6 +11,8 @@
 HOMEPAGE=              http://pygame.org/
 COMMENT=               Set of Python modules designed for writing games
 
+LICENSE=               gnu-lgpl-v2.1
+
 PKG_DESTDIR_SUPPORT=   user-destdir
 
 PY_PATCHPLIST=         yes
@@ -20,6 +22,14 @@
 post-extract:
        ${CHMOD} go+r ${WRKSRC}/lib/*
 
+post-install:
+       ${CHMOD} 644 ${DESTDIR}${PREFIX}/${PYINC}/pygame/*.h
+       ${CHMOD} 644 ${DESTDIR}${PREFIX}/${PYSITELIB}/pygame/*.bmp
+       ${CHMOD} 644 ${DESTDIR}${PREFIX}/${PYSITELIB}/pygame/*.ico
+       ${CHMOD} 644 ${DESTDIR}${PREFIX}/${PYSITELIB}/pygame/*.icns
+       ${CHMOD} 644 ${DESTDIR}${PREFIX}/${PYSITELIB}/pygame/*.ttf
+       ${CHMOD} 644 ${DESTDIR}${PREFIX}/${PYSITELIB}/pygame/*.tiff
+
 .include "../../audio/SDL_mixer/buildlink3.mk"
 .include "../../devel/SDL_ttf/buildlink3.mk"
 .include "../../graphics/SDL_image/buildlink3.mk"



Home | Main Index | Thread Index | Old Index