[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.116 and 1.273

version 1.116, 2001/11/29 01:56:37 version 1.273, 2005/11/01 01:08:38
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  #
   
 DISTNAME=       pkglint-3.13  DISTNAME=       pkglint-4.32
 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=       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-2001*:../../pkgtools/digest  DEPENDS+=       digest>=20010101:../../pkgtools/digest
   
 USE_PERL5=      YES  PKG_INSTALLATION_TYPES= overwrite pkgviews
   
   USE_TOOLS+=     perl:run
   
 EXTRACT_ONLY=   # empty  
 WRKSRC=         ${WRKDIR}  WRKSRC=         ${WRKDIR}
 NO_CHECKSUM=    yes  NO_CHECKSUM=    yes
 NO_PATCH=       yes  NO_BUILD=       yes
 NO_CONFIGURE=   yes  USE_LANGUAGES=  # empty
   
 PKGSRCDIR?=     ${.CURDIR}/../..  INSTALLATION_DIRS=      bin man/cat1 man/man1 share/pkglint
 MAKE_ENV=       PKGSRCDIR=${PKGSRCDIR}  
   
 DISTVER=        ${DISTNAME:S/pkglint-//}  SUBST_CLASSES+=         pkglint
   SUBST_STAGE.pkglint=    post-configure
   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@|${DISTNAME:S/pkglint-//}|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"
   
 .if ${OPSYS} == "SunOS"  .if ${OPSYS} == "AIX" || ${OPSYS} == "SunOS"
 # This doesn't create readable manual pages. "mandoc" should be added  MANINSTALL=             catinstall
 # to zoularis.  
 NROFF=          nroff -man  
 .else  
 NROFF=          nroff -mandoc  
 .endif  .endif
   
 do-build:  do-extract:
 .for FILE in pkglint lintpkgsrc plist-clash  .for f in ${SUBST_FILES.pkglint}
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \          @${CP} ${FILESDIR}/${f} ${WRKSRC}/${f}
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \  
                 -e 's|@DISTVER@|${DISTVER}|g'           \  
                 < ${FILESDIR}/${FILE}.pl                \  
                 > ${WRKSRC}/${FILE}  
 .endfor  
 .for FILE in pkglint lintpkgsrc  
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \  
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \  
                 < ${FILESDIR}/${FILE}.1                 \  
                 > ${WRKSRC}/${FILE}.1  
         ${NROFF} ${WRKSRC}/${FILE}.1 >${WRKSRC}/${FILE}.0  
 .endfor  .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
   .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}/deprecated.map ${PREFIX}/share/pkglint/
   
   post-install:
           ${PREFIX}/bin/pkglint -q -Wno-workdir
   
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Legend:
Removed from v.1.116  
changed lines
  Added in v.1.273

CVSweb <webmaster@jp.NetBSD.org>