summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-10-12 15:52:23 +0000
committerijliao <ijliao@FreeBSD.org>2002-10-12 15:52:23 +0000
commitbb6519688b588a7e1275e11539bd104efa7d0d2f (patch)
tree83c162f62ed95998e88d86b32e9fecd487ef4fd2
parent6b9d4dfe09eccf9aa93ee2f4c7835a302b2af2a9 (diff)
downloadFreeBSD-ports-bb6519688b588a7e1275e11539bd104efa7d0d2f.zip
FreeBSD-ports-bb6519688b588a7e1275e11539bd104efa7d0d2f.tar.gz
- Add MASTER_SITE_SUNSITE to MASTER_SITES
- Support install macros PR: 43963 Submitted by: Ports Fury
-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 d5c27ce..d05f315 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 18aade1..0000000
--- 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)
OpenPOWER on IntegriCloud