summaryrefslogtreecommitdiff
path: root/security/mcrypt
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2003-08-10 00:49:20 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2003-08-10 00:49:20 +0000
commit9ebb74bfe819eee85759641bc67238175e50e74a (patch)
tree2f1633bec2670733d721dc94104df44f61683466 /security/mcrypt
parentUpdate mastersite. (diff)
Back out unapproved changes, notably to the MAINTAINER line, made
by Kris Kennaway. Fix white space.
Notes
Notes: svn path=/head/; revision=86693
Diffstat (limited to 'security/mcrypt')
-rw-r--r--security/mcrypt/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/security/mcrypt/Makefile b/security/mcrypt/Makefile
index a2b794f11181..07f06f053f6b 100644
--- a/security/mcrypt/Makefile
+++ b/security/mcrypt/Makefile
@@ -9,14 +9,15 @@
PORTNAME= mcrypt
PORTVERSION= 2.6.4
-CATEGORIES= security
+CATEGORIES= security
MASTER_SITES= ftp://argeas.cs-net.gr/pub/unix/mcrypt/ \
ftp://mcrypt.hellug.gr/pub/mcrypt/ \
ftp://ftp.ntua.gr/pub/security/mcrypt/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= trevor@FreeBSD.org
COMMENT= Replacement for crypt(1)
+BUILD_DEPENDS= autoconf257:${PORTSDIR}/devel/autoconf257
LIB_DEPENDS= mcrypt.8:${PORTSDIR}/security/libmcrypt/ \
mhash.2:${PORTSDIR}/security/mhash/ \
intl.4:${PORTSDIR}/devel/gettext
@@ -24,7 +25,7 @@ LIB_DEPENDS= mcrypt.8:${PORTSDIR}/security/libmcrypt/ \
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static --with-catgets
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+ LDFLAGS="-L${LOCALBASE}/lib -lintl -lltdl"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
GNU_CONFIGURE= yes
DOCS= FORMAT magic
@@ -32,6 +33,10 @@ MAN1= mcrypt.1
PKGMESSAGE= ${WRKDIR}/pkg-message
PLIST= ${WRKDIR}/pkg-plist
+# to avoid having to read the configure script
+pre-configure:
+ cd ${WRKSRC} && ${RM} configure && autoconf257
+
pre-install:
${ECHO_CMD} bin/${PORTNAME} > ${PLIST}
.for i in cs de el es_AR pl
@@ -61,7 +66,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/doc/sample.mcryptrc ${EXAMPLESDIR}/
${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MANPREFIX}/man/man1/
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${PREFIX}/share/examples/${PORTNAME} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/sample.mcryptrc ${EXAMPLESDIR}/
.for i in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}/
.endfor