mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
de78dd974b
broken at that time and no fix has been submitted.
53 lines
1.2 KiB
Makefile
53 lines
1.2 KiB
Makefile
# 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
|
|
|
|
BROKEN= Does not compile
|
|
DEPRECATED= ${BROKEN}
|
|
EXPIRATION_DATE=2007-04-10
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGNAME}
|
|
|
|
USE_PERL5= yes
|
|
USE_PHP= yes
|
|
USE_PHPEXT= yes
|
|
IGNORE_WITH_PHP=5
|
|
DEFAULT_PHP_VER=4
|
|
|
|
CONFIGURE_ARGS= --with-cryptopp
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= README ${PORTNAME}.doc
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-march=pentium3 -O3 -g -pipe -fomit-frame-pointer|${CFLAGS}|' ${WRKSRC}/config.m4
|
|
|
|
post-build:
|
|
# convert sgml documentation to plain text
|
|
@${PERL} -e '$$/=">";' -e 'while(<>){s/<.*>//;print;}' < ${WRKSRC}/docs/${PORTNAME}.sgml > ${WRKSRC}/${PORTNAME}.doc
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|