1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/security/mcrypt/Makefile
Muhammad Moinur Rahman ff4ed36630
security/mcrypt: Moved man to share/man
Approved by:    portmgr (blanket)
2024-02-25 14:19:46 +01:00

43 lines
1.1 KiB
Makefile

PORTNAME= mcrypt
PORTVERSION= 2.6.8
PORTREVISION= 4
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= ports@FreeBSD.org
COMMENT= Replacement for crypt(1)
WWW= https://mcrypt.sourceforge.net/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmcrypt.so:security/libmcrypt \
libmhash.so:security/mhash
USES= cpe
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-static --with-catgets
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
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>