1997-11-04 09:08:47 +01:00
|
|
|
# New ports collection makefile for: asmail
|
|
|
|
# Date created: 15 August 1997
|
|
|
|
# Whom: brett@peloton.physics.montana.edu
|
|
|
|
#
|
1999-08-25 08:51:17 +02:00
|
|
|
# $FreeBSD$
|
1997-11-04 09:08:47 +01:00
|
|
|
#
|
|
|
|
|
2000-04-13 22:01:08 +02:00
|
|
|
PORTNAME= asmail
|
2007-04-17 21:21:23 +02:00
|
|
|
PORTVERSION= 2.1
|
2012-04-29 21:14:22 +02:00
|
|
|
PORTREVISION= 3
|
1999-01-18 07:38:08 +01:00
|
|
|
CATEGORIES= mail afterstep
|
2003-05-19 01:47:04 +02:00
|
|
|
MASTER_SITES= http://www.tigr.net/afterstep/download/asmail/
|
1997-11-04 09:08:47 +01:00
|
|
|
|
2003-05-19 01:47:04 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 13:51:06 +01:00
|
|
|
COMMENT= Biff-type program, designed to match AfterStep
|
1997-11-04 09:08:47 +01:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= xpm
|
2003-05-19 01:47:04 +02:00
|
|
|
USE_OPENSSL= yes
|
2000-05-19 10:11:26 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-12-02 14:40:53 +01:00
|
|
|
CONFIGURE_ARGS= --enable-shaping \
|
|
|
|
--with-xpm \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
--with-xpm-includes=${LOCALBASE}/include \
|
|
|
|
--with-xpm-library=${LOCALBASE}/lib
|
1997-11-04 09:08:47 +01:00
|
|
|
|
2003-06-23 13:08:24 +02:00
|
|
|
MAN1= asmail.1x
|
2003-05-19 01:47:04 +02:00
|
|
|
MAN5= asmailrc.5x
|
1998-10-02 03:59:10 +02:00
|
|
|
|
2005-10-17 12:29:20 +02:00
|
|
|
CPPFLAGS+= ${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS+= ${PTHREAD_LIBS} -lssl -lcrypto
|
2005-10-17 11:49:53 +02:00
|
|
|
|
2000-05-19 10:11:26 +02:00
|
|
|
post-patch:
|
2005-10-17 11:49:53 +02:00
|
|
|
@${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
|
2003-05-19 01:47:04 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|/usr/local|${PREFIX}|g' ${WRKSRC}/asmailrc.sample
|
2000-05-19 10:11:26 +02:00
|
|
|
|
1997-11-04 09:08:47 +01:00
|
|
|
post-install:
|
1999-07-17 19:31:00 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-05-19 01:47:04 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/asmailrc.sample ${EXAMPLESDIR}
|
1999-07-17 19:31:00 +02:00
|
|
|
.endif
|
1997-11-04 09:08:47 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|