aboutsummaryrefslogtreecommitdiff
path: root/lang/runawk/Makefile
blob: 408f3b68a5d9c0181a932208dadae8f20327c89f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Sahil Tandon <sahil@tandon.net>

PORTNAME=	runawk
DISTVERSION=	1.6.1
CATEGORIES=	lang
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Wrapper for AWK interpreter that implements a modules system

LICENSE=	MIT

BUILD_DEPENDS=	mk-configure>=0.26.0:devel/mk-configure

USES=		localbase

MAKE_ENV=	DESTDIR="${STAGEDIR}" EGDIR="${EXAMPLESDIR}"
INSTALL_TARGET=	install

OPTIONS_DEFINE=	DOCS EXAMPLES

DOCS_INSTALL_TARGET=	install-doc
EXAMPLES_INSTALL_TARGET=install-examples

do-build:
	@${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mkcmake -C ${WRKSRC}

do-install:
	@${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mkcmake -C ${WRKSRC} ${INSTALL_TARGET}

.include <bsd.port.mk>