freebsd-ports/databases/squirrel-sql/Makefile
Wen Heping c6f2d668e7 - Update to 3.8.1
PR:		226097
Submitted by:	jonc@chen.org.nz(maintainer)
2018-02-22 08:16:39 +00:00

42 lines
949 B
Makefile

# Created by: Roy Boerner
# $FreeBSD$
PORTNAME= squirrel-sql
PORTVERSION= 3.8.1
CATEGORIES= databases java
MASTER_SITES= SF/${PORTNAME}/1-stable/${PORTVERSION}-plainzip
DISTNAME= squirrelsql-${PORTVERSION}-optional
MAINTAINER= jonc@chen.org.nz
COMMENT= Universal SQL Client
LICENSE= GPLv2
NO_BUILD= yes
USES= zip
USE_JAVA= yes
JAVA_VERSION= 1.8+
NO_ARCH= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
SUB_FILES= squirrel-sql
DATADIR= ${PREFIX}/share/java/${PKGBASE}
DESKTOP_ENTRIES="Squirrel-SQL Client" \
"${COMMENT}" \
"${DATADIR}/icons/acorn.png" \
"squirrel-sql" \
"Development;Database;Java;" \
false
post-extract:
cd "${WRKSRC}" && ${RM} -r Uninstaller *.bat *.sh .installationinformation \
icons/acorn.png.bak.png
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>