blob: de9ef2936cd142930faf595a4333d1bc2b61e240 (
plain)
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>
# $FreeBSD$
PORTNAME= runawk
PORTVERSION= 1.6.0
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
MAKE_ENV= DESTDIR="${STAGEDIR}" EGDIR="${EXAMPLESDIR}"
INSTALL_TARGET= install install-doc install-examples
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DOCS 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>
|