[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.109 and 1.185

version 1.109, 2001/09/09 20:36:42 version 1.185, 2004/04/24 00:17:20
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  #
   
 DISTNAME=               pkglint-3.07  DISTNAME=       pkglint-3.73
 CATEGORIES=             pkgtools devel  CATEGORIES=     pkgtools devel
 MASTER_SITES=           # empty  MASTER_SITES=   # empty
 DISTFILES=              # empty  DISTFILES=      # empty
   
 MAINTAINER=             hubertf@netbsd.org  MAINTAINER=     hubertf@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-2001*:../../pkgtools/digest  DEPENDS+=       digest>=20010101:../../pkgtools/digest
   
 USE_PERL5=              YES  PKG_INSTALLATION_TYPES= overwrite pkgviews
   
   USE_PERL5=      yes
   
 EXTRACT_ONLY=   # empty  
 WRKSRC=         ${WRKDIR}  WRKSRC=         ${WRKDIR}
   NO_BUILDLINK=   yes
 NO_CHECKSUM=    yes  NO_CHECKSUM=    yes
 NO_PATCH=       yes  
 NO_CONFIGURE=   yes  NO_CONFIGURE=   yes
   USE_LANGUAGES=  # empty
   
 PKGSRCDIR?=     ${.CURDIR}/../..  MAKE_ENV=       PKGSRCDIR=${_PKGSRCDIR:Q}
 MAKE_ENV=       PKGSRCDIR=${PKGSRCDIR}  
   
 DISTVER=        ${DISTNAME:S/pkglint-//}  DISTVER=        ${DISTNAME:S/pkglint-//}
   
 .include "../../mk/bsd.prefs.mk"  INSTALLATION_DIRS=      bin man/cat1 man/man1
   
 .if ${OPSYS} == "SunOS"  SUBST_FILES=    lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl pkglint.1 pkglint.0
 # This doesn't create readable manual pages. "mandoc" should be added  SUBST_FILES+=   pkglint.pl plist-clash.pl
 # to zoularis.  
 NROFF=          nroff -man  .include "../../mk/bsd.prefs.mk"
 .else  
 NROFF=          nroff -mandoc  
 .endif  
   
 do-build:  do-build:
 .for FILE in pkglint lintpkgsrc plist-clash          @${MKDIR} ${WRKSRC}/src
   .for FILE in ${SUBST_FILES}
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \          ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \                  -e 's|@PORTSDIR@|${_PKGSRCDIR}|g'       \
                 -e 's|@DISTVER@|${DISTVER}|g'           \                  -e 's|@DISTVER@|${DISTVER}|g'           \
                 < ${FILESDIR}/${FILE}.pl                \                  -e 's|@MAKE@|${MAKE}|g'                 \
                 > ${WRKSRC}/${FILE}                  -e 's|@PERL@|${PERL5}|g'                \
 .endfor                  ${FILESDIR}/${FILE} > ${WRKSRC}/${FILE}
 .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
   .if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX"
      # the pre-generated man-pages are 'mandoc';  these OS need 'man'
   .  for FILE in lintpkgsrc pkglint
           nroff -man ${WRKSRC}/${FILE}.1 > ${WRKSRC}/${FILE}.0
   .  endfor
   .endif
   
 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

Legend:
Removed from v.1.109  
changed lines
  Added in v.1.185

CVSweb <webmaster@jp.NetBSD.org>