aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/xdms/Makefile
blob: b26726dc1a72d307e91c74f0f0835302909c6ff5 (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
37
38
39
# Created by: Mark Pulford <mark@kyne.com.au>
# $FreeBSD$

PORTNAME=   xdms
PORTVERSION=    1.3.2
CATEGORIES= archivers
MASTER_SITES=   http://zakalwe.fi/~shd/foss/xdms/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Tool for decompressing Amiga DMS files

LICENSE=    PD
LICENSE_NAME=   Public Domain
LICENSE_FILE=   ${WRKSRC}/COPYING
LICENSE_PERMS=  dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

USES=       tar:bzip2
HAS_CONFIGURE=  yes
CONFIGURE_ARGS= --prefix=${PREFIX}
ALL_TARGET= xdms

USE_CSTD=   gnu89

PORTDOCS=   xdms.txt
PLIST_FILES=    bin/xdms

OPTIONS_DEFINE= DOCS

post-patch:
    ${REINPLACE_CMD} "s@-O2 -Wall@$${CFLAGS} -Wall@g" ${WRKSRC}/src/Makefile.in

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/xdms ${STAGEDIR}${PREFIX}/bin

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/xdms.txt ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>