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
57 lines
1.8 KiB
Makefile
57 lines
1.8 KiB
Makefile
# Ports collection makefile for: PCGen
|
|
# Date created: 17 November 2003
|
|
# Whom: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pcgen
|
|
PORTVERSION= 5.16.4
|
|
CATEGORIES= games java
|
|
MASTER_SITES= SF/${PORTNAME}/PCGen%20Stable/${PORTVERSION}
|
|
DISTNAME= pcgen${PORTVERSION:S/.//g}_full
|
|
|
|
MAINTAINER= jsa@FreeBSD.org
|
|
COMMENT= A Java-based RPG character generator and maintenance program
|
|
|
|
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
|
|
|
|
USE_ZIP= YES
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//g}
|
|
USE_JAVA= YES
|
|
JAVA_VERSION= 1.5+
|
|
NO_BUILD= YES
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
DATAFILES= batch-convert.jar characters data filepaths.ini lib \
|
|
logging.properties outputsheets pcgen.jar plugins preview system
|
|
PLIST_FILES+= bin/pcgen
|
|
|
|
SUB_FILES= pcgen.sh
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= *
|
|
.endif
|
|
|
|
do-install:
|
|
@${ECHO_MSG} -n ">> Installing in ${DATADIR}..."
|
|
@cd ${WRKSRC} && ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${DATADIR}/{} ";"
|
|
@cd ${WRKSRC} && ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} "{}" ${DATADIR}/"{}" ";"
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
@${ECHO_MSG} -n ">> Installing launcher script as ${PREFIX}/bin/pcgen..."
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/pcgen.sh ${PREFIX}/bin/pcgen
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
.if !defined(NOPORTDOCS)
|
|
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
|
|
@cd "${WRKSRC}/docs" && ${COPYTREE_SHARE} . "${DOCSDIR}"
|
|
@${INSTALL_DATA} "${WRKSRC}"/*.html "${DOCSDIR}"
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
.endif
|
|
|
|
post-install:
|
|
@${FIND} -s ${DATAFILES:S,^,${WRKSRC}/,} -not -type d 2>/dev/null | \
|
|
${SED} -ne 's,^${WRKSRC},${DATADIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
|
|
@${FIND} -s -d ${DATAFILES:S,^,${WRKSRC}/,} -type d 2>/dev/null | \
|
|
${SED} -ne 's,^${WRKSRC},@dirrm ${DATADIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
|
|
@${ECHO_CMD} '@dirrm ${DATADIR:S,^${PREFIX}/,,}' >> ${TMPPLIST}
|
|
|
|
.include <bsd.port.mk>
|