summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/flexdock/Makefile41
-rw-r--r--devel/flexdock/distinfo3
-rw-r--r--devel/flexdock/pkg-descr12
-rw-r--r--devel/flexdock/pkg-plist1
5 files changed, 58 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 0f1021f3c1a3..947be9938cc7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -355,6 +355,7 @@
SUBDIR += flex-sdk
SUBDIR += flex-sdk2
SUBDIR += flex_compiler_shell
+ SUBDIR += flexdock
SUBDIR += flexjson
SUBDIR += flick
SUBDIR += florist
diff --git a/devel/flexdock/Makefile b/devel/flexdock/Makefile
new file mode 100644
index 000000000000..1279391b1bcd
--- /dev/null
+++ b/devel/flexdock/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: flexdock
+# Date created: 25 Nov 2009
+# Whom: Otacilio de Araujo Ramos Neto <otacilio.neto@bsd.com.br>
+#
+# $FreeBSD$
+#
+
+PORTNAME= flexdock
+PORTVERSION= 0.5.1
+CATEGORIES= devel java
+MASTER_SITES= https://flexdock.dev.java.net/files/documents/2037/52480/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+
+MAINTAINER= otacilio.neto@bsd.com.br
+COMMENT= Swing windowing and docking framework
+
+USE_ZIP= yes
+USE_ANT= yes
+USE_JAVA= yes
+
+MAKE_ARGS= dist
+
+PORTDOCS= "User Guide.pdf" api
+
+do-extract:
+ @${MKDIR} ${WRKDIR}
+ @${UNZIP_CMD} ${DISTDIR}/${DISTFILES} -d ${WRKSRC}
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/build/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${ECHO_MSG} -n ">> Installing documentation files..."
+ @${MKDIR} ${DOCSDIR}
+ @cd ${WRKSRC}/build/docs && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/\{} \;
+ @cd ${WRKSRC}/build/docs && ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${DOCSDIR}/\{} \;
+ @${ECHO_MSG} " [ DONE ]"
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/flexdock/distinfo b/devel/flexdock/distinfo
new file mode 100644
index 000000000000..13e41e2556f4
--- /dev/null
+++ b/devel/flexdock/distinfo
@@ -0,0 +1,3 @@
+MD5 (flexdock-0.5.1-src.zip) = 88fd43d7d8db92e9480200c316e55056
+SHA256 (flexdock-0.5.1-src.zip) = 2ffc4b2bf3fd2b070aff3ec46b6a3d3dbbe4f2e666b12ee266cbc162e27f890b
+SIZE (flexdock-0.5.1-src.zip) = 6229423
diff --git a/devel/flexdock/pkg-descr b/devel/flexdock/pkg-descr
new file mode 100644
index 000000000000..f5fbf760a3e2
--- /dev/null
+++ b/devel/flexdock/pkg-descr
@@ -0,0 +1,12 @@
+ FlexDock is a Java docking framework for use in cross-platform
+ Swing applications. It offers features you'd expect in any desktop
+ docking framework such as:
+
+ * Tabbed and Split Layouts
+ * Drag-n-Drop capability (with native drag rubber band painting
+ on some platforms)
+ * Floating windows
+ * Collapsible Containers to Save Real Estate
+ * Layout Persistence
+
+WWW: https://flexdock.dev.java.net/
diff --git a/devel/flexdock/pkg-plist b/devel/flexdock/pkg-plist
new file mode 100644
index 000000000000..2cfa443658e6
--- /dev/null
+++ b/devel/flexdock/pkg-plist
@@ -0,0 +1 @@
+%%JAVAJARDIR%%/flexdock-0.5.1.jar