svn commit: r318280 - head/games/lmpc
Alexey Dokuchaev
danfe at FreeBSD.org
Thu May 16 08:35:19 UTC 2013
Author: danfe
Date: Thu May 16 08:35:18 2013
New Revision: 318280
URL: http://svnweb.freebsd.org/changeset/ports/318280
Log:
- Update Makefile header and COMMENT
- Convert NOPORTDOCS -> PORT_OPTIONS:MDOCS
Modified:
head/games/lmpc/Makefile
Modified: head/games/lmpc/Makefile
==============================================================================
--- head/games/lmpc/Makefile Thu May 16 08:09:21 2013 (r318279)
+++ head/games/lmpc/Makefile Thu May 16 08:35:18 2013 (r318280)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: Litte Movie Processing Centre
-# Date created: 16 Mar 2006
-# Whom: Alexey Dokuchaev <danfe at FreeBSD.org>
-#
+# Created by: Alexey Dokuchaev <danfe at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= lmpc
PORTVERSION= 3.4.4
@@ -14,7 +10,7 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= danfe at FreeBSD.org
-COMMENT= A tool to manipulate games demo recordings
+COMMENT= Tool to manipulate some FPS games demo recordings
LICENSE= GPLv2
@@ -30,7 +26,9 @@ FETCHED_DOCS= ${PORTNAME}.html ${PORTNAM
PORTDOCS= *
PLIST_FILES= ${SCRIPTS:S,^,bin/,} ${PROGRAMS:S,^,bin/,}
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
.if ${ARCH} != "i386"
IGNORE= does not work on ${ARCH}: assumes sizeof(long) == 4
@@ -43,10 +41,10 @@ post-patch:
do-install:
${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/bin/,} ${PREFIX}/bin
${INSTALL_PROGRAM} ${PROGRAMS:S,^,${WRKSRC}/src/,} ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${FETCHED_DOCS:S,^,${DISTDIR}/,} ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-all
mailing list