1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/archivers/deutex/Makefile
Baptiste Daroussin abd39abbd9 Support stage
2014-01-05 00:15:00 +00:00

36 lines
1.0 KiB
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= deutex
PORTVERSION= 4.4.0
PORTREVISION= 1
CATEGORIES= archivers games
MASTER_SITES= http://www.teaser.fr/~amajorel/deutex/ \
http://freebsd.nsu.ru/distfiles/
MAINTAINER= danfe@FreeBSD.org
COMMENT= WAD file manipulator for Doom, Heretic, Hexen, and Strife
LICENSE= GPLv2
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
PLIST_FILES= bin/deusf bin/deutex \
man/man6/${PORTNAME}.6.gz
PORTDOCS= *
post-extract:
@${REINPLACE_CMD} -e 's,-mkdir,mkdir -p,' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's,malloc\.h,stdlib.h,' ${WRKSRC}/src/tools.c
@${REINPLACE_CMD} -e '/blockv/s,VOCHEAD,VOCBLOCK1,' \
${WRKSRC}/src/sound.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/deusf ${WRKSRC}/deutex ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CHANGES ${WRKSRC}/TODO ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/dtexman6.txt ${STAGEDIR}${DOCSDIR}/MANUAL
.include <bsd.port.mk>