1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/mail/asmail/Makefile

53 lines
1.3 KiB
Makefile
Raw Normal View History

# Created by: brett@peloton.physics.montana.edu
1999-08-25 06:51:17 +00:00
# $FreeBSD$
2000-04-13 20:01:08 +00:00
PORTNAME= asmail
PORTVERSION= 2.1
PORTREVISION= 4
1999-01-18 06:38:08 +00:00
CATEGORIES= mail afterstep
MASTER_SITES= AFTERSTEP/apps/asmail/ \
http://tigr.net/afterstep/download/asmail/
MAINTAINER= ports@FreeBSD.org
2003-02-21 12:51:06 +00:00
COMMENT= Biff-type program, designed to match AfterStep
USE_XORG= xpm
USE_OPENSSL= yes
GNU_CONFIGURE= yes
2006-12-02 13:40:53 +00:00
CONFIGURE_ARGS= --enable-shaping \
--with-xpm \
--with-xpm-includes=${LOCALBASE}/include \
--with-xpm-library=${LOCALBASE}/lib
LDFLAGS+= -pthread -lssl -lcrypto
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -e \
's|-lpthread|-pthread|g ; \
s|machine/soundcard|sys/soundcard|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e \
'/STRIP/s|^|#| ; \
s| \($$(AFTER_.*DIR)\)| $$(DESTDIR)\1| ; \
s|\.\([0-9]\)x|.\1|' \
${WRKSRC}/autoconf/Makefile.common.in
@${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
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} README \
${STAGEDIR}${DOCSDIR})
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} asmailrc.sample \
${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>