1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/java/dbvis/Makefile
Marcelo Araujo 1e18099212 - Update to 6.5.6.
PR:		ports/135379
Submitted by:	Sylvio Cesar <scjamorim@bsd.com.br>
Approved by:	maintainer timeout (more than 2 weeks)
2009-06-21 21:49:04 +00:00

40 lines
1.0 KiB
Makefile

# Ports collection makefile for: DbVisualizer
# Date created: April 08, 2007
# Whom: Anton Yudin (<contact@toha.org.ua>)
#
# $FreeBSD$
#
PORTNAME= dbvis
PORTVERSION= 6.5.6
CATEGORIES= java devel
MASTER_SITES= http://www.minq.se/product_download/dbvis-6.5.6/media/
DISTNAME= dbvis_unix_${PORTVERSION:S/./_/g}
MAINTAINER= contact@toha.org.ua
COMMENT= DbVisualizer database tool
USE_JAVA= yes
JAVA_VERSION= 1.5+
NO_BUILD= yes
RESTRICTED= Redistribution is not permitted
PLIST_FILES= bin/dbvis
WRKSRC= DbVisualizer-${PORTVERSION}
do-install:
cd ${WRKDIR}/${WRKSRC} \
&& ${FIND} . -type d -exec ${MKDIR} ${DATADIR}/{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \; \
&& ${LN} -s ${DATADIR}/dbvis ${PREFIX}/bin/dbvis \
&& ${CHMOD} a+x ${DATADIR}/dbvis
post-install:
cd ${WRKDIR}/${WRKSRC} && \
${FIND} ${DATADIR} -not -type d \
| ${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST}
${FIND} -d ${DATADIR} -type d \
| ${SED} -ne 's,^${PREFIX},@dirrm ,p' >> ${TMPPLIST}
.include <bsd.port.mk>