summaryrefslogtreecommitdiff
path: root/security/rsaref/Makefile
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1999-05-23 21:12:01 +0000
committertv <tv@pkgsrc.org>1999-05-23 21:12:01 +0000
commite7e9b546fd539ccf4bdde9dff5b88a2399aa36f0 (patch)
treea43a55faae60c107c058a6fd771fd31175ec2f42 /security/rsaref/Makefile
parent36d36dc63b3ef1a079b9dd3cbf8f96dfc81573cc (diff)
downloadpkgsrc-e7e9b546fd539ccf4bdde9dff5b88a2399aa36f0.tar.gz
Expose RSAPublicBlock() and RSAPrivateBlock() for the benefit of hpack.
Also clean up the package a bit while we're here; allow ${CC} from the environment. Now called "rsaref-2.0p1".
Diffstat (limited to 'security/rsaref/Makefile')
-rw-r--r--security/rsaref/Makefile23
1 files changed, 10 insertions, 13 deletions
diff --git a/security/rsaref/Makefile b/security/rsaref/Makefile
index 5cb0e79a934..9cb97aca01b 100644
--- a/security/rsaref/Makefile
+++ b/security/rsaref/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 1999/04/25 19:10:16 tv Exp $
+# $NetBSD: Makefile,v 1.14 1999/05/23 21:12:01 tv Exp $
#
DISTNAME= rsaref
-PKGNAME= rsaref-2.0
+PKGNAME= rsaref-2.0p1
WRKSRC= ${WRKDIR}/install
CATEGORIES= security
MASTER_SITES= ftp://ftp.spinnaker.com/pub/crypt/rsaref/
@@ -28,19 +28,16 @@ fetch-depends:
fi
do-configure:
- @${RM} -f ${WRKDIR}/source/md5.h
- @${CP} ${FILESDIR}/md5.h ${WRKDIR}/source/
- @${LN} -sf . ${WRKDIR}/source/rsaref
+ @${RM} -f ${WRKDIR}/source/md5.h && \
+ ${ECHO} '#include_next <md5.h>' >${WRKDIR}/source/md5.h
+ @${RM} -f ${WRKDIR}/source/rsaref && ${LN} -sf . ${WRKDIR}/source/rsaref
do-install:
${MKDIR} ${PREFIX}/include/rsaref ${PREFIX}/share/doc/rsaref
- cd ${WRKSRC} && \
- ${LIBTOOL} --mode=install ${INSTALL_DATA} \
- librsaref.la ${PREFIX}/lib
- cd ${WRKDIR}/source && \
- ${INSTALL_DATA} des.h global.h md2.h md5.h rsa.h rsaref.h \
- ${PREFIX}/include/rsaref/
- cd ${WRKDIR}/doc && \
- ${INSTALL_DATA} info.txt rsaref.txt ${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"