blob: a216ecb4fddafeadf87d310f5c6696cfe0b70fc2 (
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.7 2011/03/17 21:30:42 zafer Exp $
DISTNAME= unworkable-0.51
PKGREVISION= 4
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"
|