aboutsummaryrefslogtreecommitdiff
path: root/security/libpwstor/Makefile
blob: 14a5a72fe4d6914fc6c3aedbb63dbf36a2a652b4 (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
# Created by: Matt Harris <mattdharris@users.sourceforge.net>

PORTNAME=	libpwstor
PORTVERSION=	0.1
PORTREVISION=	2
CATEGORIES=	security devel
MASTER_SITES=	SF/kageki/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Password storage library for C programmers

USES=		ssl tar:bzip2
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes

.include <bsd.port.pre.mk>

CFLAGS+=	-fPIC -DPIC

.if defined(WITH_DEBUG)
CONFIGURE_ARGS+=--enable-debug
.endif

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pwtool
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpwstor.so

.include <bsd.port.post.mk>