b76ea8545b
PR: 35499 Submitted by: KATO Tsuguru <tkato@prontomail.com>
31 lines
732 B
Makefile
31 lines
732 B
Makefile
# New ports collection makefile for: mcrypt
|
|
# Date created: Mon Jun 28 18:02:04 PDT 1999
|
|
# Whom: nsayer@freebsd.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libmcrypt
|
|
PORTVERSION= 2.4.22
|
|
CATEGORIES= security
|
|
MASTER_SITES= ftp://mcrypt.hellug.gr/pub/mcrypt/libmcrypt/ \
|
|
ftp://ftp.ntua.gr/pub/security/mcrypt/libmcrypt/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
LIB_DEPENDS= ltdl.1:${PORTSDIR}/devel/libtool
|
|
|
|
RESTRICTED= "yes - cryptography"
|
|
|
|
USE_AUTOCONF= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
INSTALLS_SHLIB= yes
|
|
|
|
MAN3= mcrypt.3
|
|
|
|
pre-patch:
|
|
@find ${WRKSRC}/modules -name '*.[ch]' | xargs ${PERL} -pi -e \
|
|
's|#ifdef USE_LTDL|#if defined\(USE_LTDL\) && !defined\(__FreeBSD__\)|g'
|
|
|
|
.include <bsd.port.mk>
|