58f960e4c1
Lose the only patch, since upstream fixed the "test ==" bashisms. Use curl to fetch distfile from https site From the CHANGES file: btpd 0.16: ---------- Misc: - Added "start all" (start -a) command. - Allow adding multiple torrents at once. - Custom list formatting options. - Man pages for btpd, btcli, and btinfo. Bug fixes: - Handle .torrent files larger than 2MB. - http parsing and addrinfo freeing fixes.
30 lines
841 B
Makefile
30 lines
841 B
Makefile
# $NetBSD: Makefile,v 1.20 2011/07/22 11:30:42 hauke Exp $
|
|
|
|
DISTNAME= btpd-0.16
|
|
CATEGORIES= net
|
|
MASTER_SITES= https://cloud.github.com/downloads/btpd/btpd/
|
|
|
|
MAINTAINER= rnyberg@murmeldjur.se
|
|
HOMEPAGE= https://github.com/btpd/btpd/wiki/
|
|
COMMENT= Daemon for file sharing over bittorrent
|
|
LICENSE= 2-clause-bsd
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
# Force using "curl" for fetching the distribution file. It is only available
|
|
# over HTTPS and "curl" is the only fetch program which always supports HTTPS.
|
|
FETCH_USING= curl
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/btpd
|
|
USE_FEATURES.openssl= threads
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCSDIR}
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|