Merge from vendor branch TNF:
[pkgsrcv2.git] / sysutils / checkperms / Makefile
1 # $NetBSD: Makefile,v 1.23 2010/04/20 16:01:38 tnn Exp $
2 #
3
4 DISTNAME=       checkperms-1.11
5 CATEGORIES=     sysutils
6 MASTER_SITES=   http://www.roland-illig.de/checkperms/
7
8 MAINTAINER=     pkgsrc-users@NetBSD.org
9 HOMEPAGE=       http://www.roland-illig.de/checkperms/
10 COMMENT=        Check and correct file permissions
11 LICENSE=        modified-bsd
12
13 PKG_DESTDIR_SUPPORT=    user-destdir
14 AUTO_MKDIRS=            yes
15
16 USE_BSD_MAKEFILE=       yes
17
18 .include "../../mk/bsd.prefs.mk"
19
20 # Avoid self-referential and circular dependencies.
21 CHECK_PERMS=            no
22 IGNORE_CCACHE=          yes
23 IGNORE_DISTCC=          yes
24
25 .if ${OPSYS} == "Linux"
26 MAKE_ENV+=      NOGCCERROR=yes          # see PR 35930
27 .endif
28
29 # Avoid catpage regeneration
30 post-extract:
31         echo ".PHONY: checkperms.cat1" >> ${WRKSRC}/Makefile
32         echo "checkperms.cat1:" >> ${WRKSRC}/Makefile
33         echo "" >> ${WRKSRC}/Makefile
34
35 .include "../../mk/bsd.pkg.mk"