aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/gaupol/Makefile
blob: 6170bacb5ceae76e4efef6f005225bd812ff797f (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
# New ports collection makefile for:    gaupol
# Date created:     08 January 2007
# Whom:         Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gaupol
PORTVERSION=    0.12.3
CATEGORIES= multimedia
MASTER_SITES=   http://download.gna.org/gaupol/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/ CENKES

MAINTAINER= infofarmer@FreeBSD.org
COMMENT=    Subtitle editor

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/enchant/__init__.py:${PORTSDIR}/textproc/py-enchant \
        ${PYTHON_SITELIBDIR}/chardet/__init__.py:${PORTSDIR}/textproc/py-chardet \
        ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes

USE_BZIP2=  yes
USE_PYTHON= yes
USE_PYDISTUTILS=yes
USE_GNOME=  pygtk2
USE_GETTEXT=    yes
INSTALLS_ICONS= yes
MAN1=   ${PORTNAME}.1

post-patch:
    @${REINPLACE_CMD} -e 's|share/man|man|g;s|share/gaupol|${DATADIR_REL}|g;\
        /data_dir =/s|=.*|= "${DATADIR}"|' ${WRKSRC}/setup.py

.include <bsd.port.mk>