blob: 69297611ffca7e7ea624b0e13751228c0009c553 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Created by: brett@peloton.physics.montana.edu
# $FreeBSD$
PORTNAME= asmail
PORTVERSION= 2.1
PORTREVISION= 3
CATEGORIES= mail afterstep
MASTER_SITES= http://www.tigr.net/afterstep/download/asmail/
MAINTAINER= ports@FreeBSD.org
COMMENT= Biff-type program, designed to match AfterStep
DEPRECATED= No more public distfiles
EXPIRATION_DATE= 2014-03-07
USE_XORG= xpm
USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shaping \
--with-xpm \
--with-xpm-includes=${LOCALBASE}/include \
--with-xpm-library=${LOCALBASE}/lib
MAN1= asmail.1x
MAN5= asmailrc.5x
CPPFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS} -lssl -lcrypto
NO_STAGE= yes
post-patch:
@${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
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/asmailrc.sample ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
|