aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-05-16 16:35:18 +0800
committerdanfe <danfe@FreeBSD.org>2013-05-16 16:35:18 +0800
commit86c1e6eaafa5d46e26b380dc22b978409c74efb1 (patch)
treeb22020e734b39e601d4521ebedd90e2800afc015 /games
parent6cb1808ddb940c78f6f97bad2a813803c46a64b2 (diff)
downloadfreebsd-ports-gnome-86c1e6eaafa5d46e26b380dc22b978409c74efb1.tar.gz
freebsd-ports-gnome-86c1e6eaafa5d46e26b380dc22b978409c74efb1.tar.zst
freebsd-ports-gnome-86c1e6eaafa5d46e26b380dc22b978409c74efb1.zip
- Update Makefile header and COMMENT
- Convert NOPORTDOCS -> PORT_OPTIONS:MDOCS
Diffstat (limited to 'games')
-rw-r--r--games/lmpc/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/games/lmpc/Makefile b/games/lmpc/Makefile
index 4e21b3cb23f5..1330259b0229 100644
--- a/games/lmpc/Makefile
+++ b/games/lmpc/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: Litte Movie Processing Centre
-# Date created: 16 Mar 2006
-# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
-#
+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= lmpc
PORTVERSION= 3.4.4
@@ -14,7 +10,7 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${FETCHED_DOCS:S/$/:doc/}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= danfe@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 ${PORTNAME}.pdf ${PORTNAME}.sgml
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>