[Midnightbsd-cvs] mports: Makefile: Moderize the port.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Mon Mar 30 18:39:21 EDT 2009
Log Message:
-----------
Moderize the port. Tweak the depends for GL and X.org stuff, use LOCALBASE
Modified Files:
--------------
mports/games/tuxracer:
Makefile (r1.3 -> r1.4)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/games/tuxracer/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -L games/tuxracer/Makefile -L games/tuxracer/Makefile -u -r1.3 -r1.4
--- games/tuxracer/Makefile
+++ games/tuxracer/Makefile
@@ -1,17 +1,10 @@
-# New ports collection makefile for: tuxracer
-# Date created: 8 August 2000
-# Whom: Eric Anholt
-#
-# $FreeBSD: ports/games/tuxracer/Makefile,v 1.23 2006/09/20 11:21:32 stas Exp $
# $MidnightBSD$
-#
PORTNAME= tuxracer
PORTVERSION= 0.61
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=tuxracer
+MASTER_SITES= SF/tuxracer
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz \
${PORTNAME}-data-${PORTVERSION}.tar.gz
@@ -22,27 +15,28 @@
LIB_DEPENDS= tcl83.1:${PORTSDIR}/lang/tcl83
USE_SDL= mixer sdl
-USE_GL= yes
+USE_GL= gl
+USE_XORG= x11 xt xmu xi
USE_GMAKE= yes
-USE_AUTOTOOLS= automake:14 autoconf:261
+USE_AUTOTOOLS= automake:14 autoconf:262
AUTOMAKE_ARGS= -a
CONFIGURE_ENV= THREAD_LIB="${PTHREAD_LIBS}"
MAKE_ENV= ${CONFIGURE_ENV}
CONFIGURE_ARGS= --with-tcl-inc="${LOCALBASE}/include/tcl8.3" \
--with-tcl-libs="${LOCALBASE}/lib" \
- --with-gl-libs="${X11BASE}/lib" \
- --with-gl-inc="${X11BASE}/include" \
+ --with-gl-libs="${LOCALBASE}/lib" \
+ --with-gl-inc="${LOCALBASE}/include" \
--with-data-dir=${PREFIX}/share/tuxracer
WORKDATA= ${WRKDIR}/${PORTNAME}-data-${PORTVERSION}
COURSEDIRS= 1 2 3 4 5 6 7 8 9 10 11
post-extract:
- ${RM} ${WRKSRC}/missing
+ @${RM} ${WRKSRC}/missing
post-install:
- ${MKDIR} ${DATADIR}
- (${CHMOD} -R o+r ${WORKDATA} && cd ${WORKDATA} && ${TAR} -c -f - *) | \
+ @${MKDIR} ${DATADIR}
+ @(${CHMOD} -R o+r ${WORKDATA} && cd ${WORKDATA} && ${TAR} -c -f - *) | \
(cd ${DATADIR} && ${TAR} -x -f - )
.include <bsd.port.mk>
More information about the Midnightbsd-cvs
mailing list