summaryrefslogtreecommitdiff
path: root/lang/p2c
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2011-12-16 17:18:52 +0000
committermarino <marino@pkgsrc.org>2011-12-16 17:18:52 +0000
commita359c9c94c5a4c3a8d5c84162d2f02ac7a415fc1 (patch)
tree6d9635c3ea71df7994f0279fc9a02bbf74fb6fc0 /lang/p2c
parentc2105cc10a765cf92b52b0a5f9232fdbc6722ba1 (diff)
downloadpkgsrc-a359c9c94c5a4c3a8d5c84162d2f02ac7a415fc1.tar.gz
lang/p2c: Fix WRKDIR permission, add license
For a reason I don't understand, the WRKDIR "work" directory ends up with file permissions of 777 and unknown user/group ownership. To make PKG_DEVELOPER=yes happy, changing the dir permission is enough.
Diffstat (limited to 'lang/p2c')
-rw-r--r--lang/p2c/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/p2c/Makefile b/lang/p2c/Makefile
index 9776ce4c0ea..b6b0b32b7b2 100644
--- a/lang/p2c/Makefile
+++ b/lang/p2c/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2009/09/03 13:14:10 joerg Exp $
+# $NetBSD: Makefile,v 1.12 2011/12/16 17:18:52 marino Exp $
DISTNAME= p2c-1.20
CATEGORIES= lang
@@ -7,6 +7,7 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Pascal to C compiler (translates Pascal to C)
+LICENSE= gnu-gpl-v1
PKG_DESTDIR_SUPPORT= user-destdir
@@ -15,4 +16,10 @@ CFLAGS+= -Dunix=1
INSTALL_MAKE_FLAGS= PREFIX=${DESTDIR}${PREFIX}
+.include "../../mk/bsd.prefs.mk"
+
+post-extract:
+ # fix work dir permissions, set to 777 after extraction (why?)
+ ${CHMOD} 755 ${WRKDIR}
+
.include "../../mk/bsd.pkg.mk"