openbsd-ports/productivity/thinkingrock/Makefile

49 lines
1.1 KiB
Makefile
Raw Normal View History

2009-03-11 19:21:21 -04:00
# $OpenBSD: Makefile,v 1.7 2009/03/11 23:22:49 sthen Exp $
COMMENT= collecting and processing thoughts according to GTD
2008-06-05 04:33:55 -04:00
V= 2.0.1
DISTNAME= tr-$V
2009-03-11 19:21:21 -04:00
PKGNAME= thinkingrock-${V}p4
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/}
MODULES= java
MODJAVA_VER= 1.5+
MODJAVA_JRERUN= Yes
RUN_DEPENDS= ::java/javaPathHelper \
::devel/xdg-utils
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
do-configure:
${SUBST_CMD} ${WRKSRC}/bin/tr ${WRKSRC}/etc/tr.conf
@rm ${WRKSRC}/etc/tr.conf~
@rm ${WRKSRC}/etc/tr.conf.bak
@rm ${WRKSRC}/etc/tr.conf.orig
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/thinkingrock
2008-06-05 04:33:55 -04:00
for d in etc ide9 platform8 tr; do \
cp -R ${WRKSRC}/$$d ${PREFIX}/share/thinkingrock; \
done
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/thinkingrock
2008-06-05 04:33:55 -04:00
${INSTALL_SCRIPT} ${WRKSRC}/bin/tr ${PREFIX}/bin/thinkingrock
.include <bsd.port.mk>