2013-09-20 18:13:47 +02:00
|
|
|
# Created by: Roy Boerner
|
2006-12-03 21:45:21 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2009-11-02 22:15:51 +01:00
|
|
|
PORTNAME= squirrel-sql
|
2013-07-11 17:22:10 +02:00
|
|
|
PORTVERSION= 3.5.0
|
2013-01-23 16:00:18 +01:00
|
|
|
PORTREVISION= 1
|
2006-12-03 21:45:21 +01:00
|
|
|
CATEGORIES= databases java
|
2011-09-29 19:59:01 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/1-stable/${PORTVERSION}-plainzip
|
2010-05-14 15:15:35 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-optional
|
2006-12-03 21:45:21 +01:00
|
|
|
|
2010-08-13 17:38:45 +02:00
|
|
|
MAINTAINER= jonc@chen.org.nz
|
2013-01-23 00:13:41 +01:00
|
|
|
COMMENT= Universal SQL Client
|
2006-12-03 21:45:21 +01:00
|
|
|
|
2011-09-29 19:59:01 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2006-12-03 21:45:21 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
USE_JAVA= yes
|
2010-05-14 15:15:35 +02:00
|
|
|
JAVA_VERSION= 1.6+
|
2011-09-29 19:59:01 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
2006-12-03 21:45:21 +01:00
|
|
|
|
|
|
|
SUB_FILES= squirrel-sql
|
|
|
|
|
2009-11-02 22:15:51 +01:00
|
|
|
DATADIR= ${PREFIX}/share/java/${UNIQUENAME}
|
|
|
|
|
2007-01-03 17:29:36 +01:00
|
|
|
DESKTOP_ENTRIES="Squirrel-SQL Client" \
|
2006-12-03 21:45:21 +01:00
|
|
|
"${COMMENT}" \
|
2009-11-02 22:15:51 +01:00
|
|
|
"${DATADIR}/icons/acorn.png" \
|
2006-12-03 21:45:21 +01:00
|
|
|
"squirrel-sql" \
|
2013-07-11 17:22:10 +02:00
|
|
|
"Development;Database;Java;" \
|
2006-12-03 21:45:21 +01:00
|
|
|
false
|
|
|
|
|
2013-09-20 18:13:47 +02:00
|
|
|
NO_STAGE= yes
|
2006-12-03 21:45:21 +01:00
|
|
|
post-extract:
|
2009-11-02 22:15:51 +01:00
|
|
|
cd "${WRKSRC}" && ${RM} -rf Uninstaller *.bat *.sh .installationinformation
|
2006-12-03 21:45:21 +01:00
|
|
|
|
|
|
|
do-install:
|
2009-11-02 22:15:51 +01:00
|
|
|
${MKDIR} ${DATADIR}
|
|
|
|
cd "${WRKSRC}" && ${FIND} . | ${CPIO} -pdum -R root:wheel ${DATADIR}
|
2006-12-03 21:45:21 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/squirrel-sql ${PREFIX}/bin
|
2010-05-14 15:15:35 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2006-12-03 21:45:21 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|