blob: ff57a716dcf311e31d2ad233684e3767dea8b58b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $NetBSD: Makefile,v 1.5 2010/07/10 11:34:00 obache Exp $
DISTNAME= unworkable-0.51
PKGREVISION= 3
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
USE_TOOLS+= yacc
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"
|