aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-05-23 10:02:57 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-05-23 10:02:57 +0800
commitda1ae0bd0b83f44592876e0a19a0a542c93632d4 (patch)
treeff3dd2e484e7f80fa7bc2a956c50d29e9e6690a7 /games
parent62a4f8f2b4230b86e22c7ec18504f4e0bc10e5b4 (diff)
downloadfreebsd-ports-gnome-da1ae0bd0b83f44592876e0a19a0a542c93632d4.tar.gz
freebsd-ports-gnome-da1ae0bd0b83f44592876e0a19a0a542c93632d4.tar.zst
freebsd-ports-gnome-da1ae0bd0b83f44592876e0a19a0a542c93632d4.zip
- Trim Makefile header
- OptionsNG
Diffstat (limited to 'games')
-rw-r--r--games/sea-defender/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/sea-defender/Makefile b/games/sea-defender/Makefile
index 449bf9c14a4f..3076c563cec8 100644
--- a/games/sea-defender/Makefile
+++ b/games/sea-defender/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: sea-defender
-# Date created: 23 Jul 2010
-# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
-#
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= sea-defender
PORTVERSION= r20100723
@@ -30,10 +26,12 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= README
+.include <bsd.port.options.mk>
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sea ${PREFIX}/libexec/${PORTNAME}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif