Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / skey / Makefile
blob302c49b9bd819ada963b2136d8848422d386353e
1 # $NetBSD: Makefile,v 1.26 2012/10/03 21:57:34 wiz Exp $
4 DISTNAME= skey-1.1.5
5 PKGREVISION= 5
6 CATEGORIES= security
7 MASTER_SITES= http://www.sparc.spb.su/solaris/skey/
8 EXTRACT_SUFX= .tar.bz2
10 MAINTAINER= pkgsrc-users@NetBSD.org
11 HOMEPAGE= ${MASTER_SITES}
12 COMMENT= Port of OpenBSD s/key implementation
14 USE_TOOLS+= gmake perl:run
15 GNU_CONFIGURE= yes
16 CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
17 CONF_FILES+= ${PREFIX}/share/examples/skey/skeykeys \
18 ${PKG_SYSCONFDIR}/skeykeys
20 REPLACE_PERL= skeyprune.pl
22 INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
24 .include "../../mk/bsd.prefs.mk"
26 # PR#40434
27 .if ${OPSYS} == "SunOS"
28 CONFIGURE_ENV+= ac_cv_header_md4_h=no
29 CONFIGURE_ENV+= ac_cv_header_sha1_h=no
30 BUILDLINK_TRANSFORM+= l:crypt:md5:crypt
31 .endif
32 # PR#44324
33 .if ${OPSYS} == "DragonFly"
34 CONFIGURE_ENV+= ac_cv_header_rmd160_h=no
35 .endif
36 .if ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD"
37 BUILDLINK_TRANSFORM+= l:crypt:md:crypt
38 .endif
39 # setusercontext() is in -lutil
40 LIBS.DragonFly+= -lutil
41 LIBS.FreeBSD+= -lutil
42 LIBS.NetBSD+= -lutil
44 post-install:
45 ${RANLIB} ${DESTDIR}${PREFIX}/lib/libskey.a
47 .include "../../mk/bsd.pkg.mk"