summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorkamil <kamil>2015-12-12 05:38:45 +0000
committerkamil <kamil>2015-12-12 05:38:45 +0000
commit1c03e5c7503512b59434354b3594def3e2f30559 (patch)
tree02efa1587674c1d05f3484f6b1aa5b52a3a5c251 /sysutils
parenta0384db31680c6791498d3f3be1d560c24fc01a5 (diff)
downloadpkgsrc-1c03e5c7503512b59434354b3594def3e2f30559.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')
-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