aboutsummaryrefslogtreecommitdiffstats
path: root/security/mhash/Makefile
blob: 658f66b15503d7d5aca1ff27a9dda1728fc032f9 (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
30
31
32
33
34
35
36
# New ports collection makefile for:    mhash
# Date created:     Mon Jun 28 17:59:13 PDT 1999
# Whom:         nsayer@freebsd.org
#
# $FreeBSD$
#

PORTNAME=   mhash
PORTVERSION=    0.9.9.9
PORTREVISION=   1
CATEGORIES= security
MASTER_SITES=   SF

MAINTAINER= roam@FreeBSD.org
COMMENT=    An easy-to-use library for strong hashes such as MD5 and SHA1

USE_BZIP2=  yes
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
WITH_FBSD10_FIX=yes
CONFIGURE_ARGS+=    --enable-static --with-gnu-ld

MAN3=       mhash.3

PORTDOCS=   example.c skid2-authentication

test:   build
    @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}
.endif

.include <bsd.port.mk>