summaryrefslogtreecommitdiff
path: root/net/unworkable/Makefile
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2009-01-19 05:40:39 +0000
committeragc <agc@pkgsrc.org>2009-01-19 05:40:39 +0000
commitf7591bcfd95fe648c94b504ed02a8fdd87a21ea5 (patch)
treef7d3e4f49090c641b919728b4a565cf7ce480534 /net/unworkable/Makefile
parente44ba19fba3ca405518a81f7010f22eb5b573a69 (diff)
downloadpkgsrc-f7591bcfd95fe648c94b504ed02a8fdd87a21ea5.tar.gz
Initial import of unworkable-0.51 into the Packages Collection.
Unworkable is a BSD-licensed BitTorrent implementation written by Niall O'Higgins <niallo@p2presearch.com>. Goals of this project include efficiency, simplicity and high code quality. Unworkable is single threaded and asynchronous, written in portable ANSI C using libevent and mmap() for performance.
Diffstat (limited to 'net/unworkable/Makefile')
-rw-r--r--net/unworkable/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/net/unworkable/Makefile b/net/unworkable/Makefile
new file mode 100644
index 00000000000..2c2ac835446
--- /dev/null
+++ b/net/unworkable/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/19 05:40:39 agc Exp $
+
+DISTNAME= unworkable-0.51
+CATEGORIES= net
+MASTER_SITES= http://p2presearch.com/unworkable/dist/
+
+MAINTAINER= agc@NetBSD.org
+HOMEPAGE= http://p2presearch.com/unworkable/
+COMMENT= BSD-licensed command-line torrent client
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+WRKSRC= ${WRKDIR}/unworkable
+MAKE_FILE= BSDmakefile
+
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/cat1
+
+post-configure:
+ cp ${WRKSRC}/openbsd-compat/sha1.c ${WRKSRC}
+ cp ${WRKSRC}/openbsd-compat/strtonum.c ${WRKSRC}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/unworkable ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/unworkable.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_MAN} ${WRKSRC}/unworkable.cat1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/unworkable.0
+
+.include "../../devel/libevent/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"