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

version 1.78, 2001/02/16 13:06:19 version 1.550, 2018/10/09 19:12:13
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  
   
 DISTNAME=               pkglint-2.37  PKGNAME=        pkglint-5.6.4
 CATEGORIES=             pkgtools 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=             hubertf@netbsd.org  
 HOMEPAGE=               ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/Packages.txt  
   
 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
   
   CHECK_RELRO_SKIP+=      bin/pkglint
   CHECK_RELRO_SKIP+=      bin/plist-clash
   
   SUBST_CLASSES+=         pkglint
   SUBST_STAGE.pkglint=    post-configure
   SUBST_FILES.pkglint+=   pkglint.go
   SUBST_SED.pkglint+=     -e s\|@VERSION@\|${PKGNAME:S/pkglint-//}\|g
   SUBST_SED.pkglint+=     -e s\|@BMAKE@\|${MAKE:T:Q}\|g
   
   do-extract:
           ${RUN} ${MKDIR} ${WRKDIR}/pkglint
           ${RUN} cd ${FILESDIR} && ${PAX} -rw . ${WRKDIR}/pkglint
   
   pre-install:
           ${RUN} rm -rf ${WRKDIR}/pkg
   
 PKGSRCDIR?=     ${.CURDIR}/../..  post-install: do-install-man
 MAKE_ENV=       PKGSRCDIR=${PKGSRCDIR}  
   
 .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.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/pkglint.1
 .else  .  else
 NROFF=          nroff -mandoc          ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1
   .  endif
   .endif
   .if ${MANINSTALL:Mmaninstall}
           ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 .endif  .endif
   
 do-build:  .include "../../lang/go/go-package.mk"
 .for FILE in pkglint lintpkgsrc plist-clash  .if !empty(PKGSRC_RUN_TEST:M[yY][eE][sS])
         ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \  .  include "../../devel/go-check/buildlink3.mk"
                 -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \  .endif
                 < ${FILESDIR}/${FILE}.pl                \  
                 > ${WRKSRC}/${FILE}  
 .endfor  
 .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  
 .endfor  
   
 do-install:  
         ${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 "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Legend:
Removed from v.1.78  
changed lines
  Added in v.1.550

CVSweb <webmaster@jp.NetBSD.org>