[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.76 and 1.339

version 1.76, 2001/01/26 13:16:52 version 1.339, 2006/05/13 11:58:25
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  #
   
 DISTNAME=               pkglint-2.35  DISTNAME=       pkglint-4.61
 CATEGORIES=             pkgtools devel  CATEGORIES=     pkgtools
 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
   
 USE_PERL5=              YES  DEPENDS+=       digest>=20010101:../../pkgtools/digest
   DEPENDS+=       p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
   DEPENDS+=       p5-pkgsrc-Dewey>=1.0:../../pkgtools/p5-pkgsrc-Dewey
   
 EXTRACT_ONLY=   # empty  PKG_INSTALLATION_TYPES= overwrite pkgviews
 NO_WRKSUBDIR=   yes  
 NO_CHECKSUM=    yes  
 NO_PATCH=       yes  
 NO_CONFIGURE=   yes  
   
 PKGSRCDIR?=     ${.CURDIR}/../..  USE_TOOLS+=     perl:run
 MAKE_ENV=       PKGSRCDIR=${PKGSRCDIR}  
   
 .include "../../mk/bsd.prefs.mk"  WRKSRC=         ${WRKDIR}
   NO_CHECKSUM=    yes
   NO_BUILD=       yes
   USE_LANGUAGES=  # empty
   
 .if ${OPSYS} == "SunOS"  INSTALLATION_DIRS=      bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1 share/pkglint
 # This doesn't create readable manual pages. "mandoc" should be added  
 # to zoularis.  SUBST_CLASSES+=         pkglint
 NROFF=          nroff -man  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
   .if defined(BATCH)
   SUBST_SED.pkglint+=     -e s\|@PKGSRCDIR@\|/usr/pkgsrc\|g
 .else  .else
 NROFF=          nroff -mandoc  SUBST_SED.pkglint+=     -e s\|@PKGSRCDIR@\|${PKGSRCDIR}\|g
 .endif  .endif
   SUBST_SED.pkglint+=     -e s\|@PREFIX@\|${PREFIX}\|g
   SUBST_SED.pkglint+=     -e s\|@DISTVER@\|${DISTNAME:S/pkglint-//:Q}\|g
   SUBST_SED.pkglint+=     -e s\|@MAKE@\|${MAKE:Q}\|g
   SUBST_SED.pkglint+=     -e s\|@PERL@\|${PERL5:Q}\|g
   SUBST_SED.pkglint+=     -e s\|@DATADIR@\|${PREFIX}/share/pkglint\|g
   
 do-build:  .include "../../mk/bsd.prefs.mk"
 .for FILE in pkglint lintpkgsrc plist-clash  
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \  # Note: This target is only intended for use by the pkglint author.
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \  .PHONY: quick-install
                 < ${FILESDIR}/${FILE}.pl                \  quick-install:
                 > ${WRKSRC}/${FILE}          ${RM} -rf ${WRKSRC}
 .endfor          ${MKDIR} ${WRKSRC}
 .for FILE in pkglint lintpkgsrc          ${MAKE} do-extract subst-pkglint do-install post-install clean
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \  
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \  do-extract:
                 < ${FILESDIR}/${FILE}.1                 \          cd ${FILESDIR} && ${CP} lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl pkglint.0 pkglint.1 pkglint.pl plist-clash.pl ${WRKSRC}
                 > ${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}/${PKGMANDIR}/cat1
         ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.1 ${PREFIX}/man/man1  .if !empty(MANINSTALL:Mmaninstall)
         ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${PREFIX}/man/cat1          ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.1 ${PREFIX}/${PKGMANDIR}/man1
         ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1          ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/${PKGMANDIR}/man1
   .endif
           ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${PREFIX}/${PKGMANDIR}/cat1
           ${INSTALL_DATA} ${FILESDIR}/makevars.map ${PREFIX}/share/pkglint/
           ${INSTALL_DATA} ${FILESDIR}/deprecated.map ${PREFIX}/share/pkglint/
   
   post-install:
           ${PREFIX}/bin/pkglint -q 1>&2
   
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Legend:
Removed from v.1.76  
changed lines
  Added in v.1.339

CVSweb <webmaster@jp.NetBSD.org>