aboutsummaryrefslogtreecommitdiff
path: root/games/quake3-osp/Makefile
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-05-11 11:29:39 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-05-11 11:29:39 +0000
commit4b69f21a1be2a073cf11163654d35795e03833d8 (patch)
tree8e692462b5485bb3e22d0cbdcca7465027dd3a11 /games/quake3-osp/Makefile
parent322f0ceb7866cb2292abde3802501ce5b16fc8ce (diff)
Notes
Diffstat (limited to 'games/quake3-osp/Makefile')
-rw-r--r--games/quake3-osp/Makefile37
1 files changed, 19 insertions, 18 deletions
diff --git a/games/quake3-osp/Makefile b/games/quake3-osp/Makefile
index cfd667af50c3..2cb373f9024e 100644
--- a/games/quake3-osp/Makefile
+++ b/games/quake3-osp/Makefile
@@ -1,44 +1,45 @@
-# New ports collection makefile for: Q3 Mod: OSP Tourney DM/CA/CTF
-# Date created: Mon Jun 4 16:20:32 EDT 2001
-# Whom: pat@databits.net
-#
+# Created by: Patrick Li <pat@databits.net>
# $FreeBSD$
-#
PORTNAME= osp
PORTVERSION= 1.03a
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR= distfiles
+MASTER_SITES= http://osp.jsmart.web.id/orangesmoothie/downloads/
PKGNAMEPREFIX= ${Q3PKGNAMEPREFIX}
DISTNAME= osp-Quake3-${PORTVERSION}_full
MAINTAINER= danfe@FreeBSD.org
-COMMENT= Quake III Arena Mod: OSP Tourney DM/CA/CTF
-
-WRKSRC= ${WRKDIR}/${PORTNAME}
+COMMENT= Quake III Arena mod: OSP Tourney DM/CA/CTF
USE_ZIP= yes
USE_CRLF= yes
NO_BUILD= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
DATADIR= ${Q3DIR}/${PORTNAME}
+OPTIONS_DEFINE= DOCS
+
+.include "${.CURDIR}/../quake3-data/Makefile.include"
+.include <bsd.port.options.mk>
+
+post-extract:
+# Replace outdated README file
+ @${MV} ${WRKSRC}/README.txt ${WRKSRC}/Docs
+
do-install:
@${MKDIR} ${DATADIR}
.for f in *.cfg *.pk3 description.txt filters.txt
- @${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
.endfor
-.for d in cfg-GfxExample locs vm
- @${CP} -R ${WRKSRC}/${d} ${DATADIR}
+.for d in cfg-* locs vm
+ ${CP} -a ${WRKSRC}/${d} ${DATADIR}
.endfor
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/Docs/*.txt ${DOCSDIR}
- @${INSTALL_DATA} "${WRKSRC}/OSP Match Quick Start.txt" \
+ ${INSTALL_DATA} ${WRKSRC}/Docs/*.txt ${DOCSDIR}
+ ${INSTALL_DATA} "${WRKSRC}/OSP Match Quick Start.txt" \
${DOCSDIR}/osp-match-quick-start.txt
.endif
-.include "${.CURDIR}/../quake3-data/Makefile.include"
-
.include <bsd.port.mk>