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

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

1.466     rillig      1: # $NetBSD: Makefile,v 1.465 2015/10/19 09:43:59 wiz Exp $
1.1       tsarna      2:
1.467   ! rillig      3: PKGNAME=       pkglint-5.0
        !             4: DISTFILES=     # none
1.305     rillig      5: CATEGORIES=    pkgtools
1.1       tsarna      6:
1.415     wiz         7: OWNER=         wiz@NetBSD.org
1.365     kano        8: HOMEPAGE=      http://www.NetBSD.org/docs/pkgsrc/
1.369     rillig      9: COMMENT=       Verifier for NetBSD packages
1.435     rillig     10: LICENSE=       2-clause-bsd
1.101     hubertf    11:
1.467   ! rillig     12: WRKSRC=                ${WRKDIR}/netbsd.org/pkglint
1.391     cheusov    13: NO_CHECKSUM=   yes
1.343     rillig     14: USE_LANGUAGES= # none
1.367     rillig     15: AUTO_MKDIRS=   yes
1.467   ! rillig     16: GO_SRCPATH=    netbsd.org/pkglint
1.360     rillig     17:
1.207     wiz        18: SUBST_CLASSES+=                pkglint
1.240     rillig     19: SUBST_STAGE.pkglint=   post-configure
1.467   ! rillig     20: SUBST_FILES.pkglint+=  main.go
        !            21: SUBST_SED.pkglint+=    -e s\|@VERSION@\|${PKGNAME:S/pkglint-//}\|g
        !            22: SUBST_SED.pkglint+=    -e s\|@BMAKE@\|${MAKE:Q}\|g
1.180     jschauma   23:
1.186     jschauma   24: do-extract:
1.467   ! rillig     25:        mkdir -p ${WRKDIR}/pkglint/plist-clash
        !            26:        cd ${FILESDIR} && ${PAX} -rw *.go */*.go pkglint.[01] ${WRKDIR}/pkglint
1.424     schmonz    27:
                     28: do-test:
1.467   ! rillig     29:        cd ${WRKSRC} && go test
1.186     jschauma   30:
1.467   ! rillig     31: do-install: do-install-man
        !            32:
        !            33: .include "../../mk/bsd.prefs.mk"
        !            34:
        !            35: do-install-man:
1.364     rillig     36: .if !empty(MANINSTALL:Mcatinstall)
1.434     jperkin    37: .  if defined(CATMAN_SECTION_SUFFIX) && !empty(CATMAN_SECTION_SUFFIX:M[Yy][Ee][Ss])
                     38:        ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/pkglint.1
                     39: .  else
1.364     rillig     40:        ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1
1.434     jperkin    41: .  endif
1.364     rillig     42: .endif
1.238     rillig     43: .if !empty(MANINSTALL:Mmaninstall)
1.354     joerg      44:        ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
1.238     rillig     45: .endif
1.356     rillig     46:
1.467   ! rillig     47: .include "../../lang/go/go-package.mk"
1.1       tsarna     48: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>