1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/games/jin/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

47 lines
990 B
Makefile

# New ports collection makefile for: jin
# Date created: 2007-03-05
# Whom: Nicola Vitale <nivit@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= jin
PORTVERSION= 2.14.1
PORTREVISION= 1
CATEGORIES= games java
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}-unix
MAINTAINER= nivit@FreeBSD.org
COMMENT= A graphical client for chess servers
NO_BUILD= yes
USE_JAVA= yes
JAVA_VERSION= 1.4+
SUB_FILES= ${PORTNAME}
SUB_LIST= JINJAR=${JINJAR}
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
JINJAR= ${PORTNAME}.jar
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
FIND_DIRS= . -type d
FIND_DATA= . -type f
RM_FILES= ${PORTNAME} README changelog.txt gpl.txt
post-extract:
.for f in ${RM_FILES}
@${RM} ${WRKSRC}/${f}
.endfor
do-install:
@${MKDIR} ${DATADIR}
@cd ${WRKSRC} && ${FIND} ${FIND_DIRS} -exec ${MKDIR} ${DATADIR}/{} ";"
@cd ${WRKSRC} && ${FIND} ${FIND_DATA} -exec ${INSTALL_DATA} {} ${DATADIR}/{} ";"
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>