Support staging and update MASTER_SITES, use GOOGLE_CODE, other site disappeared

as well as WWW.
This commit is contained in:
Emanuel Haupt 2014-03-18 13:46:42 +00:00
parent ce94d603ab
commit 4a081dc8f3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348546
2 changed files with 7 additions and 9 deletions

View file

@ -4,29 +4,27 @@
PORTNAME= unworkable
PORTVERSION= 0.53
CATEGORIES= net-p2p
MASTER_SITES= http://p2presearch.com/unworkable/dist/\
http://unworkable.googlecode.com/files/
MASTER_SITES= GOOGLE_CODE
MAINTAINER= wenheping@gmail.com
COMMENT= A Free BitTorrent Implementation
LIB_DEPENDS= event:${PORTSDIR}/devel/libevent
LIB_DEPENDS= libevent-1.4.so:${PORTSDIR}/devel/libevent
USE_SCONS= yes
USE_OPENSSL= yes
SCONS_BUILDENV= ${SCONS_ENV}
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/unworkable
MAN1= unworkable.1
PLIST_FILES= bin/unworkable man/man1/unworkable.1.gz
NO_STAGE= yes
post-extract:
${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \
${WRKSRC}/SConstruct
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unworkable ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/unworkable.1 ${MANPREFIX}/man/man1/
${INSTALL_PROGRAM} ${WRKSRC}/unworkable ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/unworkable.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>

View file

@ -11,4 +11,4 @@ However, it is usable for some basic things and the
source code is quite minimal(4,000 lines of C compared
to rTorrent's 40,000+ of C++).
WWW: http://p2presearch.com/unworkable/
WWW: https://code.google.com/p/unworkable/