svn commit: r318818 - head/games/sea-defender

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu May 23 02:02:58 UTC 2013


Author: amdmi3
Date: Thu May 23 02:02:57 2013
New Revision: 318818
URL: http://svnweb.freebsd.org/changeset/ports/318818

Log:
  - Trim Makefile header
  - OptionsNG

Modified:
  head/games/sea-defender/Makefile

Modified: head/games/sea-defender/Makefile
==============================================================================
--- head/games/sea-defender/Makefile	Thu May 23 02:02:20 2013	(r318817)
+++ head/games/sea-defender/Makefile	Thu May 23 02:02:57 2013	(r318818)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	sea-defender
-# Date created:		23 Jul 2010
-# Whom:			Dmitry Marakasov <amdmi3 at FreeBSD.org>
-#
+# Created by: Dmitry Marakasov <amdmi3 at 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


More information about the svn-ports-all mailing list