diff options
author | danfe <danfe@FreeBSD.org> | 2014-05-21 14:56:47 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2014-05-21 14:56:47 +0800 |
commit | f2362ef934267c9ede3ad246a0635862ec3d5265 (patch) | |
tree | 30e5f9baa3959b76583617c484f6b2313c8d390f /games | |
parent | b61d3438785ecba4a0b9bf709fb8b82ceafacbd7 (diff) | |
download | freebsd-ports-gnome-f2362ef934267c9ede3ad246a0635862ec3d5265.tar.gz freebsd-ports-gnome-f2362ef934267c9ede3ad246a0635862ec3d5265.tar.zst freebsd-ports-gnome-f2362ef934267c9ede3ad246a0635862ec3d5265.zip |
- Stagify; utilize shebangfix for one of the script files; touch COMMENT
- Try to fix parallel (-jX) builds by adding missing target dependencies
Diffstat (limited to 'games')
-rw-r--r-- | games/lmpc/Makefile | 24 |
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> |