[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkglint

Annotation of pkgsrc/pkgtools/pkglint/Makefile, Revision 1.309

1.309   ! rillig      1: # $NetBSD: Makefile,v 1.308 2005/11/24 08:05:01 rillig Exp $
1.1       tsarna      2: #
                      3:
1.309   ! rillig      4: DISTNAME=      pkglint-4.46
1.305     rillig      5: CATEGORIES=    pkgtools
1.112     zuntum      6: MASTER_SITES=  # empty
                      7: DISTFILES=     # empty
1.1       tsarna      8:
1.230     rillig      9: MAINTAINER=    rillig@NetBSD.org
1.238     rillig     10: HOMEPAGE=      http://www.netbsd.org/Documentation/pkgsrc/
1.112     zuntum     11: COMMENT=       Verifier for NetBSD packages and complete pkgsrc tree
1.101     hubertf    12:
1.305     rillig     13: DEPENDS+=      p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
1.1       tsarna     14:
1.174     jlam       15: PKG_INSTALLATION_TYPES=        overwrite pkgviews
1.1       tsarna     16:
1.245     jlam       17: USE_TOOLS+=    perl:run
1.174     jlam       18:
1.176     agc        19: WRKSRC=                ${WRKDIR}
1.1       tsarna     20: NO_CHECKSUM=   yes
1.238     rillig     21: NO_BUILD=      yes
1.178     markd      22: USE_LANGUAGES= # empty
1.1       tsarna     23:
1.216     rillig     24: INSTALLATION_DIRS=     bin man/cat1 man/man1 share/pkglint
1.174     jlam       25:
1.207     wiz        26: SUBST_CLASSES+=                pkglint
1.240     rillig     27: SUBST_STAGE.pkglint=   post-configure
1.207     wiz        28: SUBST_FILES.pkglint+=  lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl
                     29: SUBST_FILES.pkglint+=  pkglint.0 pkglint.1 pkglint.pl
1.302     rillig     30: .if defined(BATCH)
                     31: SUBST_SED.pkglint+=    -e 's|@PKGSRCDIR@|/usr/pkgsrc|g'
                     32: .else
                     33: SUBST_SED.pkglint+=    -e 's|@PKGSRCDIR@|${PKGSRCDIR}|g'
                     34: .endif
1.207     wiz        35: SUBST_SED.pkglint+=    -e 's|@PREFIX@|${PREFIX}|g'
1.240     rillig     36: SUBST_SED.pkglint+=    -e 's|@DISTVER@|${DISTNAME:S/pkglint-//}|g'
1.207     wiz        37: SUBST_SED.pkglint+=    -e 's|@MAKE@|${MAKE}|g'
                     38: SUBST_SED.pkglint+=    -e 's|@PERL@|${PERL5}|g'
1.216     rillig     39: SUBST_SED.pkglint+=    -e 's|@DATADIR@|${PREFIX}/share/pkglint|g'
1.180     jschauma   40:
1.8       agc        41: .include "../../mk/bsd.prefs.mk"
                     42:
1.186     jschauma   43: do-extract:
1.292     rillig     44: .for f in lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl pkglint.0 pkglint.1 pkglint.pl plist-clash.pl
1.244     rillig     45:        @${CP} ${FILESDIR}/${f} ${WRKSRC}/${f}
1.186     jschauma   46: .endfor
                     47:
1.1       tsarna     48: do-install:
1.180     jschauma   49:        ${INSTALL_SCRIPT} ${WRKSRC}/pkglint.pl ${PREFIX}/bin/pkglint
                     50:        ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc.pl ${PREFIX}/bin/lintpkgsrc
                     51:        ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash.pl ${PREFIX}/bin/plist-clash
1.9       abs        52:        ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.0 ${PREFIX}/man/cat1
1.238     rillig     53: .if !empty(MANINSTALL:Mmaninstall)
1.9       abs        54:        ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.1 ${PREFIX}/man/man1
1.238     rillig     55:        ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1
                     56: .endif
1.9       abs        57:        ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${PREFIX}/man/cat1
1.216     rillig     58:        ${INSTALL_DATA} ${FILESDIR}/makevars.map ${PREFIX}/share/pkglint/
1.232     rillig     59:        ${INSTALL_DATA} ${FILESDIR}/deprecated.map ${PREFIX}/share/pkglint/
1.1       tsarna     60:
1.247     rillig     61: post-install:
1.297     rillig     62:        ${PREFIX}/bin/pkglint -q 1>&2
1.247     rillig     63:
1.1       tsarna     64: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>