[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.174 and 1.510

version 1.174, 2004/01/05 11:32:40 version 1.510, 2017/01/18 23:05:43
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 DISTNAME=       pkglint-3.66  PKGNAME=        pkglint-5.4.17
 WRKSRC=         ${WRKDIR}  DISTFILES=      # none
 CATEGORIES=     pkgtools devel  CATEGORIES=     pkgtools
 MASTER_SITES=   # empty  
 DISTFILES=      # empty  MAINTAINER=     rillig@NetBSD.org
   HOMEPAGE=       http://www.NetBSD.org/docs/pkgsrc/
   COMMENT=        Verifier for NetBSD packages
   LICENSE=        2-clause-bsd
   CONFLICTS+=     pkglint4-[0-9]*
 MAINTAINER=     hubertf@NetBSD.org  
 HOMEPAGE=       ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/Packages.txt  
 COMMENT=        Verifier for NetBSD packages and complete pkgsrc tree  
 DEPENDS+=       digest>=20010101:../../pkgtools/digest  
 PKG_INSTALLATION_TYPES= overwrite pkgviews  
 USE_PERL5=      yes  
 NO_BUILDLINK=   yes  
 NO_CHECKSUM=    yes  NO_CHECKSUM=    yes
   USE_TOOLS+=     pax
   AUTO_MKDIRS=    yes
   GO_SRCPATH=     netbsd.org/pkglint
   SUBST_CLASSES+=         pkglint
   SUBST_STAGE.pkglint=    post-configure
   SUBST_FILES.pkglint+=   pkglint.go package_test.go
   SUBST_SED.pkglint+=     -e s\|@VERSION@\|${PKGNAME:S/pkglint-//}\|g
   SUBST_SED.pkglint+=     -e s\|@BMAKE@\|${MAKE:Q}\|g
           ${RUN} ${MKDIR} ${WRKDIR}/pkglint
           ${RUN} cd ${FILESDIR} && ${PAX} -rw . ${WRKDIR}/pkglint
 MAKE_ENV=       PKGSRCDIR=${_PKGSRCDIR:Q}  pre-build:
           ${RUN} env GOPATH=${WRKDIR}:${BUILDLINK_DIR}/gopkg go generate ${GO_BUILD_PATTERN}
 DISTVER=        ${DISTNAME:S/pkglint-//}  pre-install:
           ${RUN} rm -rf ${WRKDIR}/pkg
 INSTALLATION_DIRS=      bin man/cat1 man/man1  do-install: do-install-man
 .include "../../mk/bsd.prefs.mk"  .include "../../mk/bsd.prefs.mk"
 .if ${OPSYS} == "SunOS"  do-install-man: .PHONY
 # This doesn't create readable manual pages. "mandoc" should be added  .if ${MANINSTALL:Mcatinstall}
 # to zoularis.  .  if ${CATMAN_SECTION_SUFFIX:M[Yy][Ee][Ss]}
 NROFF=          nroff -man          ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/pkglint.1
 .else  .  else
 NROFF=          nroff -mandoc          ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1
   .  endif
   .if ${MANINSTALL:Mmaninstall}
           ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 .endif  .endif
 do-extract:  .include "../../lang/go/go-package.mk"
         @${MKDIR} ${WRKSRC}/src  .if !empty(PKGSRC_RUN_TEST:M[yY][eE][sS])
 .for FILE in lintpkgsrc.1 lintpkgsrc.pl pkglint.1 pkglint.pl plist-clash.pl  .  include "../../devel/go-check/buildlink3.mk"
         ${CP} ${FILESDIR}/${FILE} ${WRKSRC}/src/${FILE}  .endif
 .for FILE in pkglint lintpkgsrc plist-clash  
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \  
                 -e 's|@PORTSDIR@|${_PKGSRCDIR}|g'       \  
                 -e 's|@DISTVER@|${DISTVER}|g'           \  
                 -e 's|@MAKE@|${MAKE}|g'                 \  
                 < ${WRKSRC}/src/${FILE}.pl              \  
                 > ${WRKSRC}/${FILE}  
 .for FILE in pkglint lintpkgsrc  
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \  
                 -e 's|@PORTSDIR@|${_PKGSRCDIR}|g'       \  
                 -e 's|@MAKE@|${MAKE}|g'                 \  
                 < ${WRKSRC}/src/${FILE}.1               \  
                 > ${WRKSRC}/${FILE}.1  
         ${NROFF} ${WRKSRC}/${FILE}.1 >${WRKSRC}/${FILE}.0  
         ${INSTALL_SCRIPT} ${WRKSRC}/pkglint ${PREFIX}/bin/pkglint  
         ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc ${PREFIX}/bin/lintpkgsrc  
         ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash ${PREFIX}/bin/plist-clash  
         ${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.1 ${PREFIX}/man/man1  
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Removed from v.1.174  
changed lines
  Added in v.1.510

CVSweb <webmaster@jp.NetBSD.org>