- Update to 1.01
- Install docs
This commit is contained in:
parent
ef82212a9c
commit
699f9e581e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=227375
3 changed files with 24 additions and 9 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= sdl-ball
|
||||
PORTVERSION= 1.0
|
||||
PORTVERSION= 1.01
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= SF
|
||||
|
||||
|
@ -20,9 +20,15 @@ MAKE_ENV= DATADIR=${DATADIR}/
|
|||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/sdl-ball ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/sdl-ball ${PREFIX}/bin/
|
||||
${MKDIR} ${DATADIR}
|
||||
cd ${WRKSRC}/themes && ${COPYTREE_SHARE} . ${DATADIR}
|
||||
cd ${WRKSRC}/themes && ${COPYTREE_SHARE} . ${DATADIR}/
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (sdl-ball-1.0.tar.bz2) = f7b593103e64e66b7244dd800ac97c98
|
||||
SHA256 (sdl-ball-1.0.tar.bz2) = aac5bb41fc7e826e70a59544f954e2c132bc236d2279a194e1483d40da9aad4e
|
||||
SIZE (sdl-ball-1.0.tar.bz2) = 3389533
|
||||
MD5 (sdl-ball-1.01.tar.bz2) = adf6ff4f4e4ffcff63428281f27c96d7
|
||||
SHA256 (sdl-ball-1.01.tar.bz2) = 85e2a857c8c318e81732e3c1e843fc70d7199fa83e2f4efc42239ebbe8d7b9e6
|
||||
SIZE (sdl-ball-1.01.tar.bz2) = 3467329
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- Makefile.orig 2008-12-31 03:42:35.000000000 +0300
|
||||
+++ Makefile 2009-01-11 18:51:37.000000000 +0300
|
||||
--- Makefile.orig 2008-12-31 00:42:35.000000000 +0000
|
||||
+++ Makefile 2009-01-31 03:45:32.000000000 +0000
|
||||
@@ -2,13 +2,12 @@
|
||||
|
||||
#append -DWITH_WIIUSE to compile with WIIUSE support!
|
||||
|
@ -7,7 +7,7 @@
|
|||
-CC=g++ -DDATADIR="\"$(DATADIR)\""
|
||||
|
||||
-CFLAGS+=-c -Wall `sdl-config --cflags`
|
||||
+CFLAGS+=-c -Wall `${SDL_CONFIG} --cflags` -DDATADIR="\"$(DATADIR)\""
|
||||
+CFLAGS+=-Wall `${SDL_CONFIG} --cflags` -DDATADIR="\"$(DATADIR)\""
|
||||
|
||||
#append -lwiiuse to compile with WIIUSE support
|
||||
#remove -lSDL_mixer if compiling with -DNOSOUND
|
||||
|
@ -16,3 +16,12 @@
|
|||
|
||||
SOURCES=main.cpp
|
||||
OBJECTS=$(SOURCES:.cpp=.o)
|
||||
@@ -18,7 +17,7 @@
|
||||
all: $(SOURCES) $(EXECUTABLE)
|
||||
|
||||
$(EXECUTABLE): $(OBJECTS)
|
||||
- $(CC) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $@
|
||||
+ $(CC) $(CFLAGS) $(SOURCES) $(LIBS) -o $@
|
||||
|
||||
.cpp.o:
|
||||
$(CC) $(CFLAGS) $< -o $@
|
||||
|
|
Loading…
Reference in a new issue