pkgsrc/time/projectlibre/Makefile
asau bde2a675d4 Import ProjectLibre 1.6.1 as time/projectlibre.
ProjectLibre is project management software.
It offers the following features:

 * Gantt Chart, Project- and Resource-Planning
 * Look and feel very close to Microsoft Project
 * Save Files as .xml and open them in Microsoft Project 2010
 * All operating systems providing Java Runtime Environment
2015-07-21 23:33:11 +00:00

37 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2015/07/21 23:33:11 asau Exp $
DISTNAME= projectlibre-1.6.1
CATEGORIES= time
MASTER_SITES= $(MASTER_SITE_SOURCEFORGE:=projectlibre/)
MAINTAINER= asau@inbox.ru
HOMEPAGE= http://www.projectlibre.org/
COMMENT= Project management software
USE_JAVA= run
USE_JAVA2= 7
REPLACE_SH= projectlibre.sh
SUBST_CLASSES+= set-java set-base
SUBST_STAGE.set-java= post-configure
SUBST_MESSAGE.set-java= Setting Java path.
SUBST_FILES.set-java= projectlibre.sh
SUBST_SED.set-java= -e '/^JAVA_EXE=/s,java,$(PKG_JAVA_HOME)/bin/java,'
SUBST_STAGE.set-base= post-configure
SUBST_MESSAGE.set-base= Setting package base path.
SUBST_FILES.set-base= projectlibre.sh
SUBST_SED.set-base= -e '/^OPENPROJ_HOME0=/s,^.*$$,OPENPROJ_HOME0=$(PREFIX)/share/$(PKGBASE),'
NO_BUILD= yes
INSTALLATION_DIRS= bin share/$(PKGBASE)
do-install:
cd $(WRKSRC) && pax -rwpm . $(DESTDIR)$(PREFIX)/share/$(PKGBASE)
$(LN) -sf $(PREFIX)/share/$(PKGBASE)/projectlibre.sh $(DESTDIR)$(PREFIX)/bin/projectlibre
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"