diff options
author | marino <marino> | 2011-12-16 17:18:52 +0000 |
---|---|---|
committer | marino <marino> | 2011-12-16 17:18:52 +0000 |
commit | 8b67661a314b9a3d725388f352612bc69f3c7225 (patch) | |
tree | 6d9635c3ea71df7994f0279fc9a02bbf74fb6fc0 /lang | |
parent | b200bb18e54c6261d9888ee7ca737187529d4f8c (diff) | |
download | pkgsrc-8b67661a314b9a3d725388f352612bc69f3c7225.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')
-rw-r--r-- | lang/p2c/Makefile | 9 |
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" |