Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2014 06:56:47 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r354713 - head/games/lmpc
Message-ID:  <201405210656.s4L6ulcD044077@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Wed May 21 06:56:47 2014
New Revision: 354713
URL: http://svnweb.freebsd.org/changeset/ports/354713
QAT: https://qat.redports.org/buildarchive/r354713/

Log:
  - Stagify; utilize shebangfix for one of the script files; touch COMMENT
  - Try to fix parallel (-jX) builds by adding missing target dependencies

Modified:
  head/games/lmpc/Makefile

Modified: head/games/lmpc/Makefile
==============================================================================
--- head/games/lmpc/Makefile	Wed May 21 06:46:59 2014	(r354712)
+++ head/games/lmpc/Makefile	Wed May 21 06:56:47 2014	(r354713)
@@ -10,14 +10,14 @@ DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 
 MAINTAINER=	danfe@FreeBSD.org
-COMMENT=	Tool to manipulate some FPS games demo recordings
+COMMENT=	Tools to manipulate some FPS games demo recordings
 
 LICENSE=	GPLv2
 
-USES=		gmake perl5
-MAKE_JOBS_UNSAFE=	yes
+USES=		gmake perl5 shebangfix
 GNU_CONFIGURE=	yes
 USE_PERL5=	build
+SHEBANG_FILES=	bin/procdm2.pl
 
 PORTSCOUT=	limit:.*[0-9]$$		# letter-suffixed files are binaries
 
@@ -29,7 +29,6 @@ PLIST_FILES=	${SCRIPTS:S,^,bin/,} ${PROG
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${ARCH} != "i386"
@@ -39,14 +38,17 @@ IGNORE=		does not work on ${ARCH}: assum
 post-patch:
 	@${REINPLACE_CMD} -e 's,bin doc src spec,bin src,' \
 		${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e 's,^record\.o,dbs.o demcut.o demotexty.o \
+		lmpc.o record.o udem.o udm2.o udm3.o uqwd.o,' \
+			${WRKSRC}/src/Makefile.in
 
 do-install:
-	${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/bin/,} ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${PROGRAMS:S,^,${WRKSRC}/src/,} ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-	${INSTALL_DATA} ${FETCHED_DOCS:S,^,${DISTDIR}/,} ${DOCSDIR}
-.endif
+	${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/bin/,} \
+		${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${PROGRAMS:S,^,${WRKSRC}/src/,} \
+		${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${FETCHED_DOCS:S,^,${DISTDIR}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405210656.s4L6ulcD044077>