1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/games/freecol/Makefile
Alex Dupre 26b34774b8 - Update to 0.7.4 release
- Add Desktop entry [1]

PR:		124107 [1]
Submitted by:	Pawel Pekala <c0rn@o2.pl> [1]
2008-06-18 06:31:21 +00:00

43 lines
1.0 KiB
Makefile

# New ports collection makefile for: freecol
# Date created: 31 March 2007
# Whom: Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= freecol
PORTVERSION= 0.7.4
CATEGORIES= games java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ale@FreeBSD.org
COMMENT= An open source version of Colonization
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_JAVA= yes
JAVA_VERSION= 1.5+
PORTDOCS= *
DESKTOP_ENTRIES="FreeCol" "${COMMENT}" "${DATADIR}/freecol.xpm" "freecol" "Game;ArcadeGame;" false
post-patch:
@${REINPLACE_CMD} 's|%%DATADIR%%|${DATADIR}|g' \
${WRKSRC}/freecol
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/freecol ${PREFIX}/bin/
@${MKDIR} ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/FreeCol.jar ${DATADIR}/
@${INSTALL_DATA} ${WRKSRC}/freecol.xpm ${DATADIR}/
@(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${DATADIR}/)
@(cd ${WRKSRC} && ${COPYTREE_SHARE} jars ${DATADIR}/)
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/FreeCol.pdf ${DOCSDIR}/
.endif
.include <bsd.port.mk>