aboutsummaryrefslogtreecommitdiffstats
path: root/audio/soundconverter/Makefile
blob: e7f01a5de455d6520934739603ffc6e8c397ae9a (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
# New ports collection makefile for:   soundconverter
# Date created:        04 September 2007
# Whom:                Jona Joachim <jaj@hcl-club.lu>
#
# $FreeBSD$
#

PORTNAME=   soundconverter
PORTVERSION=    1.5.4
PORTREVISION=   1
CATEGORIES= audio python
MASTER_SITES=   BERLIOS

MAINTAINER= sylvio@FreeBSD.org
COMMENT=    The sound conversion application for the GNOME environment

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/gst-0.10/gst/__init__.py:${PORTSDIR}/multimedia/py-gstreamer

LICENSE=    GPLv3

USE_GMAKE=  yes
USE_GETTEXT=    yes
GNU_CONFIGURE=  yes
USE_PYTHON= yes
USE_GNOME=  pygtk2 pygnome2

MAKE_ENV=   MAKE=${LOCALBASE}/bin/gmake

INSTALLS_ICONS= yes
MAN1=   soundconverter.1

post-patch:
    @${REINPLACE_CMD} -e 's|@GMSGFMT@|${LOCALBASE}/bin/msgfmt|; \
        s|itlocaledir = .*|itlocaledir = ${LOCALBASE}/share/locale|g' \
            ${WRKSRC}/po/Makefile.in.in
    @${REINPLACE_CMD} -e 's|#!/usr/bin/python|#!/usr/bin/env python|' ${WRKSRC}/src/soundconverter.py

.include <bsd.port.mk>