aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/xdms/Makefile
blob: 1b38ea5e0c15e016a27ab34fe21f6949b5622789 (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:    xdms
# Date created:         Apr 13, 2001
# Whom:             Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#

PORTNAME=   xdms
PORTVERSION=    1.3.1
CATEGORIES= archivers
MASTER_SITES=   http://zakalwe.virtuaalipalvelin.net/~shd/foss/xdms/

MAINTAINER= markp@FreeBSD.org
COMMENT=    An Amiga DMS archiver unpacker

USE_REINPLACE=  yes
HAS_CONFIGURE=  yes
CONFIGURE_ARGS= --prefix=${PREFIX}
ALL_TARGET= xdms

.include <bsd.port.pre.mk>

post-patch:
    ${REINPLACE_CMD} "s@-O3 -Wall@-Wall@g" ${WRKSRC}/src/Makefile.in
.if ( ${OSVERSION} < 500000 )
    ${REINPLACE_CMD} 's/stdint.h/inttypes.h/' ${WRKSRC}/src/cdata.h
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/xdms ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/xdms
    ${INSTALL_DATA} ${WRKSRC}/xdms.txt ${PREFIX}/share/doc/xdms
.endif

.include <bsd.port.post.mk>