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

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

1.513   ! rillig      1: # $NetBSD: Makefile,v 1.512 2017/03/17 22:43:34 rillig Exp $
1.1       tsarna      2:
1.513   ! rillig      3: PKGNAME=       pkglint-5.4.20
1.467     rillig      4: DISTFILES=     # none
1.305     rillig      5: CATEGORIES=    pkgtools
1.1       tsarna      6:
1.501     rillig      7: MAINTAINER=    rillig@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.468     rillig     11: CONFLICTS+=    pkglint4-[0-9]*
1.101     hubertf    12:
1.391     cheusov    13: NO_CHECKSUM=   yes
1.505     rillig     14: USE_LANGUAGES= c
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.207     wiz        19: SUBST_CLASSES+=                pkglint
1.240     rillig     20: SUBST_STAGE.pkglint=   post-configure
1.506     rillig     21: SUBST_FILES.pkglint+=  pkglint.go package_test.go
1.467     rillig     22: SUBST_SED.pkglint+=    -e s\|@VERSION@\|${PKGNAME:S/pkglint-//}\|g
                     23: SUBST_SED.pkglint+=    -e s\|@BMAKE@\|${MAKE:Q}\|g
1.180     jschauma   24:
1.186     jschauma   25: do-extract:
1.508     tron       26:        ${RUN} ${MKDIR} ${WRKDIR}/pkglint
1.506     rillig     27:        ${RUN} cd ${FILESDIR} && ${PAX} -rw . ${WRKDIR}/pkglint
1.488     rillig     28:
1.506     rillig     29: pre-install:
                     30:        ${RUN} rm -rf ${WRKDIR}/pkg
                     31:
1.512     rillig     32: post-install: do-install-man
1.467     rillig     33:
                     34: .include "../../mk/bsd.prefs.mk"
                     35:
1.478     rillig     36: do-install-man: .PHONY
1.506     rillig     37: .if ${MANINSTALL:Mcatinstall}
                     38: .  if ${CATMAN_SECTION_SUFFIX:M[Yy][Ee][Ss]}
1.434     jperkin    39:        ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/pkglint.1
                     40: .  else
1.364     rillig     41:        ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1
1.434     jperkin    42: .  endif
1.364     rillig     43: .endif
1.506     rillig     44: .if ${MANINSTALL:Mmaninstall}
1.354     joerg      45:        ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
1.238     rillig     46: .endif
1.356     rillig     47:
1.467     rillig     48: .include "../../lang/go/go-package.mk"
1.478     rillig     49: .if !empty(PKGSRC_RUN_TEST:M[yY][eE][sS])
1.506     rillig     50: .  include "../../devel/go-check/buildlink3.mk"
1.478     rillig     51: .endif
1.1       tsarna     52: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>