[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.232 and 1.293

version 1.232, 2005/05/07 15:10:24 version 1.293, 2005/11/13 17:39:05
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  #
   
 DISTNAME=       pkglint-4.13  DISTNAME=       pkglint-4.40
 CATEGORIES=     pkgtools devel  CATEGORIES=     pkgtools devel
 MASTER_SITES=   # empty  MASTER_SITES=   # empty
 DISTFILES=      # empty  DISTFILES=      # empty
   
 MAINTAINER=     rillig@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
   
 PKG_INSTALLATION_TYPES= overwrite pkgviews  PKG_INSTALLATION_TYPES= overwrite pkgviews
   
 USE_PERL5=      yes  USE_TOOLS+=     perl:run
   
 WRKSRC=         ${WRKDIR}  WRKSRC=         ${WRKDIR}
 NO_CHECKSUM=    yes  NO_CHECKSUM=    yes
 NO_CONFIGURE=   yes  NO_BUILD=       yes
 USE_LANGUAGES=  # empty  USE_LANGUAGES=  # empty
   
 DISTVER=        ${DISTNAME:S/pkglint-//}  
   
 INSTALLATION_DIRS=      bin man/cat1 man/man1 share/pkglint  INSTALLATION_DIRS=      bin man/cat1 man/man1 share/pkglint
   
 SUBST_CLASSES+=         pkglint  SUBST_CLASSES+=         pkglint
 SUBST_STAGE.pkglint=    pre-build  SUBST_STAGE.pkglint=    post-configure
 SUBST_FILES.pkglint+=   lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl  SUBST_FILES.pkglint+=   lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl
 SUBST_FILES.pkglint+=   pkglint.0 pkglint.1 pkglint.pl  SUBST_FILES.pkglint+=   pkglint.0 pkglint.1 pkglint.pl
 SUBST_FILES.pkglint+=   plist-clash.pl  
 SUBST_SED.pkglint+=     -e 's|@PREFIX@|${PREFIX}|g'  SUBST_SED.pkglint+=     -e 's|@PREFIX@|${PREFIX}|g'
 SUBST_SED.pkglint+=     -e 's|@PKGSRCDIR@|${PKGSRCDIR}|g'  SUBST_SED.pkglint+=     -e 's|@DISTVER@|${DISTNAME:S/pkglint-//}|g'
 SUBST_SED.pkglint+=     -e 's|@DISTVER@|${DISTVER}|g'  
 SUBST_SED.pkglint+=     -e 's|@MAKE@|${MAKE}|g'  SUBST_SED.pkglint+=     -e 's|@MAKE@|${MAKE}|g'
 SUBST_SED.pkglint+=     -e 's|@PERL@|${PERL5}|g'  SUBST_SED.pkglint+=     -e 's|@PERL@|${PERL5}|g'
 SUBST_SED.pkglint+=     -e 's|@DATADIR@|${PREFIX}/share/pkglint|g'  SUBST_SED.pkglint+=     -e 's|@DATADIR@|${PREFIX}/share/pkglint|g'
   
 .include "../../mk/bsd.prefs.mk"  .include "../../mk/bsd.prefs.mk"
   
   .if ${OPSYS} == "AIX" || ${OPSYS} == "SunOS"
   MANINSTALL=             catinstall
   .endif
   
 do-extract:  do-extract:
 .for _f_ in ${SUBST_FILES.pkglint}  .for f in lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl pkglint.0 pkglint.1 pkglint.pl plist-clash.pl
         @${CP} ${FILESDIR}/${_f_} ${WRKSRC}/${_f_}          @${CP} ${FILESDIR}/${f} ${WRKSRC}/${f}
 .endfor  .endfor
   
 do-build:  
         @${DO_NADA}  
 .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}/man/cat1
   .if !empty(MANINSTALL:Mmaninstall)
         ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.1 ${PREFIX}/man/man1          ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.1 ${PREFIX}/man/man1
         ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${PREFIX}/man/cat1  
         ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1          ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1
   .endif
           ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${PREFIX}/man/cat1
         ${INSTALL_DATA} ${FILESDIR}/makevars.map ${PREFIX}/share/pkglint/          ${INSTALL_DATA} ${FILESDIR}/makevars.map ${PREFIX}/share/pkglint/
         ${INSTALL_DATA} ${FILESDIR}/deprecated.map ${PREFIX}/share/pkglint/          ${INSTALL_DATA} ${FILESDIR}/deprecated.map ${PREFIX}/share/pkglint/
   
   post-install:
           ${PREFIX}/bin/pkglint -q 1>&2 || ${TRUE}
   
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Legend:
Removed from v.1.232  
changed lines
  Added in v.1.293

CVSweb <webmaster@jp.NetBSD.org>