aboutsummaryrefslogtreecommitdiffstats
path: root/mail/asmail/Makefile
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2003-05-19 07:47:04 +0800
committerpetef <petef@FreeBSD.org>2003-05-19 07:47:04 +0800
commit709dde3d00e87cb1d38036463f879a79b6768b1d (patch)
treee52164625c9ab40c377698c2b2bbd4d62e058c1c /mail/asmail/Makefile
parent55b4b2701c7e68177356a7e38e7bb00ebc8ca375 (diff)
downloadfreebsd-ports-gnome-709dde3d00e87cb1d38036463f879a79b6768b1d.tar.gz
freebsd-ports-gnome-709dde3d00e87cb1d38036463f879a79b6768b1d.tar.zst
freebsd-ports-gnome-709dde3d00e87cb1d38036463f879a79b6768b1d.zip
- update to 1.5
- new MASTER_SITES - spell 'FreeBSD.org' correctly - respect NOPORTDOCS correctly PR: 51672 Submitted by: Ports Fury
Diffstat (limited to 'mail/asmail/Makefile')
-rw-r--r--mail/asmail/Makefile34
1 files changed, 19 insertions, 15 deletions
diff --git a/mail/asmail/Makefile b/mail/asmail/Makefile
index e0808e7d1717..7703f3c6b5a9 100644
--- a/mail/asmail/Makefile
+++ b/mail/asmail/Makefile
@@ -6,36 +6,40 @@
#
PORTNAME= asmail
-PORTVERSION= 0.56
-PORTREVISION= 1
+PORTVERSION= 1.5
CATEGORIES= mail afterstep
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
- ftp://gates.enemy.at/pub/
+MASTER_SITES= http://www.tigr.net/afterstep/download/asmail/
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports@freebsd.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Biff-type program, designed to match AfterStep
USE_X_PREFIX= yes
USE_XPM= yes
+USE_OPENSSL= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shaping
-MAN1= asmail.1
+MAN1= asmail.1x
+MAN5= asmailrc.5x
post-patch:
- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/sample.asmailrc
+.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|/usr/local|${PREFIX}|g' ${WRKSRC}/asmailrc.sample
post-install:
- ${INSTALL_MAN} ${WRKSRC}/asmail.man ${PREFIX}/man/man1/asmail.1
- @${MKDIR} ${PREFIX}/include/X11/pixmaps/cloud-e
- ${INSTALL_DATA} ${WRKSRC}/pixmaps/cloud-e/*.xpm ${PREFIX}/include/X11/pixmaps/cloud-e
- ${INSTALL_DATA} ${WRKSRC}/pixmaps/*.xpm ${PREFIX}/include/X11/pixmaps
- @${MKDIR} ${PREFIX}/share/examples/asmail
- ${INSTALL_DATA} ${WRKSRC}/sample.asmailrc ${PREFIX}/share/examples/asmail
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/asmail
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/asmail
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/asmailrc.sample ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>