2013-09-20 19:53:09 +00:00
|
|
|
# Created by: Sahil Tandon <sahil@tandon.net>
|
2010-04-03 16:52:52 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= runawk
|
2015-02-16 07:53:56 +00:00
|
|
|
PORTVERSION= 1.6.0
|
2010-04-03 16:52:52 +00:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2014-07-23 17:30:45 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2010-04-03 16:52:52 +00:00
|
|
|
COMMENT= Wrapper for AWK interpreter that implements a modules system
|
|
|
|
|
2014-07-29 05:13:05 +00:00
|
|
|
LICENSE= MIT
|
2010-04-03 16:52:52 +00:00
|
|
|
|
2016-04-01 14:08:37 +00:00
|
|
|
BUILD_DEPENDS= mk-configure>=0.26.0:devel/mk-configure
|
2010-04-03 16:52:52 +00:00
|
|
|
|
2015-02-16 07:53:56 +00:00
|
|
|
MAKE_ENV= DESTDIR="${STAGEDIR}" EGDIR="${EXAMPLESDIR}"
|
|
|
|
INSTALL_TARGET= install install-doc install-examples
|
2010-04-03 16:52:52 +00:00
|
|
|
|
2014-07-29 05:13:05 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2010-10-25 03:16:22 +00:00
|
|
|
|
2014-07-29 05:13:05 +00:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
2011-01-23 19:11:41 +00:00
|
|
|
|
2010-10-25 03:16:22 +00:00
|
|
|
do-build:
|
|
|
|
@${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mkcmake -C ${WRKSRC}
|
|
|
|
|
2010-04-03 16:52:52 +00:00
|
|
|
do-install:
|
2014-07-29 05:13:05 +00:00
|
|
|
@${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mkcmake -C ${WRKSRC} \
|
|
|
|
${INSTALL_TARGET}
|
2010-04-03 16:52:52 +00:00
|
|
|
|
2011-01-23 19:11:41 +00:00
|
|
|
.include <bsd.port.mk>
|