summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-11-15 08:45:47 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-11-15 08:45:47 +0000
commit73d54e093225f82fe934e86472efda4007f9f877 (patch)
tree698ea33913eea70046ce9653f0dd83b5b698e58c /mail
parentUpdate linux-winetools from 1.20 to 1.25a (diff)
- Update to version 0.5.0
Notes
Notes: svn path=/head/; revision=93995
Diffstat (limited to 'mail')
-rw-r--r--mail/esmtp/Makefile18
-rw-r--r--mail/esmtp/distinfo2
-rw-r--r--mail/esmtp/files/patch-lexer.c12
3 files changed, 9 insertions, 23 deletions
diff --git a/mail/esmtp/Makefile b/mail/esmtp/Makefile
index 6c8de01ede32..7de160f29e40 100644
--- a/mail/esmtp/Makefile
+++ b/mail/esmtp/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= esmtp
-PORTVERSION= 0.4.1
+PORTVERSION= 0.5.0
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -18,26 +18,24 @@ LIB_DEPENDS= esmtp.6:${PORTSDIR}/mail/libesmtp
USE_BZIP2= yes
GNU_CONFIGURE= yes
+CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GETOPT_LONG= yes
USE_OPENSSL= yes
USE_REINPLACE= yes
+USE_BISON= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
+ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
DOC_FILES= README
MAN1= esmtp.1
MAN5= esmtprc.5
post-patch:
- @${REINPLACE_CMD} -e \
- 's|/usr/bin|${LOCALBASE}/bin|g' \
+ @${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|g' \
${WRKSRC}/sample.esmtprc
- @${REINPLACE_CMD} -e \
- 's|sendmail(1)|sendmail(8)|g ; \
- s|/etc|${PREFIX}/etc|g' \
- ${WRKSRC}/${PORTNAME}.1
- @${REINPLACE_CMD} -e \
- 's|/etc|${PREFIX}/etc|g' \
+ @${REINPLACE_CMD} -e 's|sendmail(1)|sendmail(8)|g ; \
+ s|/etc|${PREFIX}/etc|g' ${WRKSRC}/${PORTNAME}.1
+ @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' \
${WRKSRC}/parser.c ${WRKSRC}/parser.y
do-install:
diff --git a/mail/esmtp/distinfo b/mail/esmtp/distinfo
index 218ddc5a0c50..ca61b6cd671b 100644
--- a/mail/esmtp/distinfo
+++ b/mail/esmtp/distinfo
@@ -1 +1 @@
-MD5 (esmtp-0.4.1.tar.bz2) = 57b124dc6b2fffac4d2a7283a1a7f771
+MD5 (esmtp-0.5.0.tar.bz2) = b22933aa12167080959b42b025047639
diff --git a/mail/esmtp/files/patch-lexer.c b/mail/esmtp/files/patch-lexer.c
deleted file mode 100644
index 1b0f2d1935e3..000000000000
--- a/mail/esmtp/files/patch-lexer.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- lexer.c.orig Sat Jul 12 09:26:44 2003
-+++ lexer.c Sat Jul 12 09:27:04 2003
-@@ -20,7 +20,9 @@
- #include <string.h>
- #include <errno.h>
- #include <stdlib.h>
-+#ifdef HAVE_STDINT_H
- #include <stdint.h> /* May break IA64 test-noansi-r */
-+#endif
-
- /* end standard C headers. */
-