aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2003-08-10 08:49:20 +0800
committertrevor <trevor@FreeBSD.org>2003-08-10 08:49:20 +0800
commit331a2927c5187f8679b8599189e962c400ba07a9 (patch)
treea5f25d03b03ecb5d04f0e5f6e07943bd89443e2b
parentfe0a82188b5978d7ca3344084a45bf79fc907245 (diff)
downloadfreebsd-ports-gnome-331a2927c5187f8679b8599189e962c400ba07a9.tar.gz
freebsd-ports-gnome-331a2927c5187f8679b8599189e962c400ba07a9.tar.zst
freebsd-ports-gnome-331a2927c5187f8679b8599189e962c400ba07a9.zip
Back out unapproved changes, notably to the MAINTAINER line, made
by Kris Kennaway. Fix white space.
-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