[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.6 and 1.76

version 1.6, 1999/02/18 12:27:27 version 1.76, 2001/01/26 13:16:52
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  #
   
 DISTNAME=               pkglint-1.68  DISTNAME=               pkglint-2.35
 CATEGORIES=             pkgtools devel  CATEGORIES=             pkgtools devel
 MASTER_SITES=           # empty  MASTER_SITES=           # empty
 DISTFILES=              # empty  DISTFILES=              # empty
   
 MAINTAINER=             packages@netbsd.org  MAINTAINER=             hubertf@netbsd.org
 HOMEPAGE=               http://www.netbsd.org/Documentation/netbsd/Packages.txt  HOMEPAGE=               ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/Packages.txt
   
 USE_PERL5=              YES  USE_PERL5=              YES
   
Line 17  NO_CHECKSUM= yes
Line 17  NO_CHECKSUM= yes
 NO_PATCH=       yes  NO_PATCH=       yes
 NO_CONFIGURE=   yes  NO_CONFIGURE=   yes
   
 MAKE_ENV=               PKGSRCDIR=${.CURDIR}/../..  PKGSRCDIR?=     ${.CURDIR}/../..
   MAKE_ENV=       PKGSRCDIR=${PKGSRCDIR}
   
   .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                \                  < ${FILESDIR}/${FILE}.pl                \
                 > ${WRKSRC}/pkglint                  > ${WRKSRC}/${FILE}
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \  .endfor
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \  .for FILE in pkglint lintpkgsrc
                 < ${FILESDIR}/lintpkgsrc.sh             \  
                 > ${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.6  
changed lines
  Added in v.1.76

CVSweb <webmaster@jp.NetBSD.org>