2013-09-20 19:59:12 +00:00
|
|
|
# Created by: brett@peloton.physics.montana.edu
|
1999-08-25 06:51:17 +00:00
|
|
|
# $FreeBSD$
|
1997-11-04 08:08:47 +00:00
|
|
|
|
2000-04-13 20:01:08 +00:00
|
|
|
PORTNAME= asmail
|
2007-04-17 19:21:23 +00:00
|
|
|
PORTVERSION= 2.1
|
2014-02-27 09:07:20 +00:00
|
|
|
PORTREVISION= 4
|
1999-01-18 06:38:08 +00:00
|
|
|
CATEGORIES= mail afterstep
|
2014-02-27 09:07:20 +00:00
|
|
|
MASTER_SITES= AFTERSTEP/apps/asmail/ \
|
|
|
|
http://tigr.net/afterstep/download/asmail/
|
1997-11-04 08:08:47 +00:00
|
|
|
|
2003-05-18 23:47:04 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 12:51:06 +00:00
|
|
|
COMMENT= Biff-type program, designed to match AfterStep
|
1997-11-04 08:08:47 +00: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 17:56:05 +00:00
|
|
|
USE_XORG= xpm
|
2003-05-18 23:47:04 +00:00
|
|
|
USE_OPENSSL= yes
|
2000-05-19 08:11:26 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2006-12-02 13:40:53 +00: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 17:56:05 +00:00
|
|
|
--with-xpm-includes=${LOCALBASE}/include \
|
|
|
|
--with-xpm-library=${LOCALBASE}/lib
|
1997-11-04 08:08:47 +00:00
|
|
|
|
2014-02-27 09:07:20 +00:00
|
|
|
LDFLAGS+= -pthread -lssl -lcrypto
|
1998-10-02 01:59:10 +00:00
|
|
|
|
2014-02-27 09:07:20 +00:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
2005-10-17 09:49:53 +00:00
|
|
|
|
2000-05-19 08:11:26 +00:00
|
|
|
post-patch:
|
2003-05-18 23:47:04 +00:00
|
|
|
@${REINPLACE_CMD} -e \
|
2014-02-27 09:07:20 +00:00
|
|
|
'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
|
2000-05-19 08:11:26 +00:00
|
|
|
|
1997-11-04 08:08:47 +00:00
|
|
|
post-install:
|
2014-02-27 09:07:20 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} README \
|
|
|
|
${STAGEDIR}${DOCSDIR})
|
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} asmailrc.sample \
|
|
|
|
${STAGEDIR}${EXAMPLESDIR})
|
1997-11-04 08:08:47 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|