2013-05-16 10:35:18 +02:00
|
|
|
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
2006-03-16 20:02:02 +01:00
|
|
|
|
|
|
|
PORTNAME= lmpc
|
2011-08-31 16:55:32 +02:00
|
|
|
PORTVERSION= 3.4.4
|
2006-03-16 20:02:02 +01:00
|
|
|
CATEGORIES= games
|
2011-08-31 16:55:32 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
|
|
|
|
http://demospecs.half-empty.de/lmpc-alpha/:doc
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${FETCHED_DOCS:S/$/:doc/}
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
2006-03-16 20:02:02 +01:00
|
|
|
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
2014-05-21 08:56:47 +02:00
|
|
|
COMMENT= Tools to manipulate some FPS games demo recordings
|
2006-03-16 20:02:02 +01:00
|
|
|
|
2022-01-02 07:48:40 +01:00
|
|
|
LICENSE= GPLv2+
|
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= armv6 armv7 i386 mips powerpc
|
|
|
|
ONLY_FOR_ARCHS_REASON= assumes sizeof(long) == 4
|
2011-08-31 16:55:32 +02:00
|
|
|
|
2014-05-21 08:56:47 +02:00
|
|
|
USES= gmake perl5 shebangfix
|
2011-08-31 19:50:44 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2013-09-17 08:28:07 +02:00
|
|
|
USE_PERL5= build
|
2014-05-21 08:56:47 +02:00
|
|
|
SHEBANG_FILES= bin/procdm2.pl
|
2006-03-16 20:02:02 +01:00
|
|
|
|
2011-10-12 04:39:03 +02:00
|
|
|
PORTSCOUT= limit:.*[0-9]$$ # letter-suffixed files are binaries
|
|
|
|
|
2006-03-16 20:02:02 +01:00
|
|
|
SCRIPTS= dema dm2cat procdm2.pl
|
|
|
|
PROGRAMS= dbs demcut lmpc
|
2011-08-31 16:55:32 +02:00
|
|
|
FETCHED_DOCS= ${PORTNAME}.html ${PORTNAME}.pdf ${PORTNAME}.sgml
|
|
|
|
PORTDOCS= *
|
2011-08-31 19:50:44 +02:00
|
|
|
PLIST_FILES= ${SCRIPTS:S,^,bin/,} ${PROGRAMS:S,^,bin/,}
|
2006-03-16 20:02:02 +01:00
|
|
|
|
2013-05-16 10:35:18 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2011-08-31 16:55:32 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's,bin doc src spec,bin src,' \
|
|
|
|
${WRKSRC}/Makefile.in
|
2014-05-21 08:56:47 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,^record\.o,dbs.o demcut.o demotexty.o \
|
2022-01-02 07:48:40 +01:00
|
|
|
lmpc.o record.o udem.o udeml.o udm2.o udm3.o uqwd.o,' \
|
2014-05-21 08:56:47 +02:00
|
|
|
${WRKSRC}/src/Makefile.in
|
2006-03-16 20:02:02 +01:00
|
|
|
|
|
|
|
do-install:
|
2014-05-21 08:56:47 +02:00
|
|
|
${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/bin/,} \
|
|
|
|
${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${PROGRAMS:S,^,${WRKSRC}/src/,} \
|
|
|
|
${STAGEDIR}${PREFIX}/bin
|
2022-01-02 07:48:40 +01:00
|
|
|
|
|
|
|
do-install-DOCS-on:
|
2014-05-21 08:56:47 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${FETCHED_DOCS:S,^,${DISTDIR}/,} ${STAGEDIR}${DOCSDIR}
|
2006-03-16 20:02:02 +01:00
|
|
|
|
2013-05-16 10:35:18 +02:00
|
|
|
.include <bsd.port.mk>
|