aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/eroaster/Makefile
blob: 6a445810a2ed063ede37302ab7af8efedeba09ba (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
# New ports collection makefile for:    eroaster
# Date Created:     20 Dic 2003
# Whom:         Davide D'Amico <dave@gufi.org>
#
# $FreeBSD$
#

PORTNAME=   eroaster
PORTVERSION=    2.2.0.0.6
PORTREVISION=   1
CATEGORIES= sysutils
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE} \
        http://www.xcdroast.org/download/
MASTER_SITE_SUBDIR= eroaster
DISTNAME=   ${PORTNAME}-2.2.0-0.6

MAINTAINER= dave@gufi.org
COMMENT=    A GNOME2 frontend to mkisofs/cdrecord

BUILD_DEPENDS=  ${PYTHON_SITELIBDIR}/gtk-2.0/gnome/_gnome.so:${PORTSDIR}/x11-toolkits/py-gnome2 \
        mkisofs:${PORTSDIR}/sysutils/mkisofs \
        cdrecord:${PORTSDIR}/sysutils/cdrtools

.if defined(WITH_ADDITIONAL_PROGRAMS)
BUILD_DEPENDS+= bchunk:${PORTSDIR}/sysutils/bchunk \
        cdrdao:${PORTSDIR}/sysutils/cdrdao \
        lame:${PORTSDIR}/audio/lame \
        mpg123:${PORTSDIR}/audio/mpg123 \
        normalize:${PORTSDIR}/audio/normalize \
        oggenc:${PORTSDIR}/audio/vorbis-tools \
        sox:${PORTSDIR}/audio/sox
.endif

USE_X_PREFIX=   yes
GNU_CONFIGURE=  yes
USE_PYTHON= yes
USE_REINPLACE=  yes

pre-everything::
    @${ECHO_MSG} "===>  You can enable more features by defining WITH_ADDITIONAL_PROGRAMS"
    @${ECHO_MSG} "===>"

post-patch::
    @cd ${WRKSRC} && ${RM} process.py.orig
    @${REINPLACE_CMD} -e 's|share/applets/Utility|share/gnome/apps/Utilities|' ${WRKSRC}/Makefile.in
    @${REINPLACE_CMD} -e 's| --activate-goad-server=eroaster||' ${WRKSRC}/eroaster.desktop

.include <bsd.port.mk>