[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.198 and 1.232

version 1.198, 2004/07/06 23:07:35 version 1.232, 2005/05/07 15:10:24
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  #
   
 DISTNAME=       pkglint-3.85  DISTNAME=       pkglint-4.13
 CATEGORIES=     pkgtools devel  CATEGORIES=     pkgtools devel
 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=       ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/Packages.txt
 COMMENT=        Verifier for NetBSD packages and complete pkgsrc tree  COMMENT=        Verifier for NetBSD packages and complete pkgsrc tree
   
Line 17  PKG_INSTALLATION_TYPES= overwrite pkgvie
Line 17  PKG_INSTALLATION_TYPES= overwrite pkgvie
 USE_PERL5=      yes  USE_PERL5=      yes
   
 WRKSRC=         ${WRKDIR}  WRKSRC=         ${WRKDIR}
 NO_BUILDLINK=   yes  
 NO_CHECKSUM=    yes  NO_CHECKSUM=    yes
 NO_CONFIGURE=   yes  NO_CONFIGURE=   yes
 USE_LANGUAGES=  # empty  USE_LANGUAGES=  # empty
   
 MAKE_ENV=       PKGSRCDIR=${_PKGSRCDIR:Q}  
   
 DISTVER=        ${DISTNAME:S/pkglint-//}  DISTVER=        ${DISTNAME:S/pkglint-//}
   
 INSTALLATION_DIRS=      bin man/cat1 man/man1  INSTALLATION_DIRS=      bin man/cat1 man/man1 share/pkglint
   
 SUBST_FILES=    lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl pkglint.1 pkglint.0  SUBST_CLASSES+=         pkglint
 SUBST_FILES+=   pkglint.pl plist-clash.pl  SUBST_STAGE.pkglint=    pre-build
   SUBST_FILES.pkglint+=   lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.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|@PKGSRCDIR@|${PKGSRCDIR}|g'
   SUBST_SED.pkglint+=     -e 's|@DISTVER@|${DISTVER}|g'
   SUBST_SED.pkglint+=     -e 's|@MAKE@|${MAKE}|g'
   SUBST_SED.pkglint+=     -e 's|@PERL@|${PERL5}|g'
   SUBST_SED.pkglint+=     -e 's|@DATADIR@|${PREFIX}/share/pkglint|g'
   
 .include "../../mk/bsd.prefs.mk"  .include "../../mk/bsd.prefs.mk"
   
 do-extract:  do-extract:
         @${MKDIR} ${WRKSRC}/src  .for _f_ in ${SUBST_FILES.pkglint}
 .for FILE in ${SUBST_FILES}          @${CP} ${FILESDIR}/${_f_} ${WRKSRC}/${_f_}
         ${CP} ${FILESDIR}/${FILE} ${WRKSRC}/src/${FILE}  
 .endfor  .endfor
   
 do-build:  do-build:
 .for FILE in ${SUBST_FILES}          @${DO_NADA}
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \  
                 -e 's|@PORTSDIR@|${_PKGSRCDIR}|g'       \  
                 -e 's|@DISTVER@|${DISTVER}|g'           \  
                 -e 's|@MAKE@|${MAKE}|g'                 \  
                 -e 's|@PERL@|${PERL5}|g'                \  
                 ${WRKSRC}/src/${FILE} > ${WRKSRC}/${FILE}  
 .endfor  
 .if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX"  .if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX"
    # the pre-generated man-pages are 'mandoc';  these OS need 'man'     # the pre-generated man-pages are 'mandoc';  these OS need 'man'
 .  for FILE in lintpkgsrc pkglint  .  for FILE in lintpkgsrc pkglint
Line 63  do-install:
Line 61  do-install:
         ${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.0 ${PREFIX}/man/cat1
         ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1          ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1
           ${INSTALL_DATA} ${FILESDIR}/makevars.map ${PREFIX}/share/pkglint/
           ${INSTALL_DATA} ${FILESDIR}/deprecated.map ${PREFIX}/share/pkglint/
   
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

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

CVSweb <webmaster@jp.NetBSD.org>