openbsd-ports/productivity/thinkingrock/Makefile
sturm 8763ff9128 initial import of thinkingrock 2.0.epsilon
Thinking Rock is a free software application for collecting and processing
your thoughts following the GTD methodology.
2008-03-26 20:18:35 +00:00

57 lines
1.6 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2008/03/26 20:18:35 sturm Exp $
COMMENT= collecting and processing thoughts according to GTD
V= 2.0.epsilon
DISTNAME= tr-$V
PKGNAME= thinkingrock-${V}
CATEGORIES= productivity java
HOMEPAGE= http://www.thinkingrock.com.au/
MAINTAINER= Nikolay Sturm <sturm@openbsd.org>
# CDDL
PERMIT_PACKAGE_CDROM= CDDL
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= CDDL
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=thinkingrock/}
EXTRACT_SUFX= .zip
MODULES= java
MODJAVA_VER= 1.5+
MODJAVA_JRERUN= Yes
RUN_DEPENDS= ::java/javaPathHelper
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
do-configure:
@perl -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/bin/thinkingrock
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/thinkingrock
for d in etc ide7 platform6 thinkingrock; do \
cp -R ${WRKSRC}/$$d ${PREFIX}/share/thinkingrock; \
done
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/thinkingrock
${INSTALL_SCRIPT} ${WRKSRC}/bin/thinkingrock ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/bin/xdg-email ${PREFIX}/bin
# NetBeans shipped with TR doesn't know about OpenBSD and thus uses
# different names than on linux
ln -s xdg-email ${PREFIX}/bin/email
${INSTALL_SCRIPT} ${WRKSRC}/bin/xdg-open ${PREFIX}/bin
ln -s xdg-open ${PREFIX}/bin/open
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/thinkingrock
${INSTALL_DATA} ${FILESDIR}/README.OpenBSD \
${PREFIX}/share/doc/thinkingrock
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/thinkingrock
${INSTALL_SCRIPT} ${FILESDIR}/x* ${PREFIX}/share/examples/thinkingrock
.include <bsd.port.mk>