freebsd-ports/sysutils/sbsigntool/Makefile
Sunpoet Po-Chuan Hsieh e0b379fa6f Remove BROKEN_FreeBSD_9
Approved by:	portmgr (blanket)
2017-01-01 03:45:12 +00:00

32 lines
889 B
Makefile

# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
# $FreeBSD$
PORTNAME= sbsigntool
PORTVERSION= 0.6
CATEGORIES= sysutils
MASTER_SITES= https://launchpad.net/ubuntu/+archive/primary/+files/
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
COMMENT= Signing utility for UEFI secure boot
LICENSE= GPLv3
BUILD_DEPENDS= ${LOCALBASE}/lib/libgnuefi.a:devel/gnu-efi \
help2man:misc/help2man
LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
CONFIGURE_ENV= libcrypto_CFLAGS=-lcrypto \
libcrypto_LIBS=-lcrypto \
LOCALBASE=${LOCALBASE} \
ac_cv_header_bfd_h=yes
USES= gmake localbase pkgconfig ssl
LDFLAGS+= -L${OPENSSLLIB}
CFLAGS+= -I${OPENSSLINC}
post-patch:
@${REINPLACE_CMD} -e 's|<endian.h>|<sys/endian.h>|' ${WRKSRC}/configure ${WRKSRC}/lib/ccan/ccan/hash/hash.c
.include <bsd.port.mk>