mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +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
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
# New ports collection makefile for: plman
|
|
# Date created: 2005-12-12
|
|
# Whom: Nicola Vitale <nivit@email.it>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= plman
|
|
PORTVERSION= 2.5.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= math java
|
|
MASTER_SITES= http://${PORTNAME}.sourceforge.net/dist/ \
|
|
http://nivi.interfree.it/distfiles/${PORTNAME}.sourceforge.net/
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:C/\./_/g}
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= A Propositional Logic sentence shell/interpreter
|
|
|
|
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_JAVA= yes
|
|
USE_ZIP= yes
|
|
|
|
JAVA_VERSION= 1.5+
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
REPLACE_FILES= ${WRKSRC}/bin/${PORTNAME}
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
FIND_DATA= lib
|
|
FIND_DOCS= docs
|
|
|
|
post-patch:
|
|
for FILE in ${REPLACE_FILES}; do \
|
|
${REINPLACE_CMD} -e "/%%DATADIR%%/s//${DATADIR:S/\//\\\//g}/g" $${FILE} ;\
|
|
done;
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
|
|
${MKDIR} ${DATADIR}/${FIND_DATA}
|
|
cd ${WRKSRC} && ${FIND} ${FIND_DATA} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC}/${FIND_DOCS} && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|