[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.7 and 1.129.2.2

version 1.7, 1999/03/04 07:23:09 version 1.129.2.2, 2002/08/23 05:09:25
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  #
   
 DISTNAME=               pkglint-1.68  DISTNAME=       pkglint-3.30
 CATEGORIES=             pkgtools devel  CATEGORIES=     pkgtools devel
 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
   
 MAINTAINER=             packages@netbsd.org  DEPENDS+=       digest-2001*:../../pkgtools/digest
 HOMEPAGE=               http://www.netbsd.org/Documentation/netbsd/Packages.txt  
   
 USE_PERL5=              YES  USE_PERL5=      YES
   
 EXTRACT_ONLY=   # empty  EXTRACT_ONLY=   # empty
 NO_WRKSUBDIR=   yes  WRKSRC=         ${WRKDIR}
 NO_CHECKSUM=    yes  NO_CHECKSUM=    yes
 NO_PATCH=       yes  NO_PATCH=       yes
 NO_CONFIGURE=   yes  NO_CONFIGURE=   yes
   
 PKGSRCDIR?=     ${.CURDIR}/../..  MAKE_ENV=       PKGSRCDIR=${_PKGSRCDIR}
 MAKE_ENV=       PKGSRCDIR=${PKGSRCDIR}  
   DISTVER=        ${DISTNAME:S/pkglint-//}
   
   .include "../../mk/bsd.prefs.mk"
   
   .if ${OPSYS} == "SunOS"
   # This doesn't create readable manual pages. "mandoc" should be added
   # to zoularis.
   NROFF=          nroff -man
   .else
   NROFF=          nroff -mandoc
   .endif
   
 do-build:  do-build:
   .for FILE in pkglint lintpkgsrc plist-clash
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \          ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \                  -e 's|@PORTSDIR@|${_PKGSRCDIR}|g'       \
                 < ${FILESDIR}/pkglint.pl                \                  -e 's|@DISTVER@|${DISTVER}|g'           \
                 > ${WRKSRC}/pkglint                  < ${FILESDIR}/${FILE}.pl                \
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \                  > ${WRKSRC}/${FILE}
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \  .endfor
                 < ${FILESDIR}/lintpkgsrc.sh             \  .for FILE in pkglint lintpkgsrc
                 > ${WRKSRC}/lintpkgsrc  
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \          ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \                  -e 's|@PORTSDIR@|${_PKGSRCDIR}|g'       \
                 < ${FILESDIR}/plist-clash.pl            \                  < ${FILESDIR}/${FILE}.1                 \
                 > ${WRKSRC}/plist-clash                  > ${WRKSRC}/${FILE}.1
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \          ${NROFF} ${WRKSRC}/${FILE}.1 >${WRKSRC}/${FILE}.0
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \  .endfor
                 < ${FILESDIR}/pkglint.1         \  
                 > ${WRKSRC}/pkglint.1  
         nroff -mandoc ${WRKSRC}/pkglint.1 >${WRKSRC}/pkglint.0  
   
 do-install:  do-install:
         ${INSTALL_SCRIPT} ${WRKSRC}/pkglint ${PREFIX}/bin/pkglint          ${INSTALL_SCRIPT} ${WRKSRC}/pkglint ${PREFIX}/bin/pkglint
         ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc ${PREFIX}/bin/lintpkgsrc          ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc ${PREFIX}/bin/lintpkgsrc
         ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash ${PREFIX}/bin/plist-clash          ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash ${PREFIX}/bin/plist-clash
         ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1          ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.0 ${PREFIX}/man/cat1
           ${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
   
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.129.2.2

CVSweb <webmaster@jp.NetBSD.org>