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

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

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

CVSweb <webmaster@jp.NetBSD.org>