60b162c57a
Reported by: portscout
32 lines
745 B
Makefile
32 lines
745 B
Makefile
# Created by: Sahil Tandon <sahil@tandon.net>
|
|
# $FreeBSD$
|
|
|
|
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>
|