mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
0d2725682b
structure (i.e. include/SDL for includes and sdl-config for configuration binary) - Update graphics/sdl_ttf to version 2.0.8 - Update graphics/sdl_image to version 1.2.5 - Update audio/sdl_mixer to version 1.2.7 - Update net/sdl_net to version 1.2.6 - Update Mk/bsd.sdl.mk accordingly - Fix dependent ports to fit the new directory structure and avoid several API breakages - Bump up portrevisions for all dependent ports to allow them to be upgraded by portupgrade/portmaster etc tools Approved by: kris (portmgr), sem (mentor)
59 lines
1.5 KiB
Makefile
59 lines
1.5 KiB
Makefile
# New ports collection makefile for: eduke32
|
|
# Date Created: 1 Aug 2006
|
|
# Whom: alepulver
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= eduke32
|
|
PORTVERSION= 20060718
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTFILES= ${PORTNAME}_src_${PORTVERSION}.zip \
|
|
txbuild_src_${PORTVERSION}.zip
|
|
|
|
MAINTAINER= alepulver@FreeBSD.org
|
|
COMMENT= Duke Nukem 3D Port based on JFDuke and EDuke
|
|
|
|
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
ONLY_FOR_ARCHS_REASON= uses x86 assembly code
|
|
USE_ZIP= yes
|
|
USE_GCC= 3.2+
|
|
USE_GMAKE= yes
|
|
USE_GL= yes
|
|
USE_GNOME= gtk20
|
|
USE_SDL= mixer sdl
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}_src_${PORTVERSION}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -Ee \
|
|
's|^(EROOT=)../build/|\1../txbuild_src_${PORTVERSION}/|; \
|
|
s|^(CC=).*|\1${CC}|; \
|
|
s|^(CXX=).*|\1${CXX}|; \
|
|
s|^(NASMFLAGS=).*|\1 -s -f elf|; \
|
|
s|/usr/X11R6|${X11BASE}|; \
|
|
s|sdl-config|${SDL_CONFIG}|' \
|
|
${WRKSRC}/Makefile \
|
|
${WRKDIR}/txbuild_src_${PORTVERSION}/Makefile \
|
|
${WRKDIR}/txbuild_src_${PORTVERSION}/Makefile.shared
|
|
@${REINPLACE_CMD} -e 's|/usr/share/games/eduke32|${DN3DDIR}|' \
|
|
${WRKSRC}/source/game.c ${WRKSRC}/source/astub.c
|
|
|
|
do-install:
|
|
.for f in eduke32 mapster32
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
|
|
.endfor
|
|
.if !defined(NOPORTDOCS)
|
|
.for f in ChangeLog *.sample
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include "${.CURDIR}/../duke3d-data/Makefile.include"
|
|
|
|
.include <bsd.port.mk>
|