mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
06e6677793
remove support for them from bsd.java.mk. As Jikes is not available in Java 1.5 or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports which used it (only occurences were USE_JIKES=no). Support for the Blackdown VM is also removed, as it is not available in Java 1.5 and higher. Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5. While here, replace static values of JAVA_VERSION in files/*.in by %%JAVA_VERSION%% . PR: ports/158969 Submitted by: rene Tested on: pointyhat-west -exp
62 lines
1.9 KiB
Makefile
62 lines
1.9 KiB
Makefile
# New ports collection makefile for: DeViSoR
|
|
# Date created: Jan. 2005
|
|
# Whom: Pedro F. Giffuni
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= devisor
|
|
PORTVERSION= 2.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= science java
|
|
MASTER_SITES= http://www.featflow.de/download/
|
|
DISTNAME= devisor${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Design and Visualization Software Resource for FeatFlow
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.5+
|
|
NO_BUILD= yes # Sources are available though
|
|
|
|
SUB_FILES= devisorgrid.sh
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
DATAFILES= data images misc manual
|
|
CLASSFILES= devisor2 devisorgrid.class
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= *
|
|
.endif
|
|
PLIST_FILES= bin/devisorgrid
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/devisorgrid.sh ${PREFIX}/bin/devisorgrid
|
|
cd ${WRKSRC} \
|
|
&& ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \; \
|
|
&& ${FIND} ${DATAFILES} -type f -not -name '*.pdf' -print -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
|
|
cd ${WRKSRC} \
|
|
&& ${FIND} ${CLASSFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \; \
|
|
&& ${FIND} ${CLASSFILES} -name '*.class' -type f -print -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
|
|
.if !defined(NOPORTDOCS)
|
|
cd ${WRKSRC}/manual \
|
|
&& ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
|
|
&& ${FIND} . -type f -name '*.pdf' -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
|
|
.endif
|
|
|
|
post-install:
|
|
@cd ${WRKSRC} \
|
|
&& ${FIND} -s ${DATAFILES} -type f -not -name '*.pdf' \
|
|
| ${SED} -ne 's,^,${DATADIR:S,${PREFIX}/,,}/,p' >> ${TMPPLIST} \
|
|
&& ${FIND} -s -d ${DATAFILES} -type d \
|
|
| ${SED} -ne 's,^,@dirrm ${DATADIR:S,${PREFIX}/,,}/,p' >> ${TMPPLIST}
|
|
@cd ${WRKSRC} \
|
|
&& ${FIND} -s ${CLASSFILES} -name '*.class' -type f \
|
|
| ${SED} -ne 's,^,${DATADIR:S,${PREFIX}/,,}/,p' >> ${TMPPLIST} \
|
|
&& ${FIND} -s -d ${CLASSFILES} -type d \
|
|
| ${SED} -ne 's,^,@dirrm ${DATADIR:S,${PREFIX}/,,}/,p' >> ${TMPPLIST}
|
|
@${ECHO_CMD} '@dirrm ${DATADIR:S,${PREFIX}/,,}' >> ${TMPPLIST}
|
|
|
|
.include <bsd.port.mk>
|