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

version 1.470, 2015/12/05 08:54:08 version 1.510, 2017/01/18 23:05:43
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
   
 PKGNAME=        pkglint-5.2  PKGNAME=        pkglint-5.4.17
 DISTFILES=      # none  DISTFILES=      # none
 CATEGORIES=     pkgtools  CATEGORIES=     pkgtools
   
 OWNER=          wiz@NetBSD.org  MAINTAINER=     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
 CONFLICTS+=     pkglint4-[0-9]*  CONFLICTS+=     pkglint4-[0-9]*
   
 WRKSRC=         ${WRKDIR}/netbsd.org/pkglint  
 NO_CHECKSUM=    yes  NO_CHECKSUM=    yes
 USE_LANGUAGES=  # none  USE_LANGUAGES=  c
   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+=   pkglint.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} ${WRKDIR}/pkglint
         cd ${FILESDIR} && ${PAX} -rw *.go */*.go pkglint.[01] ${WRKDIR}/pkglint          ${RUN} cd ${FILESDIR} && ${PAX} -rw . ${WRKDIR}/pkglint
   
 do-test:  pre-build:
         cd ${WRKSRC} && go test          ${RUN} env GOPATH=${WRKDIR}:${BUILDLINK_DIR}/gopkg go generate ${GO_BUILD_PATTERN}
   
   pre-install:
           ${RUN} rm -rf ${WRKDIR}/pkg
   
 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 ${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"  .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.470  
changed lines
  Added in v.1.510

CVSweb <webmaster@jp.NetBSD.org>