freebsd-ports/security/mcrypt/Makefile

39 lines
1,019 B
Makefile
Raw Normal View History

# Created by: trevor
# $FreeBSD$
PORTNAME= mcrypt
2008-11-22 18:16:41 +01:00
PORTVERSION= 2.6.8
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/MCrypt/${PORTVERSION} \
ftp://argeas.cs-net.gr/pub/unix/mcrypt/attic/ \
ftp://ftp.ntua.gr/pub/security/mcrypt/ \
ftp://mcrypt.hellug.gr/pub/mcrypt/attic/
MAINTAINER= johans@FreeBSD.org
2003-03-01 15:34:33 +01:00
COMMENT= Replacement for crypt(1)
2014-01-11 13:22:15 +01:00
LIB_DEPENDS= libmcrypt.so:${PORTSDIR}/security/libmcrypt \
libmhash.so:${PORTSDIR}/security/mhash
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-static --with-catgets
2014-01-11 13:22:15 +01:00
OPTIONS_DEFINE= DOCS NLS EXAMPLES
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
post-patch:
${REINPLACE_CMD} -e '/malloc\.h/d' ${WRKSRC}/src/rfc2440.c
2014-01-11 13:22:15 +01:00
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/sample.mcryptrc ${STAGEDIR}${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC}/doc && ${INSTALL_DATA} FORMAT magic ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>