aboutsummaryrefslogtreecommitdiffstats
path: root/games/lmpc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/lmpc/Makefile')
-rw-r--r--games/lmpc/Makefile24
1 files changed, 13 insertions, 11 deletions
diff --git a/games/lmpc/Makefile b/games/lmpc/Makefile
index e3551a99e1ef..b5d31dba2748 100644
--- a/games/lmpc/Makefile
+++ b/games/lmpc/Makefile
@@ -10,14 +10,14 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${FETCHED_DOCS:S/$/:doc/}
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/,} ${PROGRAMS:S,^,bin/,}
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${ARCH} != "i386"
@@ -39,14 +38,17 @@ IGNORE= does not work on ${ARCH}: assumes sizeof(long) == 4
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>