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

version 1.218, 2005/02/14 22:14:48 version 1.510, 2017/01/18 23:05:43
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  
   
 DISTNAME=       pkglint-4.04  PKGNAME=        pkglint-5.4.17
 CATEGORIES=     pkgtools devel  DISTFILES=      # none
 MASTER_SITES=   # empty  CATEGORIES=     pkgtools
 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  NO_CHECKSUM=    yes
 HOMEPAGE=       ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/Packages.txt  USE_LANGUAGES=  c
 COMMENT=        Verifier for NetBSD packages and complete pkgsrc tree  USE_TOOLS+=     pax
   AUTO_MKDIRS=    yes
 DEPENDS+=       digest>=20010101:../../pkgtools/digest  GO_SRCPATH=     netbsd.org/pkglint
   
 PKG_INSTALLATION_TYPES= overwrite pkgviews  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
   
 USE_PERL5=      yes  do-extract:
           ${RUN} ${MKDIR} ${WRKDIR}/pkglint
           ${RUN} cd ${FILESDIR} && ${PAX} -rw . ${WRKDIR}/pkglint
   
 WRKSRC=         ${WRKDIR}  pre-build:
 NO_BUILDLINK=   yes          ${RUN} env GOPATH=${WRKDIR}:${BUILDLINK_DIR}/gopkg go generate ${GO_BUILD_PATTERN}
 NO_CHECKSUM=    yes  
 NO_CONFIGURE=   yes  
 USE_LANGUAGES=  # empty  
   
 DISTVER=        ${DISTNAME:S/pkglint-//}  pre-install:
           ${RUN} rm -rf ${WRKDIR}/pkg
   
 INSTALLATION_DIRS=      bin man/cat1 man/man1 share/pkglint  do-install: do-install-man
   
 SUBST_CLASSES+=         pkglint  
 SUBST_STAGE.pkglint=    pre-build  
 SUBST_FILES.pkglint+=   lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl  
 SUBST_FILES.pkglint+=   pkglint.0 pkglint.1 pkglint.pl  
 SUBST_FILES.pkglint+=   plist-clash.pl  
 SUBST_SED.pkglint+=     -e 's|@PREFIX@|${PREFIX}|g'  
 SUBST_SED.pkglint+=     -e 's|@PKGSRCDIR@|${PKGSRCDIR}|g'  
 SUBST_SED.pkglint+=     -e 's|@DISTVER@|${DISTVER}|g'  
 SUBST_SED.pkglint+=     -e 's|@MAKE@|${MAKE}|g'  
 SUBST_SED.pkglint+=     -e 's|@PERL@|${PERL5}|g'  
 SUBST_SED.pkglint+=     -e 's|@DATADIR@|${PREFIX}/share/pkglint|g'  
   
 .include "../../mk/bsd.prefs.mk"  .include "../../mk/bsd.prefs.mk"
   
 do-extract:  do-install-man: .PHONY
 .for _f_ in ${SUBST_FILES.pkglint}  .if ${MANINSTALL:Mcatinstall}
         @${CP} ${FILESDIR}/${_f_} ${WRKSRC}/${_f_}  .  if ${CATMAN_SECTION_SUFFIX:M[Yy][Ee][Ss]}
 .endfor          ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/pkglint.1
   .  else
 do-build:          ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1
         @${DO_NADA}  .  endif
 .if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX"  .endif
    # the pre-generated man-pages are 'mandoc';  these OS need 'man'  .if ${MANINSTALL:Mmaninstall}
 .  for FILE in lintpkgsrc pkglint          ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
         nroff -man ${WRKSRC}/${FILE}.1 > ${WRKSRC}/${FILE}.0  
 .  endfor  
 .endif  .endif
   
 do-install:  .include "../../lang/go/go-package.mk"
         ${INSTALL_SCRIPT} ${WRKSRC}/pkglint.pl ${PREFIX}/bin/pkglint  .if !empty(PKGSRC_RUN_TEST:M[yY][eE][sS])
         ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc.pl ${PREFIX}/bin/lintpkgsrc  .  include "../../devel/go-check/buildlink3.mk"
         ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash.pl ${PREFIX}/bin/plist-clash  .endif
         ${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  
         ${INSTALL_DATA} ${FILESDIR}/makevars.map ${PREFIX}/share/pkglint/  
   
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Legend:
Removed from v.1.218  
changed lines
  Added in v.1.510

CVSweb <webmaster@jp.NetBSD.org>