1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/games/duel/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

45 lines
1.2 KiB
Makefile

# New ports collection makefile for: duel
# Date created: 10 Aug 2005
# Whom: Alejandro Pulver <alejandro@varnet.biz>
#
# $FreeBSD$
#
PORTNAME= duel
PORTVERSION= 0.98
PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= alepulver
DISTNAME= lin${PORTNAME}
MAINTAINER= alepulver@FreeBSD.org
COMMENT= An overhead, OpenGL space shooter
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
ftgl.2:${PORTSDIR}/graphics/ftgl
USE_AUTOTOOLS= libtool:22
USE_BZIP2= yes
USE_GL= gl
USE_SDL= sdl
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="`${SDL_CONFIG} --cflags` `freetype-config --cflags` -I${LOCALBASE}/include -I${LOCALBASE}/include/FTGL" \
LDFLAGS="`${SDL_CONFIG} --libs` -L${LOCALBASE}/lib"
WRKSRC= ${WRKDIR}/${PORTNAME}
SUB_FILES= ${PORTNAME}-sh
post-patch:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-sh ${PREFIX}/bin/${PORTNAME}
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/libexec
${MKDIR} ${DATADIR}
${CP} -R ${WRKSRC}/runDir/* ${DATADIR}
${FIND} ${DATADIR} -type f -print0 | ${XARGS} -0 ${CHMOD} ${SHAREMODE}
${FIND} ${DATADIR} -type d -print0 | ${XARGS} -0 ${CHMOD} ${BINMODE}
.include <bsd.port.mk>