aboutsummaryrefslogtreecommitdiffstats
path: root/games/djgame2/Makefile
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2008-04-29 20:28:09 +0800
committeredwin <edwin@FreeBSD.org>2008-04-29 20:28:09 +0800
commit9f29ea877e8fd43f0e888d8507193613e908a339 (patch)
tree45b03cde2e7bddf4467b8c6341997354fc2f7156 /games/djgame2/Makefile
parent5e2389f6cef5e0eb341d584336c2a09fa660c033 (diff)
downloadfreebsd-ports-gnome-9f29ea877e8fd43f0e888d8507193613e908a339.tar.gz
freebsd-ports-gnome-9f29ea877e8fd43f0e888d8507193613e908a339.tar.zst
freebsd-ports-gnome-9f29ea877e8fd43f0e888d8507193613e908a339.zip
Update to 3.2.0
Diffstat (limited to 'games/djgame2/Makefile')
-rw-r--r--games/djgame2/Makefile22
1 files changed, 10 insertions, 12 deletions
diff --git a/games/djgame2/Makefile b/games/djgame2/Makefile
index 7d4667ce61bf..943df57ab700 100644
--- a/games/djgame2/Makefile
+++ b/games/djgame2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= djgame2
-PORTVERSION= 3.1.2
+PORTVERSION= 3.2.0
CATEGORIES= games
MASTER_SITES= http://www.bluedj.com/download/src/
DISTNAME= source-${PORTVERSION}
@@ -18,7 +18,7 @@ COMMENT= bluedj contains many popular online games
NO_BUILD= yes
USE_ZIP= yes
USE_QT_VER= 4
-QT_COMPONENTS= gui qt3support qmake_build uic_build rcc_build moc_build
+QT_COMPONENTS= gui qt3support qmake_build uic_build rcc_build moc_build svg
QMAKE?= qmake-qt4
QMAKESPEC?= ${LOCALBASE}/share/qt4/mkspecs/freebsd-g++
@@ -27,6 +27,8 @@ MAKE_ENV= QMAKESPEC="{QMAKESPEC}"
WRKSRC= ${WRKDIR}/${DISTNAME}
DATADIR= ${PREFIX}/share/djgame2
+SUB_FILES= djgame2.desktop startdjg
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000 && ${ARCH} == "amd64"
@@ -35,29 +37,25 @@ BROKEN= libLandLord does not compile
post-patch:
${RM} -f ${WRKSRC}/Hall/HallRes/platform/x11/install
- @${SED} -e 's|%%DATADIR%%|${DATADIR}|' \
- < ${FILESDIR}/djgame2.desktop.in > ${WRKDIR}/djgame2.desktop
- @${SED} -e 's|%%DATADIR%%|${DATADIR}|' \
- < ${FILESDIR}/startdjg.in > ${WRKDIR}/startdjg
@${REINPLACE_CMD} -e 's|linux/soundcard.h|sys/soundcard.h|g' \
${WRKSRC}/Base/src/PlayWave.cpp
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' \
- ${WRKSRC}/makelinux
+ ${WRKSRC}/make_linux_output
@${REINPLACE_CMD} -e 's|qmake|${QMAKE}|' \
- ${WRKSRC}/makelinux
+ ${WRKSRC}/make_linux_output
@${ECHO_CMD} "INCLUDEPATH += ${LOCALBASE}/include" \
>> ${WRKSRC}/Base/Base.pro
@${ECHO_CMD} "INCLUDEPATH += ${LOCALBASE}/include" \
>> ${WRKSRC}/Hall/Hall.pro
- @${CHMOD} a+x ${WRKSRC}/makelinux
+ @${CHMOD} a+x ${WRKSRC}/make_linux_output
do-configure:
- @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./makelinux
+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./make_linux_output
do-install:
${MKDIR} ${DATADIR}
- (cd ${WRKSRC}/Hall/release; ${TAR} -cf - *) | \
- ${TAR} -xf - -C ${DATADIR}
+ (cd ${WRKSRC}/Hall/build; ${TAR} -cf - *) | \
+ ${TAR} -xf - -C ${DATADIR}
${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKDIR}/djgame2.desktop ${PREFIX}/share/applications
${INSTALL_SCRIPT} ${WRKDIR}/startdjg ${PREFIX}/bin