aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/amigadepacker/Makefile
blob: c84fd35bb3c6381f4d3b8e28bbd2925809b4793c (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
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$

PORTNAME=   amigadepacker
PORTVERSION=    0.04
CATEGORIES= archivers
MASTER_SITES=   http://zakalwe.fi/~shd/foss/amigadepacker/ \
        CRITICAL

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    Tool for depacking some compressed Amiga formats

LICENSE=    GPLv2

NO_STAGE=   yes
HAS_CONFIGURE=  yes
USE_BZIP2=  yes
USE_CSTD=   gnu89

CONFIGURE_ARGS+=    --prefix=${PREFIX}
ALL_TARGET= ${PORTNAME}

MAN1=       amigadepacker.1
PLIST_FILES=    bin/amigadepacker

post-patch:
    @${REINPLACE_CMD} -E '/^(CC|CFLAGS)/d' ${WRKSRC}/Makefile.in

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1

.include <bsd.port.mk>