1999-06-28 18:54:50 -04:00
|
|
|
# New ports collection makefile for: mcrypt
|
1999-06-28 21:03:51 -04:00
|
|
|
# Date created: Mon Jun 28 18:02:04 PDT 1999
|
1999-06-28 18:54:50 -04:00
|
|
|
# Whom: nsayer@freebsd.org
|
|
|
|
#
|
1999-08-30 21:53:22 -04:00
|
|
|
# $FreeBSD$
|
1999-06-28 18:54:50 -04:00
|
|
|
#
|
|
|
|
|
2000-04-09 14:34:06 -04:00
|
|
|
PORTNAME= libmcrypt
|
2002-08-31 07:22:57 -04:00
|
|
|
PORTVERSION= 2.5.3
|
1999-06-28 18:54:50 -04:00
|
|
|
CATEGORIES= security
|
2001-12-02 13:38:26 -05:00
|
|
|
MASTER_SITES= ftp://mcrypt.hellug.gr/pub/mcrypt/libmcrypt/ \
|
2001-03-23 18:12:32 -05:00
|
|
|
ftp://ftp.ntua.gr/pub/security/mcrypt/libmcrypt/
|
1999-06-28 18:54:50 -04:00
|
|
|
|
2001-02-16 17:24:54 -05:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
|
2002-06-08 02:08:40 -04:00
|
|
|
BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
|
2001-02-16 17:24:54 -05:00
|
|
|
LIB_DEPENDS= ltdl.1:${PORTSDIR}/devel/libtool
|
|
|
|
|
|
|
|
RESTRICTED= "yes - cryptography"
|
1999-06-28 18:54:50 -04:00
|
|
|
|
2002-09-01 12:07:59 -04:00
|
|
|
USE_REINPLACE= yes
|
2002-06-08 02:08:40 -04:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
2001-02-16 17:24:54 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2001-03-14 09:18:37 -05:00
|
|
|
INSTALLS_SHLIB= yes
|
1999-06-28 18:54:50 -04:00
|
|
|
|
|
|
|
MAN3= mcrypt.3
|
|
|
|
|
2002-08-31 07:22:57 -04:00
|
|
|
post-extract:
|
|
|
|
# so we need not audit the configure scripts
|
|
|
|
${FIND} ${WRKSRC} -name configure -exec ${RM} -f \{\} \;
|
|
|
|
|
2001-12-02 13:38:26 -05:00
|
|
|
pre-patch:
|
2002-09-01 12:07:59 -04:00
|
|
|
@${FIND} ${WRKSRC}/modules -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|#ifdef USE_LTDL|#if defined(USE_LTDL) && !defined(__FreeBSD__)|g'
|
2001-06-17 14:38:09 -04:00
|
|
|
|
2002-06-08 02:08:40 -04:00
|
|
|
post-patch:
|
|
|
|
@cd ${WRKSRC}/libltdl && ${LOCALBASE}/bin/autoconf
|
|
|
|
|
2002-08-31 07:22:57 -04:00
|
|
|
pre-configure:
|
|
|
|
# because we removed the configure scripts
|
|
|
|
cd ${WRKSRC} && autoconf
|
|
|
|
|
1999-06-28 18:54:50 -04:00
|
|
|
.include <bsd.port.mk>
|