summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKubilay Kocak <koobs@FreeBSD.org>2017-08-19 10:47:21 +0000
committerKubilay Kocak <koobs@FreeBSD.org>2017-08-19 10:47:21 +0000
commit638c74460167f82c6f74567e5e261ffb647b6d0d (patch)
tree686f04992a86d52df78726022e1dff00fbb0b9d0
parent7828a02b63d61fd0cce1b6de9679a17ce6eacb5d (diff)
Notes
-rw-r--r--net/py-ldaptor/Makefile9
-rw-r--r--net/py-ldaptor/files/patch-setup.py6
-rw-r--r--net/py-ldaptor/pkg-plist2
3 files changed, 11 insertions, 6 deletions
diff --git a/net/py-ldaptor/Makefile b/net/py-ldaptor/Makefile
index c399b16eb89a..aa4657c93a1f 100644
--- a/net/py-ldaptor/Makefile
+++ b/net/py-ldaptor/Makefile
@@ -12,15 +12,22 @@ DISTNAME= ldaptor-${PORTVERSION}-${GITVERSION}
MAINTAINER= bra@fsn.hu
COMMENT= Pure-python LDAP module for Twisted
+LICENSE= MIT LGPL21+
+LICENSE_COMB= multi
+
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing \
${PYTHON_PKGNAMEPREFIX}openssl>=0:security/py-openssl
GITVERSION= aad8ded658b36337a08aeb7402b6b67eb8771bea
NO_ARCH= yes
-USES= gettext python twisted
+USES= gettext python:2.7 twisted
USE_PYTHON= distutils autoplist
+
PYDISTUTILS_INSTALL_TARGET= install_locale install
PYDISTUTILS_BUILD_TARGET= build_locale build
+PLIST_FILES= share/locale/fi/LC_MESSAGES/ldaptor-webui.mo \
+ share/locale/fr/LC_MESSAGES/ldaptor-webui.mo
+
.include <bsd.port.mk>
diff --git a/net/py-ldaptor/files/patch-setup.py b/net/py-ldaptor/files/patch-setup.py
index 758ad1db1e06..527e1b8cd536 100644
--- a/net/py-ldaptor/files/patch-setup.py
+++ b/net/py-ldaptor/files/patch-setup.py
@@ -1,6 +1,6 @@
---- setup.py.orig 2013-12-13 13:49:46.929425897 -0200
-+++ setup.py 2013-12-13 13:49:58.999423613 -0200
-@@ -154,7 +154,6 @@
+--- setup.py.orig 2011-06-10 07:02:47 UTC
++++ setup.py
+@@ -154,7 +154,6 @@ from the command line.
'build_locale': build_locale,
'clean': clean,
'clean_locale': clean_locale,
diff --git a/net/py-ldaptor/pkg-plist b/net/py-ldaptor/pkg-plist
deleted file mode 100644
index e1c04709e421..000000000000
--- a/net/py-ldaptor/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-share/locale/fi/LC_MESSAGES/ldaptor-webui.mo
-share/locale/fr/LC_MESSAGES/ldaptor-webui.mo