[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.46 and 1.159

version 1.46, 2000/03/16 14:22:02 version 1.159, 2003/04/30 03:16:06
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  #
   
 DISTNAME=               pkglint-2.05  DISTNAME=       pkglint-3.53
 CATEGORIES=             pkgtools devel  WRKSRC=         ${WRKDIR}
 MASTER_SITES=           # empty  CATEGORIES=     pkgtools devel
 DISTFILES=              # empty  MASTER_SITES=   # 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=             hubertf@netbsd.org  DEPENDS+=       digest>=20010101:../../pkgtools/digest
 HOMEPAGE=               http://www.netbsd.org/Documentation/netbsd/Packages.txt  
   
 USE_PERL5=              YES  USE_PERL5=      YES
   
 EXTRACT_ONLY=   # empty  
 NO_WRKSUBDIR=   yes  
 NO_CHECKSUM=    yes  NO_CHECKSUM=    yes
 NO_PATCH=       yes  
 NO_CONFIGURE=   yes  NO_CONFIGURE=   yes
   
 PKGSRCDIR?=     ${.CURDIR}/../..  MAKE_ENV=       PKGSRCDIR=${_PKGSRCDIR:Q}
 MAKE_ENV=       PKGSRCDIR=${PKGSRCDIR}  
   DISTVER=        ${DISTNAME:S/pkglint-//}
   
 .include "../../mk/bsd.prefs.mk"  .include "../../mk/bsd.prefs.mk"
   
 .if ${OPSYS} == "SunOS"  .if ${OPSYS} == "SunOS"
 NROFF=          gnroff  # This doesn't create readable manual pages. "mandoc" should be added
   # to zoularis.
   NROFF=          nroff -man
 .else  .else
 NROFF=          nroff  NROFF=          nroff -mandoc
 .endif  .endif
   
   do-extract:
           @${MKDIR} ${WRKSRC}/src
   .for FILE in lintpkgsrc.1 lintpkgsrc.pl pkglint.1 pkglint.pl plist-clash.pl
           ${CP} ${FILESDIR}/${FILE} ${WRKSRC}/src/${FILE}
   .endfor
   
 do-build:  do-build:
 .for file in pkglint lintpkgsrc plist-clash  .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}/${file}.pl                \                  -e 's|@DISTVER@|${DISTVER}|g'           \
                 > ${WRKSRC}/${file}                  -e 's|@MAKE@|${MAKE}|g'                 \
                   < ${WRKSRC}/src/${FILE}.pl              \
                   > ${WRKSRC}/${FILE}
 .endfor  .endfor
 .for file in pkglint lintpkgsrc  .for FILE in pkglint lintpkgsrc
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \          ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \                  -e 's|@PORTSDIR@|${_PKGSRCDIR}|g'       \
                 < ${FILESDIR}/${file}.1                 \                  -e 's|@MAKE@|${MAKE}|g'                 \
                 > ${WRKSRC}/${file}.1                  < ${WRKSRC}/src/${FILE}.1               \
         ${NROFF} -mandoc ${WRKSRC}/${file}.1 >${WRKSRC}/${file}.0                  > ${WRKSRC}/${FILE}.1
           ${NROFF} ${WRKSRC}/${FILE}.1 >${WRKSRC}/${FILE}.0
 .endfor  .endfor
   
 do-install:  do-install:

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.159

CVSweb <webmaster@jp.NetBSD.org>