aboutsummaryrefslogtreecommitdiffstats
path: root/games/blackshadeselite
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-02-04 07:39:29 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-02-04 07:39:29 +0800
commit23d354edfb450cc577193896deed61e0a8638817 (patch)
tree35552ac872c2b9dc00dacd45b2f2cea573fdd2dc /games/blackshadeselite
parenta7c166c51aebf2a4f3f142990b14e4a62d127daf (diff)
downloadfreebsd-ports-gnome-23d354edfb450cc577193896deed61e0a8638817.tar.gz
freebsd-ports-gnome-23d354edfb450cc577193896deed61e0a8638817.tar.zst
freebsd-ports-gnome-23d354edfb450cc577193896deed61e0a8638817.zip
- Trim header
- OptionsNG
Diffstat (limited to 'games/blackshadeselite')
-rw-r--r--games/blackshadeselite/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/games/blackshadeselite/Makefile b/games/blackshadeselite/Makefile
index ab3280eaf731..da3a10d1b3d7 100644
--- a/games/blackshadeselite/Makefile
+++ b/games/blackshadeselite/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: blackshadeselite
-# Date created: 27 Jan 2008
-# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
-#
+# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
-#
PORTNAME= blackshadeselite
PORTVERSION= 0.0.1
@@ -29,6 +25,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= Readme Readme.elite
+.include <bsd.port.options.mk>
+
post-extract:
@${FIND} ${WRKSRC}/Data -name '._*' -delete
@@ -39,15 +37,12 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/objs/blackshades ${PREFIX}/bin
${MKDIR} ${DATADIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} Data ${DATADIR}/
-
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
-
-post-install:
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
.include <bsd.port.mk>