867afc2eb6
and MD5_* is in libmd5. Fixes build failure reported by PR 40434.
38 lines
920 B
Makefile
38 lines
920 B
Makefile
# $NetBSD: Makefile,v 1.23 2009/01/19 12:00:03 obache Exp $
|
|
#
|
|
|
|
DISTNAME= skey-1.1.5
|
|
PKGREVISION= 3
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.sparc.spb.su/solaris/skey/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= ${MASTER_SITES}
|
|
COMMENT= Port of OpenBSD s/key implementation
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_TOOLS+= gmake perl:run
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
CONF_FILES+= ${PREFIX}/share/examples/skey/skeykeys \
|
|
${PKG_SYSCONFDIR}/skeykeys
|
|
|
|
REPLACE_PERL= skeyprune.pl
|
|
|
|
INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
# PR#40434
|
|
.if ${OPSYS} == "SunOS"
|
|
CONFIGURE_ENV+= ac_cv_header_md4_h=no
|
|
CONFIGURE_ENV+= ac_cv_header_sha1_h=no
|
|
BUILDLINK_TRANSFORM+= l:crypt:md5:crypt
|
|
.endif
|
|
|
|
post-install:
|
|
${RANLIB} ${DESTDIR}${PREFIX}/lib/libskey.a
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|