aboutsummaryrefslogtreecommitdiff
path: root/databases/squirrel-sql/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/squirrel-sql/Makefile')
-rw-r--r--databases/squirrel-sql/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/databases/squirrel-sql/Makefile b/databases/squirrel-sql/Makefile
new file mode 100644
index 000000000000..e7156ea69941
--- /dev/null
+++ b/databases/squirrel-sql/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: squirrel-sql
+# Date created: 2006/11/06
+# Whom: Roy Boerner
+#
+# $FreeBSD$
+#
+
+PORTNAME= squirrel
+PORTVERSION= 2.3.1
+CATEGORIES= databases java
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
+MASTER_SITE_SUBDIR= ${PORTNAME}${PKGNAMESUFFIX}
+PKGNAMESUFFIX= -sql
+DISTNAME= squirrel-sql-2.3.1-standard
+
+MAINTAINER= roy.boerner@bsd-crew.de
+COMMENT= A universal SQL Client
+
+NO_BUILD= yes
+USE_JAVA= yes
+JAVA_VERSION= 1.4+
+WRKSRC= ${WRKDIR}/SQuirreL SQL Client
+DSTDIR= ${JAVASHAREDIR}/${PORTNAME}
+
+SUB_FILES= squirrel-sql
+
+DESKTOP_ENTRIES="Squirrel-SQL" \
+ "${COMMENT}" \
+ "${DSTDIR}/icons/acorn.png" \
+ "squirrel-sql" \
+ "Application;" \
+ false
+
+post-extract:
+ ${RM} -rf "${WRKSRC}"/Uninstaller
+ ${RM} -rf "${WRKSRC}"/*.bat
+ ${RM} -rf "${WRKSRC}"/*.sh
+
+do-install:
+ cd "${WRKSRC}" && ${FIND} . -type d -exec ${MKDIR} ${DSTDIR}/{} \;
+ cd "${WRKSRC}" && ${FIND} . -type f -not -path "\./bin/" -exec ${INSTALL_DATA} {} ${DSTDIR}/{} \;
+ ${INSTALL_SCRIPT} ${WRKDIR}/squirrel-sql ${PREFIX}/bin
+
+.include <bsd.port.mk>