a70377ab66
Changes: https://sourceforge.net/p/squirrel-sql/git/ci/master/tree/sql12/core/doc/changes.txt PR: 256316
40 lines
893 B
Makefile
40 lines
893 B
Makefile
# Created by: Roy Boerner
|
|
|
|
PORTNAME= squirrel-sql
|
|
PORTVERSION= 4.2.0
|
|
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
|
|
|
|
USES= zip
|
|
|
|
USE_JAVA= 8+
|
|
NO_BUILD= yes
|
|
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 *.bat *.sh icons/acorn.png.bak.png mac squirrelcli
|
|
|
|
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>
|