pkgsrc/databases/liquibase/Makefile
maya 8bdd28441e Add new package liquibase
Liquibase is an open source (Apache 2.0 Licensed), database-independent
library for tracking, managing and applying database changes. It is
built on a simple premise: All database changes are stored in a human
readable, yet trackable, form and checked into source control.

Provided by mmoll in netbsd/pkgsrc pull request #6, with some changes from
myself.
2017-07-31 14:23:05 +00:00

33 lines
897 B
Makefile

# $NetBSD: Makefile,v 1.1 2017/07/31 14:23:05 maya Exp $
VERSION= 3.5.3
PKGNAME= liquibase-${VERSION}
DISTNAME= ${PKGNAME}-bin
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_GITHUB:=liquibase/}
GITHUB_RELEASE= liquibase-parent-${VERSION}
NO_BUILD= yes
AUTO_MKDIRS= yes
WRKSRC= ${WRKDIR}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/liquibase/liquibase/
COMMENT= Database Change Management
LICENSE= apache-2.0
USE_JAVA= run
USE_JAVA2= 6
SUBST_CLASSES+= javabin
SUBST_STAGE.javabin= pre-configure
SUBST_FILES.javabin= liquibase
SUBST_VARS.javabin= JAVA_BINPREFIX
do-install:
${INSTALL_DATA} ${WRKSRC}/liquibase.jar ${DESTDIR}${PREFIX}/share/liquibase
${INSTALL_DATA} ${WRKSRC}/lib/snakeyaml-1.17.jar ${DESTDIR}${PREFIX}/share/liquibase/lib
${INSTALL_SCRIPT} ${WRKSRC}/liquibase ${DESTDIR}${PREFIX}/bin
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"