1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Add staging support

PR:		ports/187202
Submitted by:	Anton Sayetsky <vsjcfm@gmail.com>
Approved by:	maintainer
This commit is contained in:
Pawel Pekala 2014-03-03 17:53:45 +00:00
parent b34586b09c
commit f4e2b02ee6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346943

View File

@ -10,7 +10,7 @@ MAINTAINER= dgerow@afflictions.org
COMMENT= Command-line utility for creating BitTorrent metainfo files
.if defined(.PARSEDIR)
USE_GMAKE= yes
USES= gmake
.else
MAKEFILE= BSDmakefile
.endif
@ -24,7 +24,6 @@ THREADS_DESC= Enable support for pthreads
OPENSSL_DESC= Use OpenSSL for hashing
HASHCHECK_DESC= Verify file hashes
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTHREADS}
@ -44,6 +43,6 @@ post-patch:
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/BSDmakefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>