- install cryptlib.h

- respect CFLAGS

PR:		54167[1]
Submitted by:	John Engelhart <johne@zang.com>
This commit is contained in:
Tilman Keskinoz 2003-07-09 18:20:26 +00:00
parent d88a1efa51
commit f43a3fa161
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84540
2 changed files with 7 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= cryptlib
PORTVERSION= 3.1.b4
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ftp://ftp.franken.de/pub/crypt/cryptlib/beta/
DISTNAME= cl31beta04
@ -21,16 +22,21 @@ NO_WRKSUBDIR= yes
USE_GMAKE= yes
MAKEFILE= makefile
MAKE_ARGS= all shared
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
post-patch:
${REINPLACE_CMD} -e "s,-fomit-frame-pointer -O3,${CFLAGS}," ${WRKSRC}/makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/endian ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/libcl.a ${WRKSRC}/libcl.so.3.1.0 \
${PREFIX}/lib
${LN} -sf ${PREFIX}/lib/libcl.so.3.1.0 ${PREFIX}/lib/libcl.so
${INSTALL_DATA} ${WRKSRC}/cryptlib.h ${PREFIX}/include
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/cryptlib
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cryptlib

View file

@ -1,4 +1,5 @@
bin/endian
include/cryptlib.h
lib/libcl.a
lib/libcl.so
lib/libcl.so.3.1.0