mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
062ed8d36f
While here do some conversion to new options framework
40 lines
809 B
Makefile
40 lines
809 B
Makefile
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gaupol
|
|
PORTVERSION= 0.19.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= multimedia python
|
|
MASTER_SITES= http://download.gna.org/gaupol/0.19/ \
|
|
http://www.c-s.li/ports/
|
|
|
|
MAINTAINER= cs@FreeBSD.org
|
|
COMMENT= Subtitle editor
|
|
|
|
LICENSE= GPLv3
|
|
|
|
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
|
|
|
|
USE_GNOME= pygtk2 desktopfileutils
|
|
USE_PYTHON= 2.6+
|
|
USE_PYDISTUTILS=yes
|
|
INSTALLS_ICONS= yes
|
|
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
USES+= gettext
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|share/man|man|g' ${WRKSRC}/setup.py
|
|
|
|
.include <bsd.port.mk>
|