1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/net-p2p/createtorrent/Makefile
John Marino 239a0c0870 net-p2p/createtorrent: Add SSL build flags
Approved by:	SSL blanket
2016-09-10 23:32:55 +00:00

28 lines
545 B
Makefile

# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= createtorrent
PORTVERSION= 1.1.4
CATEGORIES= net-p2p
MASTER_SITES= LOCAL/ehaupt
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Create BitTorrent files from the command line
LICENSE= GPLv2
USES= ssl
GNU_CONFIGURE= yes
CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
PLIST_FILES= bin/createtorrent
post-patch:
@${REINPLACE_CMD} 's/-lssl/-lcrypto/' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>