mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Update to 4
This commit is contained in:
parent
5e3c1308c6
commit
05ff564b19
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278888
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= passage
|
||||
PORTVERSION= 3
|
||||
PORTVERSION= 4
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= SF/hcsoftware/Passage/v${PORTVERSION}
|
||||
DISTNAME= Passage_v${PORTVERSION}_UnixSource
|
||||
@ -15,11 +15,13 @@ MAINTAINER= amdmi3@FreeBSD.org
|
||||
COMMENT= An experimental video game by Jason Rohrer
|
||||
|
||||
USE_SDL= sdl
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/gamma256/gameSource
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-lSDL||' ${WRKSRC}/Makefile.GnuLinux
|
||||
@${REINPLACE_CMD} -e 's|^\(PLATFORM_LINK_FLAGS =\).*|\1 ${PTHREAD_LIBS}|' \
|
||||
${WRKSRC}/Makefile.GnuLinux
|
||||
@${REINPLACE_CMD} -e 's|"graphics"|"${DATADIR}/graphics"|' \
|
||||
${WRKSRC}/common.cpp
|
||||
@${REINPLACE_CMD} -e 's|"music"|"${DATADIR}/music"|' \
|
||||
@ -31,10 +33,8 @@ do-configure:
|
||||
cd ${WRKSRC} && ${CAT} Makefile.GnuLinux Makefile.all > Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/Passage ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/Passage ${PREFIX}/bin/
|
||||
${MKDIR} ${DATADIR}
|
||||
.for d in graphics music settings
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR}
|
||||
.endfor
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} "graphics music settings" ${DATADIR}/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (Passage_v3_UnixSource.tar.gz) = 67bf36415a8cde717184abb075112d3ad4495dcd9b032653bc3c7272b9f4a182
|
||||
SIZE (Passage_v3_UnixSource.tar.gz) = 424772
|
||||
SHA256 (Passage_v4_UnixSource.tar.gz) = c32fb893a5b91e7090237859367559e67c2fb394690c54723879cbd689227e0a
|
||||
SIZE (Passage_v4_UnixSource.tar.gz) = 557720
|
||||
|
@ -1,13 +1,13 @@
|
||||
--- Makefile.all.orig 2007-12-11 21:44:49.000000000 +0300
|
||||
+++ Makefile.all 2008-04-23 20:47:45.000000000 +0400
|
||||
--- Makefile.all.orig 2010-05-24 01:03:11.000000000 +0400
|
||||
+++ Makefile.all 2011-08-04 02:06:46.000000000 +0400
|
||||
@@ -1,8 +1,8 @@
|
||||
|
||||
ROOT_PATH = ../..
|
||||
|
||||
-COMPILE = g++ ${PLATFORM_COMPILE_FLAGS} -Wall -g -I${ROOT_PATH} -c
|
||||
-COMPILE = g++ ${PLATFORM_COMPILE_FLAGS} -Wall -Wwrite-strings -Wchar-subscripts -Wparentheses -g -I${ROOT_PATH} -c
|
||||
-LINK = g++ -I${ROOT_PATH}
|
||||
+COMPILE = ${CXX} ${CXXFLAGS} `${SDL_CONFIG} --cflags` -Wall -I${ROOT_PATH} -c
|
||||
+LINK = ${CXX} `${SDL_CONFIG} --libs`
|
||||
+COMPILE = ${CXX} ${CXXFLAGS} `${SDL_CONFIG} --cflags` -Wall -Wwrite-strings -Wchar-subscripts -Wparentheses -I${ROOT_PATH} -c
|
||||
+LINK = ${CXX} ${LDFLAGS} `${SDL_CONFIG} --libs`
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user