aboutsummaryrefslogtreecommitdiffstats
path: root/mail/asmail
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-10-17 17:49:53 +0800
committervs <vs@FreeBSD.org>2005-10-17 17:49:53 +0800
commit2c2c5a663c5196adc8f3c8a2bf9549b84ef7b0cf (patch)
tree2b7fc825aabd50d6a555c6e1f3811fa961e34e60 /mail/asmail
parente2db04f87579479f6c122fc56e8d0965e6956a57 (diff)
downloadfreebsd-ports-gnome-2c2c5a663c5196adc8f3c8a2bf9549b84ef7b0cf.tar.gz
freebsd-ports-gnome-2c2c5a663c5196adc8f3c8a2bf9549b84ef7b0cf.tar.zst
freebsd-ports-gnome-2c2c5a663c5196adc8f3c8a2bf9549b84ef7b0cf.zip
Update to 1.8
PR: ports/87537 Submitted by: Ports Fury
Diffstat (limited to 'mail/asmail')
-rw-r--r--mail/asmail/Makefile18
-rw-r--r--mail/asmail/distinfo4
2 files changed, 13 insertions, 9 deletions
diff --git a/mail/asmail/Makefile b/mail/asmail/Makefile
index 0930280fd65f..a7fe2f1fb86d 100644
--- a/mail/asmail/Makefile
+++ b/mail/asmail/Makefile
@@ -6,30 +6,34 @@
#
PORTNAME= asmail
-PORTVERSION= 1.7
+PORTVERSION= 1.8
CATEGORIES= mail afterstep
MASTER_SITES= http://www.tigr.net/afterstep/download/asmail/
MAINTAINER= ports@FreeBSD.org
COMMENT= Biff-type program, designed to match AfterStep
+LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
+
USE_X_PREFIX= yes
USE_XPM= yes
USE_OPENSSL= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-shaping
MAN1= asmail.1x
MAN5= asmailrc.5x
+CPPFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
+LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib -lssl -lcrypto
+
post-patch:
-.for file in configure autoconf/Makefile.defines.in
- @${REINPLACE_CMD} -e 's|-lpthread -lrt|${PTHREAD_LIBS}|g ; \
- s|-lssl|-lcrypto -lssl|g ; \
- s|-D_REENTRANT|-D_REENTRANT ${PTHREAD_CFLAGS}|g ; \
- s|machine/soundcard|sys/soundcard|g' ${WRKSRC}/${file}
-.endfor
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|machine/soundcard|sys/soundcard|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|@CFLAGS@ -D|@CFLAGS@ @CPPFLAGS@ -D|g ; \
+ s|-lpthread -lrt|@LDFLAGS@|g' ${WRKSRC}/autoconf/Makefile.defines.in
@${REINPLACE_CMD} -e \
's|/usr/local|${PREFIX}|g' ${WRKSRC}/asmailrc.sample
diff --git a/mail/asmail/distinfo b/mail/asmail/distinfo
index f89e565de845..6153faefc954 100644
--- a/mail/asmail/distinfo
+++ b/mail/asmail/distinfo
@@ -1,2 +1,2 @@
-MD5 (asmail-1.7.tar.gz) = 2fb24aa491fa3088710a10876e86cebe
-SIZE (asmail-1.7.tar.gz) = 267156
+MD5 (asmail-1.8.tar.gz) = e8c21f149e3849bb6d5d6eab82010a89
+SIZE (asmail-1.8.tar.gz) = 267267