aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-11-20 11:21:41 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-11-20 11:21:41 +0800
commit199a09736f0b728e4c37336279eb4c80afd72959 (patch)
treefc9e399c97cea981b81d33093b811d8463834daf /print
parent314ac9e1a8600304e858ea3c35de4eae6f42057f (diff)
downloadfreebsd-ports-gnome-199a09736f0b728e4c37336279eb4c80afd72959.tar.gz
freebsd-ports-gnome-199a09736f0b728e4c37336279eb4c80afd72959.tar.zst
freebsd-ports-gnome-199a09736f0b728e4c37336279eb4c80afd72959.zip
- Add LICENSE
- Convert to new LIB_DEPENDS format - Support STAGEDIR - Update WWW: use https:// instead of http://
Diffstat (limited to 'print')
-rw-r--r--print/py-cups/Makefile8
-rw-r--r--print/py-cups/pkg-descr2
2 files changed, 6 insertions, 4 deletions
diff --git a/print/py-cups/Makefile b/print/py-cups/Makefile
index 2229c6902314..7b67777f14fe 100644
--- a/print/py-cups/Makefile
+++ b/print/py-cups/Makefile
@@ -11,19 +11,21 @@ DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= CUPS bindings for Python
-LIB_DEPENDS= cups:${PORTSDIR}/print/cups-client
+LICENSE= GPLv2 GPLv3
+LICENSE_COMB= dual
+
+LIB_DEPENDS= libcups.so:${PORTSDIR}/print/cups-client
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_BZIP2= yes
-USES= iconv
USE_PYDISTUTILS=yes
USE_PYTHON= -2.7
+USES= iconv
PLIST_FILES= %%PYTHON_SITELIBDIR%%/cups.so
PYDISTUTILS_EGGINFO= py${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg-info
-NO_STAGE= yes
.include <bsd.port.pre.mk>
post-patch:
diff --git a/print/py-cups/pkg-descr b/print/py-cups/pkg-descr
index 37b1c30df1b4..a40edfb59895 100644
--- a/print/py-cups/pkg-descr
+++ b/print/py-cups/pkg-descr
@@ -1,4 +1,4 @@
CUPS bindings for Python
-WWW: http://pypi.python.org/pypi/pycups
+WWW: https://pypi.python.org/pypi/pycups
WWW: http://cyberelk.net/tim/software/pycups/