[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.498

version 1.471, 2015/12/05 15:16:29 version 1.498, 2016/10/29 08:59:48
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
   
 PKGNAME=        pkglint-5.2.1  PKGNAME=        pkglint-5.4.9.1
   PKGREVISION=    1
 DISTFILES=      # none  DISTFILES=      # none
 CATEGORIES=     pkgtools  CATEGORIES=     pkgtools
   
 OWNER=          wiz@NetBSD.org  OWNER=          rillig@NetBSD.org
 HOMEPAGE=       http://www.NetBSD.org/docs/pkgsrc/  HOMEPAGE=       http://www.NetBSD.org/docs/pkgsrc/
 COMMENT=        Verifier for NetBSD packages  COMMENT=        Verifier for NetBSD packages
 LICENSE=        2-clause-bsd  LICENSE=        2-clause-bsd
Line 13  CONFLICTS+= pkglint4-[0-9]*
Line 14  CONFLICTS+= pkglint4-[0-9]*
 WRKSRC=         ${WRKDIR}/netbsd.org/pkglint  WRKSRC=         ${WRKDIR}/netbsd.org/pkglint
 NO_CHECKSUM=    yes  NO_CHECKSUM=    yes
 USE_LANGUAGES=  # none  USE_LANGUAGES=  # none
   USE_TOOLS+=     pax
 AUTO_MKDIRS=    yes  AUTO_MKDIRS=    yes
 GO_SRCPATH=     netbsd.org/pkglint  GO_SRCPATH=     netbsd.org/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+=   main.go package_test.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:Q}\|g
   
 do-extract:  do-extract:
         mkdir -p ${WRKDIR}/pkglint/plist-clash          ${RUN} mkdir -p ${WRKDIR}/pkglint/plist-clash
         cd ${FILESDIR} && ${PAX} -rw *.go */*.go pkglint.[01] ${WRKDIR}/pkglint          ${RUN} cd ${FILESDIR} && ${PAX} -rw *.go *.y */*.go pkglint.[01] ${WRKDIR}/pkglint
   
 do-test:  pre-build:
         cd ${WRKSRC} && go test          ${RUN} env GOPATH=${WRKDIR}:${BUILDLINK_DIR}/gopkg go generate ${GO_BUILD_PATTERN}
   
 do-install: do-install-man  do-install: do-install-man
   
 .include "../../mk/bsd.prefs.mk"  .include "../../mk/bsd.prefs.mk"
   
 do-install-man:  do-install-man: .PHONY
 .if !empty(MANINSTALL:Mcatinstall)  .if !empty(MANINSTALL:Mcatinstall)
 .  if defined(CATMAN_SECTION_SUFFIX) && !empty(CATMAN_SECTION_SUFFIX:M[Yy][Ee][Ss])  .  if defined(CATMAN_SECTION_SUFFIX) && !empty(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
Line 46  do-install-man:
Line 48  do-install-man:
 .endif  .endif
   
 .include "../../lang/go/go-package.mk"  .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.498

CVSweb <webmaster@jp.NetBSD.org>