2013-05-06 12:22:41 +02:00
|
|
|
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
2007-01-22 15:31:07 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gaupol
|
2012-03-02 21:30:35 +01:00
|
|
|
PORTVERSION= 0.19.2
|
2014-09-10 22:50:31 +02:00
|
|
|
PORTREVISION= 4
|
2010-12-01 23:48:07 +01:00
|
|
|
CATEGORIES= multimedia python
|
2011-10-11 22:02:54 +02:00
|
|
|
MASTER_SITES= http://download.gna.org/gaupol/0.19/ \
|
2010-12-01 23:48:07 +01:00
|
|
|
http://www.c-s.li/ports/
|
2007-01-22 15:31:07 +01:00
|
|
|
|
2014-05-30 22:33:46 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2007-01-22 15:31:07 +01:00
|
|
|
COMMENT= Subtitle editor
|
|
|
|
|
2011-10-11 22:02:54 +02:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2009-10-20 11:40:14 +02:00
|
|
|
RUN_DEPENDS= iso-codes>=0:${PORTSDIR}/misc/iso-codes \
|
|
|
|
py*-chardet>=0:${PORTSDIR}/textproc/py-chardet \
|
|
|
|
py*-enchant>=1.5.1:${PORTSDIR}/textproc/py-enchant
|
2007-01-22 15:31:07 +01:00
|
|
|
|
2013-12-15 17:22:17 +01:00
|
|
|
USE_GNOME= pygtk2
|
2014-10-21 19:22:07 +02:00
|
|
|
USE_PYTHON= distutils
|
|
|
|
USES= desktop-file-utils python
|
2007-01-22 15:31:07 +01:00
|
|
|
INSTALLS_ICONS= yes
|
2009-10-20 11:40:14 +02:00
|
|
|
|
2014-02-21 14:38:20 +01:00
|
|
|
OPTIONS_DEFINE= NLS
|
2015-01-19 22:24:38 +01:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_USES= gettext
|
2010-12-01 23:48:07 +01:00
|
|
|
|
2007-12-15 10:16:27 +01:00
|
|
|
post-patch:
|
2013-12-15 17:22:17 +01:00
|
|
|
@${REINPLACE_CMD} \
|
|
|
|
-e 's|share/man|man|g' \
|
|
|
|
-e 's,distutils\.command\.install$$,setuptools\.command\.install,g' \
|
|
|
|
-e 's,distutils\.command\.install\.,setuptools\.command\.install\.,g' \
|
2014-06-22 17:04:03 +02:00
|
|
|
-e 's|%%STAGEDIR%%|"${STAGEDIR}"|' \
|
|
|
|
-e 's|%%PREFIX%%|"${PREFIX}"|' \
|
2013-12-15 17:22:17 +01:00
|
|
|
${WRKSRC}/setup.py
|
2007-01-22 15:31:07 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|