aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/amigadepacker/Makefile
blob: 84969d3e0f766fda2201722788569c9191fbc89c (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
# New ports collection makefile for:    amigadepacker
# Date created:             18 Oct 2009
# Whom:                 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

HAS_CONFIGURE=  yes
USE_BZIP2=  yes
USE_CSTD=   gnu89

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

LICENSE=    GPLv2
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>