aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-11-15 16:45:47 +0800
committerkrion <krion@FreeBSD.org>2003-11-15 16:45:47 +0800
commite08eae1d20c01e4a28f224f834782a30d0bbb120 (patch)
tree82193c275bbacdcf768d3a2f87dab668bb41faa3 /mail
parent3a2bc4e1d4c6252b784fc6d7ac012eb4fed81df9 (diff)
downloadfreebsd-ports-gnome-e08eae1d20c01e4a28f224f834782a30d0bbb120.tar.gz
freebsd-ports-gnome-e08eae1d20c01e4a28f224f834782a30d0bbb120.tar.zst
freebsd-ports-gnome-e08eae1d20c01e4a28f224f834782a30d0bbb120.zip
- Update to version 0.5.0
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. */
-