1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/games/hohlin/Makefile
Boris Samorodov 0263b9d868 Welcome to the new linux ports infrastructure which allows using
both current (fc4) and future linux (f8) distributions at one
ports tree.

The patch contains full changes to ports/Mk files and all ports involved.
But only infrastructure is changed. The resulting packages are the same as
before. Hence no need to bump PORTREVISIONs.

The idea was taken from bsd.gnome.mk and others.

More than 130 ports are switched to follow a new linux infrastructure
introduced by changes to bsd.port.mk, bsd.linux-rpm.mk and a new
bsd.linux-apps.mk.

Thanks for all who was involved and helped me with this work.
And help from Alexander Leidinger was incredible.

Other changes are coming. Stay tuned!

PR:		ports/132510
Submitted by:	bsam (me)
Exp-run by:	portmgr (pav)
2009-03-19 17:28:51 +00:00

51 lines
1.4 KiB
Makefile

# New ports collection makefile for: hohlin
# Date created: 2004-08-17
# Whom: Janos Mohacsi <janos.mohacsi@bsd.hu>
#
# $FreeBSD$
#
PORTNAME= hohlin
PORTVERSION= 1.01
PORTREVISION= 1
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= janos.mohacsi@bsd.hu
COMMENT= Remake of the classic spectrum game Head over Heels
WRKSRC= ${WRKDIR}/hoh-install-${PORTVERSION}/
USE_BZIP2= YES
USE_LINUX= yes
USE_LINUX_APPS= xorglibs
ONLY_FOR_ARCHS= i386
SHORTPORTVERSION=${PORTVERSION:C/([0-9]*)\.([0-9]*)/\1\2/}
.include <bsd.port.pre.mk>
do-build:
${BRANDELF} -t Linux ${WRKSRC}/data/HoH
do-install:
${MKDIR} ${DATADIR}
${INSTALL_PROGRAM} ${WRKSRC}/data/HoH ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/data/HoHOriginal.dat ${DATADIR}
${MKDIR} ${DATADIR}/Sound
${INSTALL_DATA} ${WRKSRC}/data/Sound/Sound.dat ${DATADIR}/Sound/
${INSTALL_DATA} ${WRKSRC}/data/Sound/Game.ogg ${DATADIR}/Sound/
${INSTALL_DATA} ${WRKSRC}/data/Sound/Theme.ogg ${DATADIR}/Sound/
${SED} -e 's:%%DATADIR%%:${DATADIR}:g' ${FILESDIR}/hoh.sh > \
${PREFIX}/bin/HoH
${CHMOD} +x ${PREFIX}/bin/HoH
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
.endif
.include <bsd.port.post.mk>