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
|
2018-05-27 21:05:00 +02:00
|
|
|
DISTVERSION= 1.4
|
2010-12-01 23:48:07 +01:00
|
|
|
CATEGORIES= multimedia python
|
2007-01-22 15:31:07 +01:00
|
|
|
|
2018-05-27 21:05:00 +02:00
|
|
|
MAINTAINER= greg@unrelenting.technology
|
2007-01-22 15:31:07 +01:00
|
|
|
COMMENT= Subtitle editor
|
|
|
|
|
2016-02-24 19:48:47 +01:00
|
|
|
LICENSE= GPLv3+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2011-10-11 22:02:54 +02:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
RUN_DEPENDS= iso-codes>=0:misc/iso-codes \
|
2017-12-09 12:36:48 +01:00
|
|
|
${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}enchant>=1.5.1:textproc/py-enchant@${FLAVOR}
|
2007-01-22 15:31:07 +01:00
|
|
|
|
2018-05-27 21:05:00 +02:00
|
|
|
USES= desktop-file-utils python:3.2+
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= otsaloma
|
|
|
|
USE_GNOME= gtk30 pygobject3 intltool
|
|
|
|
USE_PYTHON= distutils autoplist py3kplist
|
2007-01-22 15:31:07 +01:00
|
|
|
INSTALLS_ICONS= yes
|
2016-02-24 19:48:47 +01:00
|
|
|
NO_ARCH= 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
|
2016-02-24 19:48:47 +01:00
|
|
|
|
2015-01-19 22:24:38 +01:00
|
|
|
NLS_USES= gettext
|
2016-02-24 19:48:47 +01:00
|
|
|
NLS_USES_OFF= gettext-tools
|
2010-12-01 23:48:07 +01:00
|
|
|
|
2018-05-27 21:05:00 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
# PYDISTUTILS_INSTALLNOSINGLE is deprecated so...
|
|
|
|
#PYDISTUTILS_INSTALLARGS:= ${PYDISTUTILS_INSTALLARGS:N--single-version-externally-managed}
|
|
|
|
|
2007-12-15 10:16:27 +01:00
|
|
|
post-patch:
|
2013-12-15 17:22:17 +01:00
|
|
|
@${REINPLACE_CMD} \
|
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
|
|
|
|
2018-05-27 21:05:00 +02:00
|
|
|
.include <bsd.port.post.mk>
|