summaryrefslogtreecommitdiff
path: root/mail/columba/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/columba/Makefile')
-rw-r--r--mail/columba/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/mail/columba/Makefile b/mail/columba/Makefile
new file mode 100644
index 00000000000..61e5655b663
--- /dev/null
+++ b/mail/columba/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/08 14:27:44 xtraeme Exp $
+#
+
+DISTNAME= columba-unix-1.0_M2-bin
+PKGNAME= columba-1.0M2
+CATEGORIES= mail
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=columba/}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= xtraeme@NetBSD.org
+HOMEPAGE= http://columba.sourceforge.net/
+COMMENT= Graphical Email Client written in JAVA (TM)
+
+USE_BUILDLINK2= yes
+NO_BUILD= yes
+USE_JAVA2= yes
+PKG_JVMS_ACCEPTED= sun-jdk13 sun-jdk14 jdk13
+
+DOC_FILES= AUTHORS LICENSE CHANGES README
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/${PKGBASE}
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/${PKGBASE}/lib
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/lib/* ${PREFIX}/share/${PKGBASE}/lib
+ ${INSTALL_DATA} ${WRKSRC}/columba.jar ${PREFIX}/share/${PKGBASE}
+.for f in ${DOC_FILES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PKGBASE}
+.endfor
+ ${INSTALL_SCRIPT} ${WRKSRC}/run.sh ${PREFIX}/bin/columba
+
+COLUMBA_BIN= ${PREFIX}/share/${PKGBASE}/columba.jar
+
+SUBST_CLASSES= foo
+SUBST_STAGE.foo= post-patch
+SUBST_FILES.foo= run.sh
+SUBST_SED.foo= -e "s,columba.jar,${COLUMBA_BIN},"
+SUBST_MESSAGE.foo= "Fixing columba\'s executable path."
+
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"