aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2013-11-02 17:11:24 +0000
committerPawel Pekala <pawel@FreeBSD.org>2013-11-02 17:11:24 +0000
commitd6c2a1af71016a5cd7da8d6c9a0be41e2b3ec5e7 (patch)
treea583e9394fc0084df608e20409f95b47f2056c72 /misc
parent2d28179459364ada1a4ecedd6d13b5e69a6b4bfa (diff)
downloadports-d6c2a1af71016a5cd7da8d6c9a0be41e2b3ec5e7.tar.gz
ports-d6c2a1af71016a5cd7da8d6c9a0be41e2b3ec5e7.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/cs/Makefile22
-rw-r--r--misc/cs/distinfo4
2 files changed, 12 insertions, 14 deletions
diff --git a/misc/cs/Makefile b/misc/cs/Makefile
index f84aeef791b1..26bc82f4ad3f 100644
--- a/misc/cs/Makefile
+++ b/misc/cs/Makefile
@@ -2,29 +2,27 @@
# $FreeBSD$
PORTNAME= cs
-PORTVERSION= 0.9.5
-PORTREVISION= 2
+PORTVERSION= 0.9.6
CATEGORIES= misc
-MASTER_SITES= http://njhurst.org/programming/cross-stitch/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= pav
+MASTER_SITES= http://njhurst.com/programming/cross-stitch/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Cross Stitch software
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PIL/Image.py:${PORTSDIR}/graphics/py-imaging
+LICENSE= GPLv2 # (or later)
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}imaging>=0:${PORTSDIR}/graphics/py-imaging
-USE_PYTHON= yes
NO_BUILD= yes
-PLIST_FILES= bin/xs
+USES= shebangfix
+SHEBANG_FILES= xs.py
+USE_PYTHON_RUN= yes
-NO_STAGE= yes
-post-patch:
- @${REINPLACE_CMD} -e "s,/usr/bin/python,${SETENV} python," ${WRKSRC}/xs.py
+PLIST_FILES= bin/xs
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/xs.py ${PREFIX}/bin/xs
+ (cd ${WRKSRC} && ${INSTALL_SCRIPT} xs.py ${STAGEDIR}${PREFIX}/bin/xs)
.include <bsd.port.mk>
diff --git a/misc/cs/distinfo b/misc/cs/distinfo
index 59274ae495c8..7c4fb525f739 100644
--- a/misc/cs/distinfo
+++ b/misc/cs/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cs-0.9.5.tgz) = 823f614e7e4882fb718386390e39719da045a401f3f04e99cd0e3b0cec3deda0
-SIZE (cs-0.9.5.tgz) = 73206
+SHA256 (cs-0.9.6.tgz) = d12749df866f155db477826db5bcad32c81825288d18d68ff7d29b5aabc5b0d8
+SIZE (cs-0.9.6.tgz) = 72845