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

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/pkgtools/pkglint/Makefile between version 1.185 and 1.343

version 1.185, 2004/04/24 00:17:20 version 1.343, 2006/06/09 10:27:09
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  #
   
 DISTNAME=       pkglint-3.73  DISTNAME=       pkglint-4.64
 CATEGORIES=     pkgtools devel  CATEGORIES=     pkgtools
 MASTER_SITES=   # empty  MASTER_SITES=   # empty
 DISTFILES=      # empty  DISTFILES=      # empty
   
 MAINTAINER=     hubertf@NetBSD.org  MAINTAINER=     rillig@NetBSD.org
 HOMEPAGE=       ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/Packages.txt  HOMEPAGE=       http://www.netbsd.org/Documentation/pkgsrc/
 COMMENT=        Verifier for NetBSD packages and complete pkgsrc tree  COMMENT=        Verifier for NetBSD packages and complete pkgsrc tree
   
 DEPENDS+=       digest>=20010101:../../pkgtools/digest  DEPENDS+=       digest>=20010101:../../pkgtools/digest
   DEPENDS+=       p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
   DEPENDS+=       p5-pkgsrc-Dewey>=1.0:../../pkgtools/p5-pkgsrc-Dewey
   
 PKG_INSTALLATION_TYPES= overwrite pkgviews  PKG_INSTALLATION_TYPES= overwrite pkgviews
   
 USE_PERL5=      yes  USE_TOOLS+=     perl:run
   
 WRKSRC=         ${WRKDIR}  WRKSRC=         ${WRKDIR}
 NO_BUILDLINK=   yes  
 NO_CHECKSUM=    yes  NO_CHECKSUM=    yes
 NO_CONFIGURE=   yes  NO_BUILD=       yes
 USE_LANGUAGES=  # empty  USE_LANGUAGES=  # none
   
 MAKE_ENV=       PKGSRCDIR=${_PKGSRCDIR:Q}  INSTALLATION_DIRS=      bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1 share/pkglint
   
 DISTVER=        ${DISTNAME:S/pkglint-//}  SUBST_CLASSES+=         pkglint
   SUBST_STAGE.pkglint=    post-configure
 INSTALLATION_DIRS=      bin man/cat1 man/man1  SUBST_FILES.pkglint+=   lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl
   SUBST_FILES.pkglint+=   pkglint.0 pkglint.1 pkglint.pl
 SUBST_FILES=    lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl pkglint.1 pkglint.0  SUBST_FILES.pkglint+=   plist-clash.pl
 SUBST_FILES+=   pkglint.pl plist-clash.pl  .if defined(BATCH)
   SUBST_SED.pkglint+=     -e s\|@PKGSRCDIR@\|/usr/pkgsrc\|g
   .else
   SUBST_SED.pkglint+=     -e s\|@PKGSRCDIR@\|${PKGSRCDIR}\|g
   .endif
   SUBST_SED.pkglint+=     -e s\|@PREFIX@\|${PREFIX}\|g
   SUBST_SED.pkglint+=     -e s\|@DISTVER@\|${DISTNAME:S/pkglint-//:Q}\|g
   SUBST_SED.pkglint+=     -e s\|@MAKE@\|${MAKE:Q}\|g
   SUBST_SED.pkglint+=     -e s\|@PERL@\|${PERL5:Q}\|g
   SUBST_SED.pkglint+=     -e s\|@DATADIR@\|${PREFIX}/share/pkglint\|g
   
 .include "../../mk/bsd.prefs.mk"  .include "../../mk/bsd.prefs.mk"
   
 do-build:  # Note: This target is only intended for use by the pkglint author.
         @${MKDIR} ${WRKSRC}/src  .PHONY: quick-install
 .for FILE in ${SUBST_FILES}  quick-install:
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \          ${RM} -rf ${WRKSRC}
                 -e 's|@PORTSDIR@|${_PKGSRCDIR}|g'       \          ${MKDIR} ${WRKSRC}
                 -e 's|@DISTVER@|${DISTVER}|g'           \          ${MAKE} do-extract subst-pkglint do-install post-install clean
                 -e 's|@MAKE@|${MAKE}|g'                 \  
                 -e 's|@PERL@|${PERL5}|g'                \  do-extract:
                 ${FILESDIR}/${FILE} > ${WRKSRC}/${FILE}          cd ${FILESDIR} && ${CP} lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl pkglint.0 pkglint.1 pkglint.pl plist-clash.pl ${WRKSRC}
 .endfor  
 .if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX"  
    # the pre-generated man-pages are 'mandoc';  these OS need 'man'  
 .  for FILE in lintpkgsrc pkglint  
         nroff -man ${WRKSRC}/${FILE}.1 > ${WRKSRC}/${FILE}.0  
 .  endfor  
 .endif  
   
 do-install:  do-install:
         ${INSTALL_SCRIPT} ${WRKSRC}/pkglint.pl ${PREFIX}/bin/pkglint          ${INSTALL_SCRIPT} ${WRKSRC}/pkglint.pl ${PREFIX}/bin/pkglint
         ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc.pl ${PREFIX}/bin/lintpkgsrc          ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc.pl ${PREFIX}/bin/lintpkgsrc
         ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash.pl ${PREFIX}/bin/plist-clash          ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash.pl ${PREFIX}/bin/plist-clash
         ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.0 ${PREFIX}/man/cat1          ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.0 ${PREFIX}/${PKGMANDIR}/cat1
         ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.1 ${PREFIX}/man/man1  .if !empty(MANINSTALL:Mmaninstall)
         ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${PREFIX}/man/cat1          ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.1 ${PREFIX}/${PKGMANDIR}/man1
         ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1          ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/${PKGMANDIR}/man1
   .endif
           ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${PREFIX}/${PKGMANDIR}/cat1
           ${INSTALL_DATA} ${FILESDIR}/makevars.map ${PREFIX}/share/pkglint/
           ${INSTALL_DATA} ${FILESDIR}/deprecated.map ${PREFIX}/share/pkglint/
   
   post-install:
           ${PREFIX}/bin/pkglint -q 1>&2
   
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Legend:
Removed from v.1.185  
changed lines
  Added in v.1.343

CVSweb <webmaster@jp.NetBSD.org>