aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/xcdroast/Makefile
blob: 73b36002ae1960a516fa5aae1528c9ed5d8a2d04 (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
# New ports collection makefile for:    xcdroast
# Date Created:     28 Sep 2000
# Whom:         Oliver Lehmann <Kai_Allard_Liao@gmx.de>
#
# $FreeBSD$
#

PORTNAME=   xcdroast
PORTVERSION=    0.98.a.10
CATEGORIES= sysutils
MASTER_SITES=   http://www.xcdroast.org/download/
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/.a./alpha/}

MAINTAINER= lehmann@ans-netz.de

LIB_DEPENDS=    gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf

RUN_DEPENDS=    cdrecord:${PORTSDIR}/sysutils/cdrtools \
        mkisofs:${PORTSDIR}/sysutils/mkisofs

USE_X_PREFIX=   yes
USE_GMAKE=  yes
USE_GTK=    yes
USE_IMLIB=  yes

MAKE_ENV+=  GTK_CONFIG="${GTK_CONFIG}" \
        GLIB_CONFIG="${GLIB_CONFIG}" \
        IMLIB_CONFIG="${IMLIB_CONFIG}"

post-patch:
    for i in xcdroast.h Makefile ; do \
      ${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/$$i ; \
    done

    for i in Makefile xcdroast.h ; do \
      ${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/$$i ; \
    done

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>