pkgsrc/security/rsaref/Makefile

41 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.20 2000/09/09 19:40:23 fredb Exp $
#
DISTNAME= rsaref
PKGNAME= rsaref-2.0p3
WRKSRC= ${WRKDIR}/install
1998-03-19 13:17:53 +01:00
CATEGORIES= security
MASTER_SITES= ftp://ftp.spinnaker.com/pub/crypt/rsaref/
1998-03-19 13:17:53 +01:00
EXTRACT_SUFX= .tar.Z
MAINTAINER= tv@netbsd.org
CRYPTO= yes
IS_INTERACTIVE= yes # requires options to be set in order to use
1998-12-03 18:40:46 +01:00
LICENSE= no-commercial-use
2000-06-21 03:17:52 +02:00
USE_LIBTOOL= yes
1998-12-03 18:40:46 +01:00
MAKEFILE= unix/makefile
ALL_TARGET= librsaref.la
fetch-depends:
@if [ "X${USA_RESIDENT}" != XYES ]; then \
${ECHO} "This package is legal for use only within the United States."; \
${ECHO} "You must set the variable USA_RESIDENT to YES to enable"; \
${ECHO} "use of the rsaref package."; \
${FALSE}; \
fi
do-configure:
@${RM} -f ${WRKDIR}/source/rsaref && ${LN} -sf . ${WRKDIR}/source/rsaref
do-install:
${MKDIR} ${PREFIX}/include/rsaref ${PREFIX}/share/doc/rsaref
cd ${WRKSRC} && ${LIBTOOL} ${INSTALL_DATA} librsaref.la ${PREFIX}/lib
.for file in des.h global.h md2.h md5.h rsa.h rsaref.h
${INSTALL_DATA} ${WRKDIR}/source/${file} ${PREFIX}/include/rsaref/
.endfor
cd ${WRKDIR}/doc && ${INSTALL_DATA} info.txt rsaref.txt ${PREFIX}/share/doc/rsaref/
.include "../../mk/bsd.pkg.mk"