1PORTNAME= mcrypt 2PORTVERSION= 2.6.8 3PORTREVISION= 5 4CATEGORIES= security 5MASTER_SITES= SF/${PORTNAME}/MCrypt/${PORTVERSION} \ 6 ftp://argeas.cs-net.gr/pub/unix/mcrypt/attic/ \ 7 ftp://ftp.ntua.gr/pub/security/mcrypt/ \ 8 ftp://mcrypt.hellug.gr/pub/mcrypt/attic/ 9 10MAINTAINER= ports@MidnightBSD.org 11COMMENT= Replacement for crypt(1) 12WWW= https://mcrypt.sourceforge.net/ 13 14LICENSE= gpl3 15LICENSE_FILE= ${WRKSRC}/COPYING 16 17LIB_DEPENDS= libmcrypt.so:security/libmcrypt \ 18 libmhash.so:security/mhash 19 20USES= cpe 21 22GNU_CONFIGURE= yes 23CPPFLAGS+= -I${LOCALBASE}/include 24LDFLAGS+= -L${LOCALBASE}/lib 25CONFIGURE_ARGS= --enable-static --with-catgets 26 27OPTIONS_DEFINE= DOCS NLS EXAMPLES 28OPTIONS_SUB= yes 29NLS_USES= gettext 30NLS_CONFIGURE_ENABLE= nls 31 32post-patch: 33 ${REINPLACE_CMD} -e '/malloc\.h/d' ${WRKSRC}/src/rfc2440.c 34 35post-install: 36 @${MKDIR} ${EXAMPLESDIR} 37 @${INSTALL_DATA} ${WRKSRC}/doc/sample.mcryptrc ${EXAMPLESDIR} 38 @${MKDIR} ${DOCSDIR} 39 @cd ${WRKSRC}/doc && ${INSTALL_DATA} FORMAT magic ${DOCSDIR} 40 41.include <bsd.port.mk> 42