blob: fa8b42ccf100b840a9d8b6ac6f1f199666318e32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# New ports collection makefile for: freecol
# Date created: 31 March 2007
# Whom: Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= freecol
PORTVERSION= 0.6.0
PORTREVISION= 1
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= *
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}/
@(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>
|