aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/deutex/Makefile
blob: 654f2bc64f7de0226b7353465049133c9f35f734 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:    DeuTex
# Date created:             20 Dec 2005
# Whom:                 Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   deutex
PORTVERSION=    4.4.0
CATEGORIES= archivers games
MASTER_SITES=   http://www.teaser.fr/~amajorel/deutex/ \
        http://freebsd.nsu.ru/distfiles/

MAINTAINER= danfe@FreeBSD.org
COMMENT=    WAD file composer for Doom, Heretic, Hexen, and Strife

MAKE_ARGS=  CC="${CC}" CFLAGS="${CFLAGS}"

PLIST_FILES=    bin/deusf bin/deutex
PORTDOCS=   MANUAL TODO

MAN6=       ${PORTNAME}.6

post-extract:
    @${REINPLACE_CMD} -e 's,malloc\.h,stdlib\.h,' ${WRKSRC}/src/tools.c

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/deusf ${WRKSRC}/deutex ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${MAN6} ${MANPREFIX}/man/man6
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/dtexman6.txt ${DOCSDIR}/MANUAL
.endif

.include <bsd.port.mk>