summaryrefslogtreecommitdiff
path: root/games/taipan
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-12 15:52:23 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-12 15:52:23 +0000
commit443e7ac81d25c3b6c15d75da8063f911ad6dbf09 (patch)
treee4faa912869ea593961f1705e537a133654ef2ba /games/taipan
parentupgrade to 3.0.1 (diff)
- Add MASTER_SITE_SUNSITE to MASTER_SITES
- Support install macros PR: 43963 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=67871
Diffstat (limited to 'games/taipan')
-rw-r--r--games/taipan/Makefile11
-rw-r--r--games/taipan/files/patch-aa26
2 files changed, 8 insertions, 29 deletions
diff --git a/games/taipan/Makefile b/games/taipan/Makefile
index d5c27ce2ed48..d05f315cddcc 100644
--- a/games/taipan/Makefile
+++ b/games/taipan/Makefile
@@ -7,13 +7,18 @@
PORTNAME= taipan
PORTVERSION= 0.9
+PORTREVISION= 1
CATEGORIES= games
-MASTER_SITES= ftp://ftp.ilbbs.com/pub/linux/
+MASTER_SITES= ${MASTER_SITE_SUNSITE} \
+ ftp://ftp.ilbbs.com/pub/linux/
+MASTER_SITE_SUBDIR= games/textrpg
MAINTAINER= ports@FreeBSD.org
-post-install:
- @${STRIP_CMD} ${PREFIX}/bin/taipan
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/taipan ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
diff --git a/games/taipan/files/patch-aa b/games/taipan/files/patch-aa
deleted file mode 100644
index 18aade17118a..000000000000
--- a/games/taipan/files/patch-aa
+++ /dev/null
@@ -1,26 +0,0 @@
---- Makefile.orig Mon Dec 31 08:09:20 2001
-+++ Makefile Fri Mar 15 14:52:14 2002
-@@ -18,12 +18,12 @@
- # install - installs taipan
-
- prefix = /usr/local
--bindir = $(prefix)/games
-+bindir = $(prefix)/bin
-
- # 'make install' will compile and install the program
-
- CC = gcc
--CFLAGS = -O3 -Wall
-+CFLAGS += -O3 -Wall
- OBJECTS = taipan.o
- LIBS = -lcurses
- RM = rm -f
-@@ -34,7 +34,7 @@
- $(RM) taipan $(OBJECTS)
-
- install: taipan
-- install -m 4755 -o root -g root -s taipan $(bindir)
-+ install -m 755 -o root -g wheel -s taipan $(bindir)
-
- taipan: $(OBJECTS)
- $(CC) $(CFLAGS) -o taipan $(OBJECTS) $(LIBS)