aboutsummaryrefslogtreecommitdiff
path: root/games/hohlin/Makefile
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2005-06-17 22:59:29 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2005-06-17 22:59:29 +0000
commit23b3bc4b0d01608d37199d39bb546c6c9d6a8b1d (patch)
treefa03305e656151ebe33c7e94eacc947b13d1c273 /games/hohlin/Makefile
parentb347391f9ad81dd1ebc74b80d713888404b304bd (diff)
downloadports-23b3bc4b0d01608d37199d39bb546c6c9d6a8b1d.tar.gz
ports-23b3bc4b0d01608d37199d39bb546c6c9d6a8b1d.zip
Notes
Diffstat (limited to 'games/hohlin/Makefile')
-rw-r--r--games/hohlin/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/games/hohlin/Makefile b/games/hohlin/Makefile
index 4045216f221c..838a8ecc7d8f 100644
--- a/games/hohlin/Makefile
+++ b/games/hohlin/Makefile
@@ -7,6 +7,7 @@
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
@@ -17,20 +18,22 @@ DISTNAME= ${PORTNAME}-${SHORTPORTVERSION}
MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= Remake of the classic spectrum game Head over Heels
-RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libXrandr.so.2:${PORTSDIR}/x11/linux-XFree86-libs
-
WRKSRC= ${WRKDIR}/hoh-install-${PORTVERSION}/
USE_BZIP2= YES
-NO_BUILD= YES
+USE_LINUX= yes
+USE_X_PREFIX= yes
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_SCRIPT} ${WRKSRC}/data/HoH ${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/