freebsd-ports/games/cosmo/Makefile
2015-01-24 17:53:04 +00:00

38 lines
1.2 KiB
Makefile

# Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
# $FreeBSD$
PORTNAME= cosmo
PORTVERSION= 2.0.4
PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= http://hanzubon.jp/mirrors/Vine/%SUBDIR%/ \
http://ftp.jaist.ac.jp/pub/Linux/Vine/%SUBDIR%/ \
http://ftp.riken.go.jp/Linux/vine/%SUBDIR%/ \
http://ftp.yz.yamagata-u.ac.jp/pub/Linux/Vine/%SUBDIR%/ \
http://ftp.nara.wide.ad.jp/pub/Linux/vine/%SUBDIR%/ \
http://ftp.vinelinux.org/pub/Vine/%SUBDIR%/
MASTER_SITE_SUBDIR= VinePlus/1.1/JG-0.9.1/other-sources/jp
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} moon.tif.gz
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Clone of Cosmo Gang the Puzzle (Namco)
NO_CDROM= Possible copyright infringement
WRKSRC= ${WRKDIR}/cosmo2
DIST_SUBDIR= cosmo
USES= imake:notall,noman
USE_XORG= x11 xext
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/cosmo
${INSTALL_PROGRAM} ${WRKSRC}/cosmo ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/cosmorc ${STAGEDIR}${PREFIX}/lib/X11/cosmo
${MKDIR} ${STAGEDIR}/var/games/cosmo
${ECHO_CMD} > ${STAGEDIR}/var/games/cosmo/best.dat.sample
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/moon.tif.gz \
${STAGEDIR}${PREFIX}/lib/X11/cosmo
.include <bsd.port.mk>