Files
Kristof Provost aed41a2ec1 sysutils/voucher: fix build with openssl 1
OpenSSL 1 calls EVP_PKEY_get_bits() EVP_PKEY_bits().
Add a compatibility stub to fix the build.

While here bump the portrevision, which we neglected to do in the previous
change.
2023-07-06 21:50:48 +02:00

27 lines
490 B
Makefile

# $FreeBSD$
PORTNAME= voucher
PORTVERSION= 0.1
PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # none
EXTRACT_ONLY= # empty
MAINTAINER= coreteam@pfsense.org
COMMENT= Voucher support
WHERE= bin
PLIST_FILES= ${WHERE}/${PORTNAME}
do-extract:
${MKDIR} ${WRKSRC}
do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} -lssl -lcrypto ${FILESDIR}/${PORTNAME}.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/${WHERE}/
.include <bsd.port.mk>