summaryrefslogtreecommitdiff
path: root/security/libxcrypt/Makefile
blob: df6f85846a98793e7cae566f7a6ce918dd8a976c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
PORTNAME=	libxcrypt
DISTVERSIONPREFIX=	v
DISTVERSION=	4.4.38
CATEGORIES=	security

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Extended crypt library for descrypt, md5crypt, bcrypt, and others
WWW=		https://github.com/besser82/libxcrypt

LICENSE=	LGPL21

USES=		autoreconf gmake libtool pkgconfig
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	besser82

GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
CONFIGURE_ARGS=	--disable-static

CFLAGS+=	-Wno-gnu-statement-expression

TEST_TARGET=	check

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcrypt.so.2.0.0

.include <bsd.port.mk>