[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.1 and 1.550

version 1.1, 1998/08/07 22:11:40 version 1.550, 2018/10/09 19:12:13
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  
   
 DISTNAME=               pkglint-1.65  PKGNAME=        pkglint-5.6.4
 CATEGORIES=             devel  DISTFILES=      # none
 MASTER_SITES=           # empty  CATEGORIES=     pkgtools
 DISTFILES=              # empty  
   MAINTAINER=     rillig@NetBSD.org
   HOMEPAGE=       https://github.com/rillig/pkglint
   COMMENT=        Verifier for NetBSD packages
   LICENSE=        2-clause-bsd
   CONFLICTS+=     pkglint4-[0-9]*
   
 MAINTAINER=             frueauf@netbsd.org  
   
 USE_PERL5=              YES  
   
 EXTRACT_ONLY=   # empty  
 NO_WRKSUBDIR=   yes  
 NO_CHECKSUM=    yes  NO_CHECKSUM=    yes
 NO_PATCH=       yes  USE_TOOLS+=     pax
 NO_CONFIGURE=   yes  AUTO_MKDIRS=    yes
   GO_SRCPATH=     netbsd.org/pkglint
 MAKE_ENV=               PKGSRCDIR=${.CURDIR}/../..  
   CHECK_RELRO_SKIP+=      bin/pkglint
 do-build:  CHECK_RELRO_SKIP+=      bin/plist-clash
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \  
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \  SUBST_CLASSES+=         pkglint
                 < ${FILESDIR}/pkglint.pl                \  SUBST_STAGE.pkglint=    post-configure
                 > ${WRKSRC}/pkglint  SUBST_FILES.pkglint+=   pkglint.go
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \  SUBST_SED.pkglint+=     -e s\|@VERSION@\|${PKGNAME:S/pkglint-//}\|g
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \  SUBST_SED.pkglint+=     -e s\|@BMAKE@\|${MAKE:T:Q}\|g
                 < ${FILESDIR}/lintpkgsrc.sh             \  
                 > ${WRKSRC}/lintpkgsrc  do-extract:
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \          ${RUN} ${MKDIR} ${WRKDIR}/pkglint
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \          ${RUN} cd ${FILESDIR} && ${PAX} -rw . ${WRKDIR}/pkglint
                 < ${FILESDIR}/plist-clash.pl            \  
                 > ${WRKSRC}/plist-clash  pre-install:
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \          ${RUN} rm -rf ${WRKDIR}/pkg
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \  
                 < ${FILESDIR}/pkglint.1         \  post-install: do-install-man
                 > ${WRKSRC}/pkglint.1  
         nroff -mandoc ${WRKSRC}/pkglint.1 >${WRKSRC}/pkglint.0  .include "../../mk/bsd.prefs.mk"
   
 do-install:  do-install-man: .PHONY
         ${INSTALL_SCRIPT} ${WRKSRC}/pkglint ${PREFIX}/bin/pkglint  .if ${MANINSTALL:Mcatinstall}
         ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc ${PREFIX}/bin/lintpkgsrc  .  if ${CATMAN_SECTION_SUFFIX:M[Yy][Ee][Ss]}
         ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash ${PREFIX}/bin/plist-clash          ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/pkglint.1
         ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1  .  else
         ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${PREFIX}/man/cat1          ${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.1  
changed lines
  Added in v.1.550

CVSweb <webmaster@jp.NetBSD.org>