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

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

1.419   ! cheusov     1: # $NetBSD: Makefile,v 1.418 2012/09/15 10:55:15 wiz Exp $
1.1       tsarna      2: #
                      3:
1.384     rillig      4: # Note: if you update the version number, please have a look at the
                      5: # changes between the CVS tag "pkglint_current" and HEAD.
                      6: # After updating, please re-set the CVS tag to HEAD.
1.419   ! cheusov     7: DISTNAME=      pkglint-4.125
1.305     rillig      8: CATEGORIES=    pkgtools
1.369     rillig      9: MASTER_SITES=  # none
                     10: DISTFILES=     # none
1.1       tsarna     11:
1.415     wiz        12: OWNER=         wiz@NetBSD.org
1.365     kano       13: HOMEPAGE=      http://www.NetBSD.org/docs/pkgsrc/
1.369     rillig     14: COMMENT=       Verifier for NetBSD packages
1.101     hubertf    15:
1.305     rillig     16: DEPENDS+=      p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
1.357     rillig     17: DEPENDS+=      p5-enum>=1.016:../../devel/p5-enum
1.334     rillig     18: DEPENDS+=      p5-pkgsrc-Dewey>=1.0:../../pkgtools/p5-pkgsrc-Dewey
1.1       tsarna     19:
1.174     jlam       20: PKG_INSTALLATION_TYPES=        overwrite pkgviews
1.1       tsarna     21:
1.176     agc        22: WRKSRC=                ${WRKDIR}
1.391     cheusov    23: NO_CHECKSUM=   yes
1.238     rillig     24: NO_BUILD=      yes
1.343     rillig     25: USE_LANGUAGES= # none
1.367     rillig     26: AUTO_MKDIRS=   yes
1.174     jlam       27:
1.360     rillig     28: .include "../../mk/bsd.prefs.mk"
                     29:
1.207     wiz        30: SUBST_CLASSES+=                pkglint
1.240     rillig     31: SUBST_STAGE.pkglint=   post-configure
1.356     rillig     32: SUBST_FILES.pkglint+=  pkglint.pl
1.322     rillig     33: SUBST_FILES.pkglint+=  plist-clash.pl
1.302     rillig     34: .if defined(BATCH)
1.333     rillig     35: SUBST_SED.pkglint+=    -e s\|@PKGSRCDIR@\|/usr/pkgsrc\|g
1.302     rillig     36: .else
1.336     rillig     37: SUBST_SED.pkglint+=    -e s\|@PKGSRCDIR@\|${PKGSRCDIR}\|g
1.302     rillig     38: .endif
1.336     rillig     39: SUBST_SED.pkglint+=    -e s\|@PREFIX@\|${PREFIX}\|g
1.376     rillig     40: SUBST_SED.pkglint+=    -e s\|@DISTVER@\|${DISTNAME:S/pkglint-//}\|g
1.333     rillig     41: SUBST_SED.pkglint+=    -e s\|@MAKE@\|${MAKE:Q}\|g
                     42: SUBST_SED.pkglint+=    -e s\|@PERL@\|${PERL5:Q}\|g
1.336     rillig     43: SUBST_SED.pkglint+=    -e s\|@DATADIR@\|${PREFIX}/share/pkglint\|g
1.403     wiz        44: #SUBST_SED.pkglint+=   -e s\|@DATADIR@\|/usr/pkgsrc/pkgtools/pkglint/files\|g
1.180     jschauma   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.356     rillig     51:        ${MAKE} do-extract subst-pkglint do-install selftest clean
1.325     rillig     52:
1.186     jschauma   53: do-extract:
1.369     rillig     54:        cd ${FILESDIR} && ${CP} pkglint.0 pkglint.1 pkglint.pl plist-clash.pl ${WRKSRC}
1.186     jschauma   55:
1.1       tsarna     56: do-install:
1.354     joerg      57:        ${INSTALL_SCRIPT} ${WRKSRC}/pkglint.pl ${DESTDIR}${PREFIX}/bin/pkglint
                     58:        ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash.pl ${DESTDIR}${PREFIX}/bin/plist-clash
1.364     rillig     59: .if !empty(MANINSTALL:Mcatinstall)
                     60:        ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1
                     61: .endif
1.238     rillig     62: .if !empty(MANINSTALL:Mmaninstall)
1.354     joerg      63:        ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
1.238     rillig     64: .endif
1.354     joerg      65:        ${INSTALL_DATA} ${FILESDIR}/makevars.map ${DESTDIR}${PREFIX}/share/pkglint/
                     66:        ${INSTALL_DATA} ${FILESDIR}/deprecated.map ${DESTDIR}${PREFIX}/share/pkglint/
1.247     rillig     67:
1.356     rillig     68: selftest: .PHONY
1.376     rillig     69:        ${PREFIX}/bin/pkglint
1.356     rillig     70:
1.1       tsarna     71: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>