[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.159 and 1.223

version 1.159, 2003/04/30 03:16:06 version 1.223, 2005/02/23 11:45:16
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  #
   
 DISTNAME=       pkglint-3.53  DISTNAME=       pkglint-4.07
 WRKSRC=         ${WRKDIR}  
 CATEGORIES=     pkgtools devel  CATEGORIES=     pkgtools devel
 MASTER_SITES=   # empty  MASTER_SITES=   # empty
 DISTFILES=      # empty  DISTFILES=      # empty
   
 MAINTAINER=     hubertf@netbsd.org  MAINTAINER=     wiz@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
   
 DEPENDS+=       digest>=20010101:../../pkgtools/digest  DEPENDS+=       digest>=20010101:../../pkgtools/digest
   
 USE_PERL5=      YES  PKG_INSTALLATION_TYPES= overwrite pkgviews
   
   USE_PERL5=      yes
   
   WRKSRC=         ${WRKDIR}
   NO_BUILDLINK=   yes
 NO_CHECKSUM=    yes  NO_CHECKSUM=    yes
 NO_CONFIGURE=   yes  NO_CONFIGURE=   yes
   USE_LANGUAGES=  # empty
 MAKE_ENV=       PKGSRCDIR=${_PKGSRCDIR:Q}  
   
 DISTVER=        ${DISTNAME:S/pkglint-//}  DISTVER=        ${DISTNAME:S/pkglint-//}
   
 .include "../../mk/bsd.prefs.mk"  INSTALLATION_DIRS=      bin man/cat1 man/man1 share/pkglint
   
 .if ${OPSYS} == "SunOS"  SUBST_CLASSES+=         pkglint
 # This doesn't create readable manual pages. "mandoc" should be added  SUBST_STAGE.pkglint=    pre-build
 # to zoularis.  SUBST_FILES.pkglint+=   lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl
 NROFF=          nroff -man  SUBST_FILES.pkglint+=   pkglint.0 pkglint.1 pkglint.pl
 .else  SUBST_FILES.pkglint+=   plist-clash.pl
 NROFF=          nroff -mandoc  SUBST_SED.pkglint+=     -e 's|@PREFIX@|${PREFIX}|g'
 .endif  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"
   
 do-extract:  do-extract:
         @${MKDIR} ${WRKSRC}/src  .for _f_ in ${SUBST_FILES.pkglint}
 .for FILE in lintpkgsrc.1 lintpkgsrc.pl pkglint.1 pkglint.pl plist-clash.pl          @${CP} ${FILESDIR}/${_f_} ${WRKSRC}/${_f_}
         ${CP} ${FILESDIR}/${FILE} ${WRKSRC}/src/${FILE}  
 .endfor  .endfor
   
 do-build:  do-build:
 .for FILE in pkglint lintpkgsrc plist-clash          @${DO_NADA}
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \  .if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX"
                 -e 's|@PORTSDIR@|${_PKGSRCDIR}|g'       \     # the pre-generated man-pages are 'mandoc';  these OS need 'man'
                 -e 's|@DISTVER@|${DISTVER}|g'           \  .  for FILE in lintpkgsrc pkglint
                 -e 's|@MAKE@|${MAKE}|g'                 \          nroff -man ${WRKSRC}/${FILE}.1 > ${WRKSRC}/${FILE}.0
                 < ${WRKSRC}/src/${FILE}.pl              \  .  endfor
                 > ${WRKSRC}/${FILE}  .endif
 .endfor  
 .for FILE in pkglint lintpkgsrc  
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \  
                 -e 's|@PORTSDIR@|${_PKGSRCDIR}|g'       \  
                 -e 's|@MAKE@|${MAKE}|g'                 \  
                 < ${WRKSRC}/src/${FILE}.1               \  
                 > ${WRKSRC}/${FILE}.1  
         ${NROFF} ${WRKSRC}/${FILE}.1 >${WRKSRC}/${FILE}.0  
 .endfor  
   
 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}/lintpkgsrc.0 ${PREFIX}/man/cat1          ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.0 ${PREFIX}/man/cat1
         ${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/
   
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Legend:
Removed from v.1.159  
changed lines
  Added in v.1.223

CVSweb <webmaster@jp.NetBSD.org>