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

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

1.337   ! rillig      1: # $NetBSD: Makefile,v 1.336 2006/04/12 20:25:06 rillig Exp $
1.1       tsarna      2: #
                      3:
1.337   ! rillig      4: DISTNAME=      pkglint-4.60
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.334     rillig     15: DEPENDS+=      p5-pkgsrc-Dewey>=1.0:../../pkgtools/p5-pkgsrc-Dewey
1.1       tsarna     16:
1.174     jlam       17: PKG_INSTALLATION_TYPES=        overwrite pkgviews
1.1       tsarna     18:
1.245     jlam       19: USE_TOOLS+=    perl:run
1.174     jlam       20:
1.176     agc        21: WRKSRC=                ${WRKDIR}
1.1       tsarna     22: NO_CHECKSUM=   yes
1.238     rillig     23: NO_BUILD=      yes
1.178     markd      24: USE_LANGUAGES= # empty
1.1       tsarna     25:
1.336     rillig     26: INSTALLATION_DIRS=     bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1 share/pkglint
1.174     jlam       27:
1.207     wiz        28: SUBST_CLASSES+=                pkglint
1.240     rillig     29: SUBST_STAGE.pkglint=   post-configure
1.207     wiz        30: SUBST_FILES.pkglint+=  lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl
                     31: SUBST_FILES.pkglint+=  pkglint.0 pkglint.1 pkglint.pl
1.322     rillig     32: SUBST_FILES.pkglint+=  plist-clash.pl
1.302     rillig     33: .if defined(BATCH)
1.333     rillig     34: SUBST_SED.pkglint+=    -e s\|@PKGSRCDIR@\|/usr/pkgsrc\|g
1.302     rillig     35: .else
1.336     rillig     36: SUBST_SED.pkglint+=    -e s\|@PKGSRCDIR@\|${PKGSRCDIR}\|g
1.302     rillig     37: .endif
1.336     rillig     38: SUBST_SED.pkglint+=    -e s\|@PREFIX@\|${PREFIX}\|g
1.333     rillig     39: SUBST_SED.pkglint+=    -e s\|@DISTVER@\|${DISTNAME:S/pkglint-//:Q}\|g
                     40: SUBST_SED.pkglint+=    -e s\|@MAKE@\|${MAKE:Q}\|g
                     41: SUBST_SED.pkglint+=    -e s\|@PERL@\|${PERL5:Q}\|g
1.336     rillig     42: SUBST_SED.pkglint+=    -e s\|@DATADIR@\|${PREFIX}/share/pkglint\|g
1.180     jschauma   43:
1.8       agc        44: .include "../../mk/bsd.prefs.mk"
                     45:
1.325     rillig     46: # Note: This target is only intended for use by the pkglint author.
                     47: .PHONY: quick-install
                     48: quick-install:
1.336     rillig     49:        ${RM} -rf ${WRKSRC}
                     50:        ${MKDIR} ${WRKSRC}
1.326     rillig     51:        ${MAKE} do-extract subst-pkglint do-install post-install
1.325     rillig     52:
1.186     jschauma   53: do-extract:
1.336     rillig     54:        cd ${FILESDIR} && ${CP} lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl pkglint.0 pkglint.1 pkglint.pl plist-clash.pl ${WRKSRC}
1.186     jschauma   55:
1.1       tsarna     56: do-install:
1.336     rillig     57:        ${INSTALL_SCRIPT} ${WRKSRC}/pkglint.pl ${PREFIX}/bin/pkglint
                     58:        ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc.pl ${PREFIX}/bin/lintpkgsrc
                     59:        ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash.pl ${PREFIX}/bin/plist-clash
                     60:        ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.0 ${PREFIX}/${PKGMANDIR}/cat1
1.238     rillig     61: .if !empty(MANINSTALL:Mmaninstall)
1.336     rillig     62:        ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.1 ${PREFIX}/${PKGMANDIR}/man1
                     63:        ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/${PKGMANDIR}/man1
1.238     rillig     64: .endif
1.336     rillig     65:        ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${PREFIX}/${PKGMANDIR}/cat1
                     66:        ${INSTALL_DATA} ${FILESDIR}/makevars.map ${PREFIX}/share/pkglint/
                     67:        ${INSTALL_DATA} ${FILESDIR}/deprecated.map ${PREFIX}/share/pkglint/
1.1       tsarna     68:
1.247     rillig     69: post-install:
1.336     rillig     70:        ${PREFIX}/bin/pkglint -q 1>&2
1.247     rillig     71:
1.1       tsarna     72: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>