1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/games/hohlin/Makefile
Steve Wills b4de348967 - Stagify
- Remove NOPORTDOCS and USE_BZIP2

PR:		ports/187503
Submitted by:	Johannes Jost Meixner <xmj@chaot.net>
Approved by:	maintainer timeout (jmohacsi@bsd.hu, >2 weeks)
2014-03-28 19:51:47 +00:00

45 lines
1.4 KiB
Makefile

# Created by: Janos Mohacsi <janos.mohacsi@bsd.hu>
# $FreeBSD$
PORTNAME= hohlin
PORTVERSION= 1.01
PORTREVISION= 2
CATEGORIES= games
#MASTER_SITES= http://retrospec.sgn.net/download.php?id=63&path=games/hoh/bin/
#requires post to download
MASTER_SITES= http://skye.ki.iif.hu/~mohacsi/downloads/
PKGNAMEPREFIX= linux-
DISTNAME= ${PORTNAME}-${SHORTPORTVERSION}
MAINTAINER= jmohacsi@bsd.hu
COMMENT= Remake of the classic spectrum game Head over Heels
WRKSRC= ${WRKDIR}/hoh-install-${PORTVERSION}/
USES= tar:bzip2
USE_LINUX= yes
USE_LINUX_APPS= xorglibs
ONLY_FOR_ARCHS= i386 amd64
SHORTPORTVERSION=${PORTVERSION:C/([0-9]*)\.([0-9]*)/\1\2/}
.include <bsd.port.options.mk>
do-build:
${BRANDELF} -t Linux ${WRKSRC}/data/HoH
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_PROGRAM} ${WRKSRC}/data/HoH ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/data/HoHOriginal.dat ${STAGEDIR}${DATADIR}
${MKDIR} ${STAGEDIR}${DATADIR}/Sound
${INSTALL_DATA} ${WRKSRC}/data/Sound/Sound.dat ${STAGEDIR}${DATADIR}/Sound/
${INSTALL_DATA} ${WRKSRC}/data/Sound/Game.ogg ${STAGEDIR}${DATADIR}/Sound/
${INSTALL_DATA} ${WRKSRC}/data/Sound/Theme.ogg ${STAGEDIR}${DATADIR}/Sound/
${SED} -e 's:%%DATADIR%%:${DATADIR}:g' ${FILESDIR}/hoh.sh > \
${STAGEDIR}${PREFIX}/bin/HoH
${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/HoH
${MKDIR} ${STAGEDIR}${DOCSDIR}
${CP} -R ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>