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

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

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

LICENSE=    GPLv2

USES=       tar:bzip2
HAS_CONFIGURE=  yes
USE_CSTD=   gnu89

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

PLIST_FILES=    bin/amigadepacker man/man1/amigadepacker.1.gz

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

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

.include <bsd.port.mk>