freebsd-ports/databases/squirrel-sql/Makefile
Kurt Jaeger d7f9488d5d databases/squirrel-sql: 3.5.3 -> 3.6.0
This update allows squirrel-sql to run on Java 1.8

Changelog:
http://sourceforge.net/p/squirrel-sql/git/ci/master/tree/sql12/core/doc/changes.txt

PR:		198843
Submitted by:	Jonathan Chen <jonc@chen.org.nz> (maintainer)
2015-03-27 21:08:45 +00:00

40 lines
914 B
Makefile

# Created by: Roy Boerner
# $FreeBSD$
PORTNAME= squirrel-sql
PORTVERSION= 3.6.0
CATEGORIES= databases java
MASTER_SITES= SF/${PORTNAME}/1-stable/${PORTVERSION}-plainzip
DISTNAME= squirrelsql-${PORTVERSION:R}-optional
MAINTAINER= jonc@chen.org.nz
COMMENT= Universal SQL Client
LICENSE= GPLv2
NO_BUILD= yes
USES= zip
USE_JAVA= yes
JAVA_VERSION= 1.6+
WRKSRC= ${WRKDIR}/${DISTNAME}
SUB_FILES= squirrel-sql
DATADIR= ${PREFIX}/share/java/${UNIQUENAME}
DESKTOP_ENTRIES="Squirrel-SQL Client" \
"${COMMENT}" \
"${DATADIR}/icons/acorn.png" \
"squirrel-sql" \
"Development;Database;Java;" \
false
post-extract:
cd "${WRKSRC}" && ${RM} -rf Uninstaller *.bat *.sh .installationinformation
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
cd "${WRKSRC}" && ${FIND} . | ${CPIO} -pdum -R root:wheel ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/squirrel-sql ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>