aboutsummaryrefslogtreecommitdiff
path: root/security/cryptlib
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2014-01-21 16:33:26 +0000
committerAlex Dupre <ale@FreeBSD.org>2014-01-21 16:33:26 +0000
commit1a10ccd0c89d2acdbb58334b9de5324fed52c3aa (patch)
treec8aba9757e93282832614bee7a566ca25bb1aa83 /security/cryptlib
parent17d64225a4d41f8c7b6f01db09c7a32fa0bdaa81 (diff)
downloadports-1a10ccd0c89d2acdbb58334b9de5324fed52c3aa.tar.gz
ports-1a10ccd0c89d2acdbb58334b9de5324fed52c3aa.zip
Notes
Diffstat (limited to 'security/cryptlib')
-rw-r--r--security/cryptlib/Makefile22
1 files changed, 9 insertions, 13 deletions
diff --git a/security/cryptlib/Makefile b/security/cryptlib/Makefile
index ac6dae866cad..1069ca31b95a 100644
--- a/security/cryptlib/Makefile
+++ b/security/cryptlib/Makefile
@@ -12,10 +12,11 @@ COMMENT= Powerful security programming toolkit
ONLY_FOR_ARCHS= i386 amd64
+OPTIONS_DEFINE= DOCS
+
USE_ZIP= yes
EXTRACT_BEFORE_ARGS= -aq
NO_WRKSUBDIR= yes
-USES= gmake
MAKEFILE= makefile
ALL_TARGET= default FreeBSD shared
USE_LDCONFIG= yes
@@ -27,9 +28,6 @@ PLIST_FILES= include/cryptlib.h \
PORTDOCS= README
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's/%%CFLAGS%%/${CFLAGS}/' ${WRKSRC}/makefile
@${REINPLACE_CMD} -e 's/%%PTHREAD_CFLAGS%%/${PTHREAD_CFLAGS}/' ${WRKSRC}/makefile
@@ -37,15 +35,13 @@ post-patch:
do-install:
${INSTALL_DATA} ${WRKSRC}/libcl.a ${WRKSRC}/libcl.so.${PORTVERSION} \
- ${PREFIX}/lib
- ${LN} -sf ${PREFIX}/lib/libcl.so.${PORTVERSION} ${PREFIX}/lib/libcl.so.3
- ${LN} -sf ${PREFIX}/lib/libcl.so.3 ${PREFIX}/lib/libcl.so
- ${INSTALL_DATA} ${WRKSRC}/cryptlib.h ${PREFIX}/include
+ ${STAGEDIR}${PREFIX}/lib
+ ${LN} -sf ${PREFIX}/lib/libcl.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libcl.so.3
+ ${LN} -sf ${PREFIX}/lib/libcl.so.3 ${STAGEDIR}${PREFIX}/lib/libcl.so
+ ${INSTALL_DATA} ${WRKSRC}/cryptlib.h ${STAGEDIR}${PREFIX}/include
-.if !defined(NOPORTDOCS)
post-install:
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>