summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/lmpc/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/games/lmpc/Makefile b/games/lmpc/Makefile
index c8359dea0e85..4b30532aa491 100644
--- a/games/lmpc/Makefile
+++ b/games/lmpc/Makefile
@@ -11,7 +11,10 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= danfe@FreeBSD.org
COMMENT= Tools to manipulate some FPS games demo recordings
-LICENSE= GPLv2
+LICENSE= GPLv2+
+
+ONLY_FOR_ARCHS= armv6 armv7 i386 mips powerpc
+ONLY_FOR_ARCHS_REASON= assumes sizeof(long) == 4
USES= gmake perl5 shebangfix
GNU_CONFIGURE= yes
@@ -28,17 +31,11 @@ PLIST_FILES= ${SCRIPTS:S,^,bin/,} ${PROGRAMS:S,^,bin/,}
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
-.if ${ARCH} != "i386"
-IGNORE= does not work on ${ARCH}: assumes sizeof(long) == 4
-.endif
-
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,' \
+ lmpc.o record.o udem.o udeml.o udm2.o udm3.o uqwd.o,' \
${WRKSRC}/src/Makefile.in
do-install:
@@ -46,6 +43,8 @@ do-install:
${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${PROGRAMS:S,^,${WRKSRC}/src/,} \
${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${FETCHED_DOCS:S,^,${DISTDIR}/,} ${STAGEDIR}${DOCSDIR}