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

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

1.373   ! rillig      1: # $NetBSD: Makefile,v 1.372 2008/02/21 12:24:43 rillig Exp $
1.1       tsarna      2: #
                      3:
1.371     rillig      4: # Please don't increase the version number if you are not rillig.
1.373   ! rillig      5: DISTNAME=      pkglint-4.85
1.305     rillig      6: CATEGORIES=    pkgtools
1.369     rillig      7: MASTER_SITES=  # none
                      8: DISTFILES=     # none
1.1       tsarna      9:
1.230     rillig     10: MAINTAINER=    rillig@NetBSD.org
1.365     kano       11: HOMEPAGE=      http://www.NetBSD.org/docs/pkgsrc/
1.369     rillig     12: COMMENT=       Verifier for NetBSD packages
1.101     hubertf    13:
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.176     agc        21: WRKSRC=                ${WRKDIR}
1.1       tsarna     22: NO_CHECKSUM=   yes
1.238     rillig     23: NO_BUILD=      yes
1.343     rillig     24: USE_LANGUAGES= # none
1.367     rillig     25: AUTO_MKDIRS=   yes
1.174     jlam       26:
1.360     rillig     27: .include "../../mk/bsd.prefs.mk"
                     28:
1.207     wiz        29: SUBST_CLASSES+=                pkglint
1.240     rillig     30: SUBST_STAGE.pkglint=   post-configure
1.356     rillig     31: SUBST_FILES.pkglint+=  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.325     rillig     44: # Note: This target is only intended for use by the pkglint author.
                     45: .PHONY: quick-install
                     46: quick-install:
1.336     rillig     47:        ${RM} -rf ${WRKSRC}
                     48:        ${MKDIR} ${WRKSRC}
1.356     rillig     49:        ${MAKE} do-extract subst-pkglint do-install selftest clean
1.325     rillig     50:
1.186     jschauma   51: do-extract:
1.369     rillig     52:        cd ${FILESDIR} && ${CP} pkglint.0 pkglint.1 pkglint.pl plist-clash.pl ${WRKSRC}
1.186     jschauma   53:
1.1       tsarna     54: do-install:
1.354     joerg      55:        ${INSTALL_SCRIPT} ${WRKSRC}/pkglint.pl ${DESTDIR}${PREFIX}/bin/pkglint
                     56:        ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash.pl ${DESTDIR}${PREFIX}/bin/plist-clash
1.364     rillig     57: .if !empty(MANINSTALL:Mcatinstall)
                     58:        ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1
                     59: .endif
1.238     rillig     60: .if !empty(MANINSTALL:Mmaninstall)
1.354     joerg      61:        ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
1.238     rillig     62: .endif
1.354     joerg      63:        ${INSTALL_DATA} ${FILESDIR}/makevars.map ${DESTDIR}${PREFIX}/share/pkglint/
                     64:        ${INSTALL_DATA} ${FILESDIR}/deprecated.map ${DESTDIR}${PREFIX}/share/pkglint/
1.247     rillig     65:
1.356     rillig     66: selftest: .PHONY
                     67:        ${LOCALBASE}/bin/pkglint
                     68:
1.1       tsarna     69: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>