summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
Diffstat (limited to 'archivers')
-rw-r--r--archivers/py-yuicompressor/DESCR3
-rw-r--r--archivers/py-yuicompressor/Makefile25
-rw-r--r--archivers/py-yuicompressor/PLIST12
-rw-r--r--archivers/py-yuicompressor/distinfo5
4 files changed, 45 insertions, 0 deletions
diff --git a/archivers/py-yuicompressor/DESCR b/archivers/py-yuicompressor/DESCR
new file mode 100644
index 00000000000..0ff4beb1d26
--- /dev/null
+++ b/archivers/py-yuicompressor/DESCR
@@ -0,0 +1,3 @@
+YUI Compressor is a JavaScript and CSS minifier written in Java. This package
+bundles the YUI Compressor JAR file to ease its use in Python projects. Note
+that you still need to have Java Runtime Environment installed.
diff --git a/archivers/py-yuicompressor/Makefile b/archivers/py-yuicompressor/Makefile
new file mode 100644
index 00000000000..b26b1a9118c
--- /dev/null
+++ b/archivers/py-yuicompressor/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2014/05/03 02:46:46 rodent Exp $
+
+DISTNAME= yuicompressor-2.4.8
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= archivers python
+MASTER_SITES= https://pypi.python.org/packages/source/y/yuicompressor/
+
+MAINTAINER= rodent@NetBSD.org
+HOMEPAGE= https://bitbucket.org/sprat/yuicompressor
+COMMENT= YUI Compressor packaged for Python
+LICENSE= modified-bsd
+
+USE_LANGUAGES= # none
+
+PY_PATCHPLIST= yes
+PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
+USE_JAVA= run
+
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/yuicompressor \
+ ${DESTDIR}${PREFIX}/bin/yuicompressor${PYVERSSUFFIX}
+
+.include "../../mk/java-vm.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/py-yuicompressor/PLIST b/archivers/py-yuicompressor/PLIST
new file mode 100644
index 00000000000..84f665e8226
--- /dev/null
+++ b/archivers/py-yuicompressor/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2014/05/03 02:46:46 rodent Exp $
+bin/yuicompressor${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/yuicompressor/__init__.py
+${PYSITELIB}/yuicompressor/__init__.pyc
+${PYSITELIB}/yuicompressor/__init__.pyo
+${PYSITELIB}/yuicompressor/yuicompressor-${PKGVERSION}.jar
diff --git a/archivers/py-yuicompressor/distinfo b/archivers/py-yuicompressor/distinfo
new file mode 100644
index 00000000000..3972811ae3a
--- /dev/null
+++ b/archivers/py-yuicompressor/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/05/03 02:46:46 rodent Exp $
+
+SHA1 (yuicompressor-2.4.8.tar.gz) = b98fc627e931060e7fe87e15115ee0d76aa8080f
+RMD160 (yuicompressor-2.4.8.tar.gz) = ca321a415320624a4766f354237dfdf673e8aaec
+Size (yuicompressor-2.4.8.tar.gz) = 754433 bytes