aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/deco/Makefile
blob: c6d36ca3bbffd0a0e7c93c764002980b43d773d8 (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
40
41
42
43
44
45
46
47
48
49
# New ports collection makefile for:    deco
# Date created:     06 May 2008
# Whom:         Kevin Lo <kevlo@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   deco
PORTVERSION=    1.5.7
CATEGORIES= archivers
MASTER_SITES=   http://hartlich.com/deco/download/:site1 \
        http://hartlich.com/deco/archive/download/:site2
DISTFILES=  ${PORTNAME}-${PORTVERSION}.tar.gz:site1 \
        ${PORTNAME}-archive-1.2.tar.gz:site2

MAINTAINER= kevlo@FreeBSD.org
COMMENT=    A program to extract various archive file formats

RUN_DEPENDS=    arc:${PORTSDIR}/archivers/arc \
        arj:${PORTSDIR}/archivers/arj \
        cabextract:${PORTSDIR}/archivers/cabextract \
        dpkg:${PORTSDIR}/archivers/dpkg \
        lzma:${PORTSDIR}/archivers/lzmautils \
        lzop:${PORTSDIR}/archivers/lzop \
        7z:${PORTSDIR}/archivers/p7zip \
        rpm:${PORTSDIR}/archivers/rpm \
        unace:${PORTSDIR}/archivers/unace \
        unrar:${PORTSDIR}/archivers/unrar \
        unzip:${PORTSDIR}/archivers/unzip \
        zoo:${PORTSDIR}/archivers/zoo \
        flac:${PORTSDIR}/audio/flac

CONFLICTS=  deco-[0-9]*

do-build:
    cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
        ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS}
    cd ${WRKDIR}/${PORTNAME}-archive-1.2 && ${SETENV} ${MAKE_ENV} \
        ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS}

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/deco ${PREFIX}/bin
    @${MKDIR} ${DATADIR}
.for i in CREDITS LICENSE Makefile NEWS README config.mk
    ${RM} -rf ${WRKSRC}/../${PORTNAME}-archive-1.2/${i}
.endfor
    @cd ${WRKDIR}/${PORTNAME}-archive-1.2/ && ${CP} -pPR * ${DATADIR}

.include <bsd.port.mk>