aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-05-23 10:01:29 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-05-23 10:01:29 +0800
commitfd2d5898cec543442acef180935b04f6d06d9eaa (patch)
tree8382a141b5ff70f8ec4f032a7b8e0365e70aa99c /games
parent17841bae0bb7ca2933f58513a2d88446178a7a89 (diff)
downloadfreebsd-ports-gnome-fd2d5898cec543442acef180935b04f6d06d9eaa.tar.gz
freebsd-ports-gnome-fd2d5898cec543442acef180935b04f6d06d9eaa.tar.zst
freebsd-ports-gnome-fd2d5898cec543442acef180935b04f6d06d9eaa.zip
- Trim Makefile header
- OptionsNG - Mark MAKE_JOBS_SAFE
Diffstat (limited to 'games')
-rw-r--r--games/sdb/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/games/sdb/Makefile b/games/sdb/Makefile
index d8d37bd163a5..2e07e64e73d8 100644
--- a/games/sdb/Makefile
+++ b/games/sdb/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: sdb
-# Date created: 08 Sep 2005
-# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
-#
+# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
-#
PORTNAME= sdb
PORTVERSION= 1.0.2
@@ -20,6 +16,7 @@ COMMENT= Futuristic overhead shooter
USE_SDL= mixer image sdl
USE_GL= gl glu
USE_GMAKE= yes
+MAKE_JOBS_SAFE= yes
BUILD_WRKSRC= ${WRKSRC}/src
@@ -29,7 +26,7 @@ MAKE_ARGS= CPP="${CXX}" CXXFLAGS="${CXXFLAGS}" LIBS="${LDFLAGS}"
PORTDOCS= *
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${ARCH} != "powerpc" && ${ARCH} != "sparc64"
PLIST_SUB+= MODEL_SUFFIX="md2"
@@ -55,9 +52,9 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/sdb ${PREFIX}/bin
${MKDIR} ${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "levels models snd sprites" ${DATADIR}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>