summaryrefslogtreecommitdiff
path: root/sysutils/py-setconf
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2015-12-12 05:38:45 +0000
committerkamil <kamil@pkgsrc.org>2015-12-12 05:38:45 +0000
commit67e30b9a600128b18942d25664a29dc3e9259fd2 (patch)
tree02efa1587674c1d05f3484f6b1aa5b52a3a5c251 /sysutils/py-setconf
parente374a4545aaf1c88017c6649cf697e367f782e56 (diff)
downloadpkgsrc-67e30b9a600128b18942d25664a29dc3e9259fd2.tar.gz
Import setconf-0.6.7 as sysutils/py-setconf
Initially packaged in pkgsrc-wip by Kamil Rytarowski setconf is a small utility that can be used for changing settings in configuration textfiles.
Diffstat (limited to 'sysutils/py-setconf')
-rw-r--r--sysutils/py-setconf/DESCR2
-rw-r--r--sysutils/py-setconf/Makefile27
-rw-r--r--sysutils/py-setconf/PLIST3
-rw-r--r--sysutils/py-setconf/distinfo5
4 files changed, 37 insertions, 0 deletions
diff --git a/sysutils/py-setconf/DESCR b/sysutils/py-setconf/DESCR
new file mode 100644
index 00000000000..42f55f0d188
--- /dev/null
+++ b/sysutils/py-setconf/DESCR
@@ -0,0 +1,2 @@
+setconf is a small utility that can be used for changing settings in
+configuration textfiles.
diff --git a/sysutils/py-setconf/Makefile b/sysutils/py-setconf/Makefile
new file mode 100644
index 00000000000..a942011298d
--- /dev/null
+++ b/sysutils/py-setconf/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2015/12/12 05:38:45 kamil Exp $
+
+DISTNAME= setconf-0.6.7
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_GITHUB:=xyproto/}
+GITHUB_PROJECT= setconf
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://setconf.roboticoverlords.org/
+COMMENT= Small utility to change settings in configuration textfiles
+LICENSE= gnu-gpl-v2
+
+REPLACE_PYTHON+= setconf.py
+
+WRKSRC= ${WRKDIR}/setconf-${PKGVERSION_NOREV}
+
+NO_BUILD= yes
+
+AUTO_MKDIRS= yes
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/setconf.py ${DESTDIR}${PREFIX}/bin/setconf
+ ${INSTALL_MAN} ${WRKSRC}/setconf.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/py-setconf/PLIST b/sysutils/py-setconf/PLIST
new file mode 100644
index 00000000000..630763b1a91
--- /dev/null
+++ b/sysutils/py-setconf/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2015/12/12 05:38:45 kamil Exp $
+bin/setconf
+man/man1/setconf.1
diff --git a/sysutils/py-setconf/distinfo b/sysutils/py-setconf/distinfo
new file mode 100644
index 00000000000..356ccf92100
--- /dev/null
+++ b/sysutils/py-setconf/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/12/12 05:38:45 kamil Exp $
+
+SHA1 (setconf-0.6.7.tar.gz) = 0f15291341019ff74459f4067f832ceb42d0b06a
+RMD160 (setconf-0.6.7.tar.gz) = 0366b9d761b76083bf21f6512a69d8893e675394
+Size (setconf-0.6.7.tar.gz) = 53756 bytes