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

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

1.322   ! rillig      1: # $NetBSD: Makefile,v 1.321 2006/01/10 00:52:00 rillig Exp $
1.1       tsarna      2: #
                      3:
1.321     rillig      4: DISTNAME=      pkglint-4.52
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.317     rillig     13: DEPENDS+=      digest>=20010101:../../pkgtools/digest
1.305     rillig     14: DEPENDS+=      p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
1.1       tsarna     15:
1.174     jlam       16: PKG_INSTALLATION_TYPES=        overwrite pkgviews
1.1       tsarna     17:
1.245     jlam       18: USE_TOOLS+=    perl:run
1.174     jlam       19:
1.176     agc        20: WRKSRC=                ${WRKDIR}
1.1       tsarna     21: NO_CHECKSUM=   yes
1.238     rillig     22: NO_BUILD=      yes
1.178     markd      23: USE_LANGUAGES= # empty
1.1       tsarna     24:
1.216     rillig     25: INSTALLATION_DIRS=     bin man/cat1 man/man1 share/pkglint
1.174     jlam       26:
1.207     wiz        27: SUBST_CLASSES+=                pkglint
1.240     rillig     28: SUBST_STAGE.pkglint=   post-configure
1.207     wiz        29: SUBST_FILES.pkglint+=  lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl
                     30: SUBST_FILES.pkglint+=  pkglint.0 pkglint.1 pkglint.pl
1.322   ! rillig     31: SUBST_FILES.pkglint+=  plist-clash.pl
1.302     rillig     32: .if defined(BATCH)
                     33: SUBST_SED.pkglint+=    -e 's|@PKGSRCDIR@|/usr/pkgsrc|g'
                     34: .else
                     35: SUBST_SED.pkglint+=    -e 's|@PKGSRCDIR@|${PKGSRCDIR}|g'
                     36: .endif
1.207     wiz        37: SUBST_SED.pkglint+=    -e 's|@PREFIX@|${PREFIX}|g'
1.240     rillig     38: SUBST_SED.pkglint+=    -e 's|@DISTVER@|${DISTNAME:S/pkglint-//}|g'
1.207     wiz        39: SUBST_SED.pkglint+=    -e 's|@MAKE@|${MAKE}|g'
                     40: SUBST_SED.pkglint+=    -e 's|@PERL@|${PERL5}|g'
1.216     rillig     41: SUBST_SED.pkglint+=    -e 's|@DATADIR@|${PREFIX}/share/pkglint|g'
1.180     jschauma   42:
1.8       agc        43: .include "../../mk/bsd.prefs.mk"
                     44:
1.186     jschauma   45: do-extract:
1.320     rillig     46:        cd ${FILESDIR:Q} && ${CP} lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl pkglint.0 pkglint.1 pkglint.pl plist-clash.pl ${WRKSRC:Q}
1.186     jschauma   47:
1.1       tsarna     48: do-install:
1.320     rillig     49:        ${INSTALL_SCRIPT} ${WRKSRC:Q}/pkglint.pl ${PREFIX:Q}/bin/pkglint
                     50:        ${INSTALL_SCRIPT} ${WRKSRC:Q}/lintpkgsrc.pl ${PREFIX:Q}/bin/lintpkgsrc
                     51:        ${INSTALL_SCRIPT} ${WRKSRC:Q}/plist-clash.pl ${PREFIX:Q}/bin/plist-clash
                     52:        ${INSTALL_MAN} ${WRKSRC:Q}/lintpkgsrc.0 ${PREFIX:Q}/man/cat1
1.238     rillig     53: .if !empty(MANINSTALL:Mmaninstall)
1.320     rillig     54:        ${INSTALL_MAN} ${WRKSRC:Q}/lintpkgsrc.1 ${PREFIX:Q}/man/man1
                     55:        ${INSTALL_MAN} ${WRKSRC:Q}/pkglint.1 ${PREFIX:Q}/man/man1
1.238     rillig     56: .endif
1.320     rillig     57:        ${INSTALL_MAN} ${WRKSRC:Q}/pkglint.0 ${PREFIX:Q}/man/cat1
                     58:        ${INSTALL_DATA} ${FILESDIR:Q}/makevars.map ${PREFIX:Q}/share/pkglint/
                     59:        ${INSTALL_DATA} ${FILESDIR:Q}/deprecated.map ${PREFIX:Q}/share/pkglint/
1.1       tsarna     60:
1.247     rillig     61: post-install:
1.320     rillig     62:        ${PREFIX:Q}/bin/pkglint -q 1>&2
1.247     rillig     63:
1.1       tsarna     64: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>