mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
cryptopp-php is a cryptography extension for PHP based on Wei Dai's
Crypto++, a free C++ crypto library. PR: ports/76810 Submitted by: Thomas Melzer <tmelzer@tomesoft.de>
This commit is contained in:
parent
2c01ccf175
commit
1aaff7b104
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127700
4 changed files with 55 additions and 0 deletions
|
@ -341,6 +341,7 @@
|
|||
SUBDIR += pgpgpg
|
||||
SUBDIR += pgpin
|
||||
SUBDIR += php4-crack
|
||||
SUBDIR += php4-cryptopp
|
||||
SUBDIR += php4-mcrypt
|
||||
SUBDIR += php4-mhash
|
||||
SUBDIR += php4-openssl
|
||||
|
|
48
security/php4-cryptopp/Makefile
Normal file
48
security/php4-cryptopp/Makefile
Normal file
|
@ -0,0 +1,48 @@
|
|||
# New ports collection makefile for: php4-cryptopp
|
||||
# Date created: 28 Jan 2004
|
||||
# Whom: tmelzer
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= cryptopp
|
||||
PORTVERSION= 0.0.15
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://bugs.tutorbuddy.com/download.php/
|
||||
PKGNAMEPREFIX= php4-
|
||||
DISTNAME= ${PORTNAME}-php-${PORTVERSION}
|
||||
|
||||
MAINTAINER= tmelzer@tomesoft.de
|
||||
COMMENT= A crypto++ php wrapper
|
||||
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PKGNAME}
|
||||
|
||||
USE_PERL= yes
|
||||
USE_PHP= yes
|
||||
USE_PHPEXT= yes
|
||||
USE_PHPIZE= yes
|
||||
USE_REINPLACE= yes
|
||||
|
||||
CONFIGURE_ARGS= --with-cryptopp
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
PORTDOCS= README ${PORTNAME}.doc
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
# convert sgml documentation to plain text
|
||||
@${PERL} -e '$$/=">";' -e 'while(<>){s/<.*>//;print;}' < ${WRKSRC}/docs/${PORTNAME}.sgml > ${WRKSRC}/${PORTNAME}.doc
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-march=pentium3 -O3 -g -pipe -fomit-frame-pointer|${CFLAGS}|' ${WRKSRC}/config.m4
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
2
security/php4-cryptopp/distinfo
Normal file
2
security/php4-cryptopp/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
MD5 (cryptopp-php-0.0.15.tar.gz) = b94f01400bffb8f2926d8fb2f986df60
|
||||
SIZE (cryptopp-php-0.0.15.tar.gz) = 115690
|
4
security/php4-cryptopp/pkg-descr
Normal file
4
security/php4-cryptopp/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
|||
cryptopp-php is a cryptography extension for PHP based on Wei Dai's
|
||||
Crypto++, a free C++ crypto library.
|
||||
|
||||
WWW: http://bugs.tutorbuddy.com/
|
Loading…
Add table
Reference in a new issue