[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.86 and 1.571

version 1.86, 2001/04/17 17:08:41 version 1.571, 2019/03/16 08:35:48
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 DISTNAME=               pkglint-2.44  PKGNAME=        pkglint-5.7.2
 CATEGORIES=             pkgtools devel  PKGREVISION=    1
 MASTER_SITES=           # empty  CATEGORIES=     pkgtools
 DISTFILES=              # empty  DISTNAME=       tools
 MAINTAINER=             hubertf@netbsd.org  GITHUB_PROJECT= tools
 HOMEPAGE=               ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/Packages.txt  GITHUB_TAG=     92d8274bd7b8a4c65f24bafe401a029e58392704
 COMMENT=                Verifier for NetBSD packages and complete pkgsrc tree  
   MAINTAINER=     rillig@NetBSD.org
 USE_PERL5=              YES  HOMEPAGE=       https://github.com/rillig/pkglint
   COMMENT=        Verifier for NetBSD packages
 EXTRACT_ONLY=   # empty  LICENSE=        2-clause-bsd
 NO_WRKSUBDIR=   yes  CONFLICTS+=     pkglint4-[0-9]*
 NO_CHECKSUM=    yes  
 NO_PATCH=       yes  USE_TOOLS+=             pax
 NO_CONFIGURE=   yes  AUTO_MKDIRS=            yes
   GO_SRCPATH=             golang.org/x/tools
   GO_DIST_BASE=           ${GO_SRCPATH}
   GO_BUILD_PATTERN=       netbsd.org/pkglint/...
   CHECK_RELRO_SKIP+=      bin/pkglint
   SUBST_CLASSES+=         pkglint
   SUBST_STAGE.pkglint=    post-configure
   SUBST_FILES.pkglint+=   ${WRKSRC.pkglint}/pkglint.go
   SUBST_SED.pkglint+=     -e s\|@VERSION@\|${PKGVERSION}\|g
   SUBST_SED.pkglint+=     -e s\|@BMAKE@\|${MAKE:T:Q}\|g
   EXTRACT_PAX_ARGS=       -s ',.*/CVS$$,,' -s ',.*/CVS/.*,,'
   WRKSRC.tools=           ${WRKSRC}/golang.org/x/tools
   WRKSRC.pkglint=         ${WRKSRC}/netbsd.org/pkglint
   PREPEND_PATH+=          ${WRKDIR}/bin   # for goyacc
           ${RUN} ${MKDIR} ${WRKSRC.pkglint}
           ${RUN} cd ${FILESDIR} && ${PAX} -rw ${EXTRACT_PAX_ARGS} . ${WRKSRC.pkglint}
           ${RUN} ${MKDIR} ${WRKSRC.tools}
           ${RUN} ${MV} ${WRKDIR}/tools-*/* ${WRKSRC.tools}
           ${RUN} ${PKGSRC_SETENV} ${MAKE_ENV} ${GO} install -v golang.org/x/tools/cmd/goyacc
           ${RUN} ${PKGSRC_SETENV} ${MAKE_ENV} ${GO} generate ${GO_BUILD_PATTERN}
 PKGSRCDIR?=     ${.CURDIR}/../..  do-test:
 MAKE_ENV=       PKGSRCDIR=${PKGSRCDIR}          ${RUN} ${PKGSRC_SETENV} ${MAKE_ENV} ${GO} test -vet=off -v ${GO_BUILD_PATTERN}
           ${RUN} cd ${WRKDIR} && ${PAX} -rw bin/pkglint ${DESTDIR}${PREFIX}
           ${RUN} cd ${WRKDIR} && ${PAX} -rw src/netbsd.org/pkglint        \
                   pkg/${GO_PLATFORM}/netbsd.org/pkglint* ${DESTDIR}${PREFIX}/gopkg
   post-install: do-install-man
   # This needs to come before bsd.prefs.mk so that SSP_SUPPORTED is properly set.
   .include "../../lang/go/go-package.mk"
   WRKSRC=         ${WRKDIR}/src   # Is set unconditionally by go-package.mk
 .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}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/pkglint.1
 .else  .  else
 NROFF=          nroff -mandoc          ${INSTALL_MAN} ${WRKSRC.pkglint}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1
   .  endif
   .if ${MANINSTALL:Mmaninstall}
           ${INSTALL_MAN} ${WRKSRC.pkglint}/pkglint.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 .endif  .endif
 do-build:  # Require devel/go-check even when PKGSRC_RUN_TEST is disabled
 .for FILE in pkglint lintpkgsrc plist-clash  # because netbsd.org/pkglint/intqa depends on it.
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \  # This package is always installed.
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \  BUILDLINK_DEPMETHOD.go-check=   full
                 < ${FILESDIR}/${FILE}.pl                \  
                 > ${WRKSRC}/${FILE}  
 .for FILE in pkglint lintpkgsrc  
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \  
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \  
                 < ${FILESDIR}/${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 "../../devel/go-check/buildlink3.mk"
   .include "../../security/go-crypto/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Removed from v.1.86  
changed lines
  Added in v.1.571

CVSweb <webmaster@jp.NetBSD.org>