[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.471 and 1.555

version 1.471, 2015/12/05 15:16:29 version 1.555, 2018/11/08 19:41:32
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
   
 PKGNAME=        pkglint-5.2.1  PKGNAME=        pkglint-5.6.6
 DISTFILES=      # none  DISTFILES=      # none
 CATEGORIES=     pkgtools  CATEGORIES=     pkgtools
   
 OWNER=          wiz@NetBSD.org  MAINTAINER=     rillig@NetBSD.org
 HOMEPAGE=       http://www.NetBSD.org/docs/pkgsrc/  HOMEPAGE=       https://github.com/rillig/pkglint
 COMMENT=        Verifier for NetBSD packages  COMMENT=        Verifier for NetBSD packages
 LICENSE=        2-clause-bsd  LICENSE=        2-clause-bsd
 CONFLICTS+=     pkglint4-[0-9]*  CONFLICTS+=     pkglint4-[0-9]*
   
 WRKSRC=         ${WRKDIR}/netbsd.org/pkglint  
 NO_CHECKSUM=    yes  NO_CHECKSUM=    yes
 USE_LANGUAGES=  # none  USE_TOOLS+=     pax
 AUTO_MKDIRS=    yes  AUTO_MKDIRS=    yes
 GO_SRCPATH=     netbsd.org/pkglint  GO_SRCPATH=     netbsd.org/pkglint
   
   CHECK_RELRO_SKIP+=      bin/pkglint
   
 SUBST_CLASSES+=         pkglint  SUBST_CLASSES+=         pkglint
 SUBST_STAGE.pkglint=    post-configure  SUBST_STAGE.pkglint=    post-configure
 SUBST_FILES.pkglint+=   main.go  SUBST_FILES.pkglint+=   pkglint.go
 SUBST_SED.pkglint+=     -e s\|@VERSION@\|${PKGNAME:S/pkglint-//}\|g  SUBST_SED.pkglint+=     -e s\|@VERSION@\|${PKGNAME:S/pkglint-//}\|g
 SUBST_SED.pkglint+=     -e s\|@BMAKE@\|${MAKE:Q}\|g  SUBST_SED.pkglint+=     -e s\|@BMAKE@\|${MAKE:T:Q}\|g
   
   TOOLS_CREATE+=          goyacc
   TOOLS_PATH.goyacc=      ${WRKDIR}/bin/goyacc
   USE_TOOLS+=             goyacc
   
   # This needs to come before bsd.prefs.mk so that SSP_SUPPORTED is properly set.
   .include "../../lang/go/go-package.mk"
   
   .include "../../mk/bsd.prefs.mk"
   
 do-extract:  do-extract:
         mkdir -p ${WRKDIR}/pkglint/plist-clash          ${RUN} ${MKDIR} ${WRKDIR}/pkglint
         cd ${FILESDIR} && ${PAX} -rw *.go */*.go pkglint.[01] ${WRKDIR}/pkglint          ${RUN} cd ${FILESDIR} && ${PAX} -rw . ${WRKDIR}/pkglint
   .if !${PKGSRC_RUN_TEST:M[yY][eE][sS]}
           ${RUN} rm -rf ${WRKDIR}/pkglint/intqa
   .endif
           ${RUN} ${PKGSRC_SETENV} ${MAKE_ENV} ${GO} get golang.org/x/tools/cmd/goyacc
           ${RUN} ${PKGSRC_SETENV} ${MAKE_ENV} ${GO} install golang.org/x/tools/cmd/goyacc
   
 do-test:  pre-build:
         cd ${WRKSRC} && go test          ${RUN} ${PKGSRC_SETENV} ${MAKE_ENV} ${GO} generate ${GO_BUILD_PATTERN}
   
 do-install: do-install-man  pre-install:
           ${RUN} rm -f ${WRKDIR}/bin/goyacc
           ${RUN} rm -rf ${WRKDIR}/pkg
   
 .include "../../mk/bsd.prefs.mk"  post-install: do-install-man
   
 do-install-man:  do-install-man: .PHONY
 .if !empty(MANINSTALL:Mcatinstall)  .if ${MANINSTALL:Mcatinstall}
 .  if defined(CATMAN_SECTION_SUFFIX) && !empty(CATMAN_SECTION_SUFFIX:M[Yy][Ee][Ss])  .  if ${CATMAN_SECTION_SUFFIX:M[Yy][Ee][Ss]}
         ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/pkglint.1          ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/pkglint.1
 .  else  .  else
         ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1          ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1
 .  endif  .  endif
 .endif  .endif
 .if !empty(MANINSTALL:Mmaninstall)  .if ${MANINSTALL:Mmaninstall}
         ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1          ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 .endif  .endif
   
 .include "../../lang/go/go-package.mk"  .if !empty(PKGSRC_RUN_TEST:M[yY][eE][sS])
   .  include "../../devel/go-check/buildlink3.mk"
   .endif
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Legend:
Removed from v.1.471  
changed lines
  Added in v.1.555

CVSweb <webmaster@jp.NetBSD.org>