1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

- Stagify; utilize shebangfix for one of the script files; touch COMMENT

- Try to fix parallel (-jX) builds by adding missing target dependencies
This commit is contained in:
Alexey Dokuchaev 2014-05-21 06:56:47 +00:00
parent c5331b3f8b
commit 9c1c23ecc2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354713

View File

@ -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>