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 PORTNAME= unworkable
PORTVERSION= 0.53 PORTVERSION= 0.53
CATEGORIES= net-p2p CATEGORIES= net-p2p
MASTER_SITES= http://p2presearch.com/unworkable/dist/\ MASTER_SITES= GOOGLE_CODE
http://unworkable.googlecode.com/files/
MAINTAINER= wenheping@gmail.com MAINTAINER= wenheping@gmail.com
COMMENT= A Free BitTorrent Implementation COMMENT= A Free BitTorrent Implementation
LIB_DEPENDS= event:${PORTSDIR}/devel/libevent LIB_DEPENDS= libevent-1.4.so:${PORTSDIR}/devel/libevent
USE_SCONS= yes USE_SCONS= yes
USE_OPENSSL= yes USE_OPENSSL= yes
SCONS_BUILDENV= ${SCONS_ENV} SCONS_BUILDENV= ${SCONS_ENV}
WRKSRC= ${WRKDIR}/${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/unworkable
MAN1= unworkable.1 PLIST_FILES= bin/unworkable man/man1/unworkable.1.gz
NO_STAGE= yes
post-extract: post-extract:
${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \ ${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \
${WRKSRC}/SConstruct ${WRKSRC}/SConstruct
do-install: do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unworkable ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/unworkable ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/unworkable.1 ${MANPREFIX}/man/man1/ ${INSTALL_MAN} ${WRKSRC}/unworkable.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk> .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 source code is quite minimal(4,000 lines of C compared
to rTorrent's 40,000+ of C++). to rTorrent's 40,000+ of C++).
WWW: http://p2presearch.com/unworkable/ WWW: https://code.google.com/p/unworkable/