summaryrefslogtreecommitdiff
path: root/textproc/jrep/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/jrep/Makefile')
-rw-r--r--textproc/jrep/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/textproc/jrep/Makefile b/textproc/jrep/Makefile
new file mode 100644
index 00000000000..2ead8eca42c
--- /dev/null
+++ b/textproc/jrep/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2016/05/29 07:06:35 cheusov Exp $
+#
+
+DISTNAME= jrep-0.6.0
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=cheusov/}
+GITHUB_PROJECT= jrep
+#GITHUB_RELEASE= ${DISTNAME}
+
+MAINTAINER= cheusov@NetBSD.org
+HOMEPAGE= https://github.com/cheusov/jrep
+COMMENT= Command-line grep-like utility written in Java
+
+TOOL_DEPENDS+= apache-maven-[0-9]*:../../devel/apache-maven
+SUPERSEDES+= jgrep-[0-9]*
+
+LICENSE= apache-2.0
+
+USE_LANGUAGES= c
+USE_JAVA= yes
+
+TEST_TARGET= test
+
+MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR}
+
+MAVEN_FLAGS+= -Duser.home=${FAKEHOMEDIR}
+MAVEN_FLAGS+= -Dmaven.repo.local=${WRKDIR}/deps
+MAVEN_FLAGS+= --offline
+
+.include "../../devel/mk-configure/mk-c.mk"
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"