[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.93 and 1.330

version 1.93, 2001/05/12 15:19:14 version 1.330, 2006/02/24 20:36:29
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  #
   
 DISTNAME=               pkglint-2.51  DISTNAME=       pkglint-4.57
 CATEGORIES=             pkgtools devel  CATEGORIES=     pkgtools
 MASTER_SITES=           # empty  MASTER_SITES=   # empty
 DISTFILES=              # empty  DISTFILES=      # empty
   
 MAINTAINER=             hubertf@netbsd.org  
 HOMEPAGE=               ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/Packages.txt  
 COMMENT=                Verifier for NetBSD packages and complete pkgsrc tree  
   
 USE_PERL5=              YES  MAINTAINER=     rillig@NetBSD.org
   HOMEPAGE=       http://www.netbsd.org/Documentation/pkgsrc/
   COMMENT=        Verifier for NetBSD packages and complete pkgsrc tree
   
 EXTRACT_ONLY=   # empty  DEPENDS+=       digest>=20010101:../../pkgtools/digest
 NO_WRKSUBDIR=   yes  DEPENDS+=       p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
 NO_CHECKSUM=    yes  
 NO_PATCH=       yes  
 NO_CONFIGURE=   yes  
   
 PKGSRCDIR?=     ${.CURDIR}/../..  PKG_INSTALLATION_TYPES= overwrite pkgviews
 MAKE_ENV=       PKGSRCDIR=${PKGSRCDIR}  
   
 DISTVER=        ${DISTNAME:S/pkglint-//}  USE_TOOLS+=     perl:run
   
 .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-//}|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'
   
 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
                 -e 's|@DISTVER@|${DISTVER}|g'           \  quick-install:
                 < ${FILESDIR}/${FILE}.pl                \          ${RM} -rf ${WRKSRC:Q}
                 > ${WRKSRC}/${FILE}          ${MKDIR} ${WRKSRC:Q}
 .endfor          ${MAKE} do-extract subst-pkglint do-install post-install
 .for FILE in pkglint lintpkgsrc  
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \  do-extract:
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \          cd ${FILESDIR:Q} && ${CP} lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl pkglint.0 pkglint.1 pkglint.pl plist-clash.pl ${WRKSRC:Q}
                 < ${FILESDIR}/${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:Q}/pkglint.pl ${PREFIX:Q}/bin/pkglint
         ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc ${PREFIX}/bin/lintpkgsrc          ${INSTALL_SCRIPT} ${WRKSRC:Q}/lintpkgsrc.pl ${PREFIX:Q}/bin/lintpkgsrc
         ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash ${PREFIX}/bin/plist-clash          ${INSTALL_SCRIPT} ${WRKSRC:Q}/plist-clash.pl ${PREFIX:Q}/bin/plist-clash
         ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.0 ${PREFIX}/man/cat1          ${INSTALL_MAN} ${WRKSRC:Q}/lintpkgsrc.0 ${PREFIX:Q}/${PKGMANDIR:Q}/cat1
         ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.1 ${PREFIX}/man/man1  .if !empty(MANINSTALL:Mmaninstall)
         ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${PREFIX}/man/cat1          ${INSTALL_MAN} ${WRKSRC:Q}/lintpkgsrc.1 ${PREFIX:Q}/${PKGMANDIR:}/man1
         ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1          ${INSTALL_MAN} ${WRKSRC:Q}/pkglint.1 ${PREFIX:Q}/${PKGMANDIR:Q}/man1
   .endif
           ${INSTALL_MAN} ${WRKSRC:Q}/pkglint.0 ${PREFIX:Q}/${PKGMANDIR:Q}/cat1
           ${INSTALL_DATA} ${FILESDIR:Q}/makevars.map ${PREFIX:Q}/share/pkglint/
           ${INSTALL_DATA} ${FILESDIR:Q}/deprecated.map ${PREFIX:Q}/share/pkglint/
   
   post-install:
           ${PREFIX:Q}/bin/pkglint -q 1>&2
   
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Legend:
Removed from v.1.93  
changed lines
  Added in v.1.330

CVSweb <webmaster@jp.NetBSD.org>