summaryrefslogtreecommitdiff
path: root/emulators/truereality/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/truereality/Makefile')
-rw-r--r--emulators/truereality/Makefile21
1 files changed, 13 insertions, 8 deletions
diff --git a/emulators/truereality/Makefile b/emulators/truereality/Makefile
index ac4cfd2b73b9..0d29d0f9130f 100644
--- a/emulators/truereality/Makefile
+++ b/emulators/truereality/Makefile
@@ -6,26 +6,31 @@
#
PORTNAME= truereality
-PORTVERSION= 1999062900
+PORTVERSION= ${DATE}
CATEGORIES= emulators devel
MASTER_SITES= http://www.emuhq.com/emulators/
DISTNAME= TrueReality-${PORTVERSION}
-EXTRACT_SUFX= .tgz
MAINTAINER= lioux@linf.unb.br
-LIB_DEPENDS= GL.14:${PORTSDIR}/graphics/Mesa3 \
- GLU.14:${PORTSDIR}/graphics/Mesa3 \
- X11.6:${PORTSDIR}/x11/XFree86 \
- Xext.6:${PORTSDIR}/x11/XFree86
-
USE_GMAKE= yes
USE_XLIB= yes
+MAKE_ARGS= X11BASE=${X11BASE}
+
WRKSRC= ${WRKDIR}/TrueReality/Source
+DATE= 1999121400
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+.if ${ARCH} == "alpha"
+ @(cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/patch-alpha || ${ECHO})
+.endif
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/TrueReality ${PREFIX}/bin
@${LN} -sf ${PREFIX}/bin/TrueReality ${PREFIX}/bin/truereality
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>