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

version 1.4, 1998/09/27 18:37:51 version 1.510, 2017/01/18 23:05:43
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  
   
 DISTNAME=               pkglint-1.66  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=             packages@netbsd.org  
 HOMEPAGE=               http://www.netbsd.org/Documentation/netbsd/Packages.txt  
   
 USE_PERL5=              YES  
   
 EXTRACT_ONLY=   # empty  
 NO_WRKSUBDIR=   yes  
 NO_CHECKSUM=    yes  NO_CHECKSUM=    yes
 NO_PATCH=       yes  USE_LANGUAGES=  c
 NO_CONFIGURE=   yes  USE_TOOLS+=     pax
   AUTO_MKDIRS=    yes
 MAKE_ENV=               PKGSRCDIR=${.CURDIR}/../..  GO_SRCPATH=     netbsd.org/pkglint
   
 do-build:  SUBST_CLASSES+=         pkglint
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \  SUBST_STAGE.pkglint=    post-configure
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \  SUBST_FILES.pkglint+=   pkglint.go package_test.go
                 < ${FILESDIR}/pkglint.pl                \  SUBST_SED.pkglint+=     -e s\|@VERSION@\|${PKGNAME:S/pkglint-//}\|g
                 > ${WRKSRC}/pkglint  SUBST_SED.pkglint+=     -e s\|@BMAKE@\|${MAKE:Q}\|g
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \  
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \  do-extract:
                 < ${FILESDIR}/lintpkgsrc.sh             \          ${RUN} ${MKDIR} ${WRKDIR}/pkglint
                 > ${WRKSRC}/lintpkgsrc          ${RUN} cd ${FILESDIR} && ${PAX} -rw . ${WRKDIR}/pkglint
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \  
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \  pre-build:
                 < ${FILESDIR}/plist-clash.pl            \          ${RUN} env GOPATH=${WRKDIR}:${BUILDLINK_DIR}/gopkg go generate ${GO_BUILD_PATTERN}
                 > ${WRKSRC}/plist-clash  
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \  pre-install:
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \          ${RUN} rm -rf ${WRKDIR}/pkg
                 < ${FILESDIR}/pkglint.1         \  
                 > ${WRKSRC}/pkglint.1  do-install: do-install-man
         nroff -mandoc ${WRKSRC}/pkglint.1 >${WRKSRC}/pkglint.0  
   .include "../../mk/bsd.prefs.mk"
 do-install:  
         ${INSTALL_SCRIPT} ${WRKSRC}/pkglint ${PREFIX}/bin/pkglint  do-install-man: .PHONY
         ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc ${PREFIX}/bin/lintpkgsrc  .if ${MANINSTALL:Mcatinstall}
         ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash ${PREFIX}/bin/plist-clash  .  if ${CATMAN_SECTION_SUFFIX:M[Yy][Ee][Ss]}
         ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1          ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/pkglint.1
         ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${PREFIX}/man/cat1  .  else
           ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1
   .  endif
   .endif
   .if ${MANINSTALL:Mmaninstall}
           ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
   .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.4  
changed lines
  Added in v.1.510

CVSweb <webmaster@jp.NetBSD.org>