[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkglint

Annotation of pkgsrc/pkgtools/pkglint/Makefile, Revision 1.553

1.553   ! bsiegert    1: # $NetBSD: Makefile,v 1.552 2018/10/19 15:17:26 jperkin Exp $
1.1       tsarna      2:
1.551     rillig      3: PKGNAME=       pkglint-5.6.5
1.553   ! bsiegert    4: PKGREVISION=   1
1.467     rillig      5: DISTFILES=     # none
1.305     rillig      6: CATEGORIES=    pkgtools
1.1       tsarna      7:
1.501     rillig      8: MAINTAINER=    rillig@NetBSD.org
1.527     rillig      9: HOMEPAGE=      https://github.com/rillig/pkglint
1.369     rillig     10: COMMENT=       Verifier for NetBSD packages
1.435     rillig     11: LICENSE=       2-clause-bsd
1.468     rillig     12: CONFLICTS+=    pkglint4-[0-9]*
1.101     hubertf    13:
1.391     cheusov    14: NO_CHECKSUM=   yes
1.478     rillig     15: USE_TOOLS+=    pax
1.367     rillig     16: AUTO_MKDIRS=   yes
1.467     rillig     17: GO_SRCPATH=    netbsd.org/pkglint
1.360     rillig     18:
1.516     wiz        19: CHECK_RELRO_SKIP+=     bin/pkglint
                     20: CHECK_RELRO_SKIP+=     bin/plist-clash
                     21:
1.207     wiz        22: SUBST_CLASSES+=                pkglint
1.240     rillig     23: SUBST_STAGE.pkglint=   post-configure
1.533     rillig     24: SUBST_FILES.pkglint+=  pkglint.go
1.467     rillig     25: SUBST_SED.pkglint+=    -e s\|@VERSION@\|${PKGNAME:S/pkglint-//}\|g
1.545     rillig     26: SUBST_SED.pkglint+=    -e s\|@BMAKE@\|${MAKE:T:Q}\|g
1.180     jschauma   27:
1.186     jschauma   28: do-extract:
1.508     tron       29:        ${RUN} ${MKDIR} ${WRKDIR}/pkglint
1.506     rillig     30:        ${RUN} cd ${FILESDIR} && ${PAX} -rw . ${WRKDIR}/pkglint
1.488     rillig     31:
1.506     rillig     32: pre-install:
                     33:        ${RUN} rm -rf ${WRKDIR}/pkg
                     34:
1.512     rillig     35: post-install: do-install-man
1.467     rillig     36:
1.552     jperkin    37: # This needs to come before bsd.prefs.mk so that SSP_SUPPORTED is properly set.
                     38: .include "../../lang/go/go-package.mk"
                     39:
1.467     rillig     40: .include "../../mk/bsd.prefs.mk"
                     41:
1.478     rillig     42: do-install-man: .PHONY
1.506     rillig     43: .if ${MANINSTALL:Mcatinstall}
                     44: .  if ${CATMAN_SECTION_SUFFIX:M[Yy][Ee][Ss]}
1.434     jperkin    45:        ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/pkglint.1
                     46: .  else
1.364     rillig     47:        ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1
1.434     jperkin    48: .  endif
1.364     rillig     49: .endif
1.506     rillig     50: .if ${MANINSTALL:Mmaninstall}
1.354     joerg      51:        ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
1.238     rillig     52: .endif
1.356     rillig     53:
1.478     rillig     54: .if !empty(PKGSRC_RUN_TEST:M[yY][eE][sS])
1.506     rillig     55: .  include "../../devel/go-check/buildlink3.mk"
1.478     rillig     56: .endif
1.1       tsarna     57: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>