1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/games/freecol/Makefile
Jung-uk Kim 5a52a08234 Clean up after java/openjdk6 and java/openjdk6-jre removal
java/openjdk6 support was removed from Mk/bsd.java.mk (r512662) and
java/openjdk6 and java/openjdk6-jre were removed from the ports tree
(r512663).  Now this patch completely removes remaining stuff from the
ports tree.

PR:			241953 (exp-run)
Reviewed by:		glewis
Approved by:		portmgr (antoine)
Differential Revision:	https://reviews.freebsd.org/D22342
2019-11-26 21:46:12 +00:00

43 lines
1.1 KiB
Makefile

# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD$
PORTNAME= freecol
PORTVERSION= 0.11.6
CATEGORIES= games java
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ale@FreeBSD.org
COMMENT= Open source version of Colonization
LICENSE= GPLv2
OPTIONS_DEFINE= DOCS
USES= zip
NO_BUILD= yes
SUB_FILES= freecol
USE_JAVA= yes
PLIST_FILES= bin/freecol \
${DESKTOPDIR:S,^${PREFIX}/,,}/freecol.desktop
PORTDATA= *
PORTDOCS= *
post-extract:
@${MV} ${WRKDIR}/freecol ${WRKSRC}
post-patch:
@${REINPLACE_CMD} "s|Icon=|Icon=${DATADIR}/|" ${WRKSRC}/freecol.desktop
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/freecol ${STAGEDIR}${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/freecol.desktop ${STAGEDIR}${DESKTOPDIR}/
@${MKDIR} ${STAGEDIR}${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/FreeCol.jar ${STAGEDIR}${DATADIR}/
@(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR}/)
@(cd ${WRKSRC} && ${COPYTREE_SHARE} jars ${STAGEDIR}${DATADIR}/)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/FreeCol.pdf ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>