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

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

1.493   ! bsiegert    1: # $NetBSD: Makefile,v 1.492 2016/07/10 21:24:47 rillig Exp $
1.1       tsarna      2:
1.492     rillig      3: PKGNAME=       pkglint-5.4.7
1.493   ! bsiegert    4: PKGREVISION=   1
1.467     rillig      5: DISTFILES=     # none
1.305     rillig      6: CATEGORIES=    pkgtools
1.1       tsarna      7:
1.475     rillig      8: OWNER=         rillig@NetBSD.org
1.365     kano        9: HOMEPAGE=      http://www.NetBSD.org/docs/pkgsrc/
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.467     rillig     14: WRKSRC=                ${WRKDIR}/netbsd.org/pkglint
1.391     cheusov    15: NO_CHECKSUM=   yes
1.343     rillig     16: USE_LANGUAGES= # none
1.478     rillig     17: USE_TOOLS+=    pax
1.367     rillig     18: AUTO_MKDIRS=   yes
1.467     rillig     19: GO_SRCPATH=    netbsd.org/pkglint
1.360     rillig     20:
1.207     wiz        21: SUBST_CLASSES+=                pkglint
1.240     rillig     22: SUBST_STAGE.pkglint=   post-configure
1.485     rillig     23: SUBST_FILES.pkglint+=  main.go package_test.go
1.467     rillig     24: SUBST_SED.pkglint+=    -e s\|@VERSION@\|${PKGNAME:S/pkglint-//}\|g
                     25: SUBST_SED.pkglint+=    -e s\|@BMAKE@\|${MAKE:Q}\|g
1.180     jschauma   26:
1.186     jschauma   27: do-extract:
1.478     rillig     28:        ${RUN} mkdir -p ${WRKDIR}/pkglint/plist-clash
1.488     rillig     29:        ${RUN} cd ${FILESDIR} && ${PAX} -rw *.go *.y */*.go pkglint.[01] ${WRKDIR}/pkglint
                     30:
                     31: pre-build:
                     32:        ${RUN} env GOPATH=${WRKDIR}:${BUILDLINK_DIR}/gopkg go generate ${GO_BUILD_PATTERN}
1.186     jschauma   33:
1.467     rillig     34: do-install: do-install-man
                     35:
                     36: .include "../../mk/bsd.prefs.mk"
                     37:
1.478     rillig     38: do-install-man: .PHONY
1.364     rillig     39: .if !empty(MANINSTALL:Mcatinstall)
1.434     jperkin    40: .  if defined(CATMAN_SECTION_SUFFIX) && !empty(CATMAN_SECTION_SUFFIX:M[Yy][Ee][Ss])
                     41:        ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/pkglint.1
                     42: .  else
1.364     rillig     43:        ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1
1.434     jperkin    44: .  endif
1.364     rillig     45: .endif
1.238     rillig     46: .if !empty(MANINSTALL:Mmaninstall)
1.354     joerg      47:        ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
1.238     rillig     48: .endif
1.356     rillig     49:
1.467     rillig     50: .include "../../lang/go/go-package.mk"
1.478     rillig     51: .if !empty(PKGSRC_RUN_TEST:M[yY][eE][sS])
                     52: .include "../../devel/go-check/buildlink3.mk"
                     53: .endif
1.1       tsarna     54: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>