1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/games/lmpc/Makefile
Alexey Dokuchaev 7e104cc675 - Fix the build on 4/i386 and perl-less systems [*]
- Minor Makefile cleanups

Reported by:	krismail [*]
2006-03-20 11:01:37 +00:00

53 lines
1.2 KiB
Makefile

# New ports collection makefile for: Litte Movie Processing Centre
# Date created: 16 Mar 2006
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= lmpc
PORTVERSION= 3.4.1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= danfe@FreeBSD.org
COMMENT= A tool to manipulate games demo recordings
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_PERL5_BUILD= yes
SCRIPTS= dema dm2cat procdm2.pl
PROGRAMS= dbs demcut lmpc
PORTDOCS= README lmpc.html
PLIST_FILES= ${SCRIPTS:S/^/bin\//} ${PROGRAMS:S/^/bin\//}
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
IGNORE= assumes sizeof(long) == 4
.endif
pre-patch: .SILENT
${REINPLACE_CMD} -e 's,bin doc src spec,bin src,' ${WRKSRC}/Makefile.in
# Include <sys/types.h> before <sys/shm.h>, at least alpha needs it
${ECHO_CMD} -e '37t30\n38d\nwq' | ${ED} -s ${WRKSRC}/src/dbs.c
do-install:
.for s in ${SCRIPTS}
${INSTALL_SCRIPT} ${WRKSRC}/bin/${s} ${PREFIX}/bin
.endfor
.for p in ${PROGRAMS}
${INSTALL_PROGRAM} ${WRKSRC}/src/${p} ${PREFIX}/bin
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${FILESDIR}/lmpc.html ${DOCSDIR}
.endif
ED?= /bin/ed
.include <bsd.port.post.mk>