[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.4 and 1.207

version 1.4, 1998/09/27 18:37:51 version 1.207, 2004/10/16 15:04:26
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  #
   
 DISTNAME=               pkglint-1.66  DISTNAME=       pkglint-3.93
 CATEGORIES=             pkgtools devel  CATEGORIES=     pkgtools devel
 MASTER_SITES=           # empty  MASTER_SITES=   # empty
 DISTFILES=              # empty  DISTFILES=      # empty
   
 MAINTAINER=             packages@netbsd.org  MAINTAINER=     hubertf@NetBSD.org
 HOMEPAGE=               http://www.netbsd.org/Documentation/netbsd/Packages.txt  HOMEPAGE=       ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/Packages.txt
   COMMENT=        Verifier for NetBSD packages and complete pkgsrc tree
   
 USE_PERL5=              YES  DEPENDS+=       digest>=20010101:../../pkgtools/digest
   
 EXTRACT_ONLY=   # empty  PKG_INSTALLATION_TYPES= overwrite pkgviews
 NO_WRKSUBDIR=   yes  
   USE_PERL5=      yes
   
   WRKSRC=         ${WRKDIR}
   NO_BUILDLINK=   yes
 NO_CHECKSUM=    yes  NO_CHECKSUM=    yes
 NO_PATCH=       yes  
 NO_CONFIGURE=   yes  NO_CONFIGURE=   yes
   USE_LANGUAGES=  # empty
   
   DISTVER=        ${DISTNAME:S/pkglint-//}
   
 MAKE_ENV=               PKGSRCDIR=${.CURDIR}/../..  INSTALLATION_DIRS=      bin man/cat1 man/man1
   
   SUBST_CLASSES+=         pkglint
   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'
   
   .include "../../mk/bsd.prefs.mk"
   
   do-extract:
   .for _f_ in ${SUBST_FILES.pkglint}
           @${CP} ${FILESDIR}/${_f_} ${WRKSRC}/${_f_}
   .endfor
   
 do-build:  do-build:
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \          @${DO_NADA}
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \  .if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX"
                 < ${FILESDIR}/pkglint.pl                \     # the pre-generated man-pages are 'mandoc';  these OS need 'man'
                 > ${WRKSRC}/pkglint  .  for FILE in lintpkgsrc pkglint
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \          nroff -man ${WRKSRC}/${FILE}.1 > ${WRKSRC}/${FILE}.0
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \  .  endfor
                 < ${FILESDIR}/lintpkgsrc.sh             \  .endif
                 > ${WRKSRC}/lintpkgsrc  
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \  
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \  
                 < ${FILESDIR}/plist-clash.pl            \  
                 > ${WRKSRC}/plist-clash  
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \  
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \  
                 < ${FILESDIR}/pkglint.1         \  
                 > ${WRKSRC}/pkglint.1  
         nroff -mandoc ${WRKSRC}/pkglint.1 >${WRKSRC}/pkglint.0  
   
 do-install:  do-install:
         ${INSTALL_SCRIPT} ${WRKSRC}/pkglint ${PREFIX}/bin/pkglint          ${INSTALL_SCRIPT} ${WRKSRC}/pkglint.pl ${PREFIX}/bin/pkglint
         ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc ${PREFIX}/bin/lintpkgsrc          ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc.pl ${PREFIX}/bin/lintpkgsrc
         ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash ${PREFIX}/bin/plist-clash          ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash.pl ${PREFIX}/bin/plist-clash
         ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1          ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.0 ${PREFIX}/man/cat1
           ${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
   
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.207

CVSweb <webmaster@jp.NetBSD.org>