2013-09-20 21:59:12 +02:00
|
|
|
# Created by: Stephen J. Roznowski <sjr@home.net>
|
1999-08-25 08:51:17 +02:00
|
|
|
# $FreeBSD$
|
1997-11-14 23:51:10 +01:00
|
|
|
|
2000-04-13 22:01:08 +02:00
|
|
|
PORTNAME= tkrat
|
2005-06-10 09:49:05 +02:00
|
|
|
PORTVERSION= 2.1.5
|
2014-07-09 02:15:35 +02:00
|
|
|
PORTREVISION= 5
|
2008-04-09 15:42:26 +02:00
|
|
|
CATEGORIES= mail tk
|
2006-12-30 15:48:38 +01:00
|
|
|
MASTER_SITES= http://tkrat.org/downloads/stable/ \
|
|
|
|
ftp://ftp.tkrat.org/pub/tkrat/
|
1997-11-14 23:51:10 +01:00
|
|
|
|
2014-09-01 19:52:26 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-07-07 17:31:01 +02:00
|
|
|
COMMENT= Mail user agent for X with a Tcl/Tk user interface
|
1997-11-14 23:51:10 +01:00
|
|
|
|
2014-07-09 02:15:35 +02:00
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
|
|
|
|
LIB_DEPENDS= libtcl84.so:${PORTSDIR}/lang/tcl84 \
|
|
|
|
libtk84.so:${PORTSDIR}/x11-toolkits/tk84 \
|
|
|
|
libc-client4.so:${PORTSDIR}/mail/cclient
|
1997-11-14 23:51:10 +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= x11 xt
|
2006-12-01 20:54:24 +01:00
|
|
|
|
1997-11-14 23:51:10 +01:00
|
|
|
GNU_CONFIGURE= yes
|
1998-07-20 05:09:37 +02:00
|
|
|
|
2004-05-14 16:42:07 +02:00
|
|
|
CONFIGURE_ARGS= --with-tcl-config=${PREFIX}/lib/tcl8.4 \
|
|
|
|
--with-tk-config=${PREFIX}/lib/tk8.4 \
|
|
|
|
--with-tcl-include=${PREFIX}/include/tcl8.4 \
|
2014-07-09 02:15:35 +02:00
|
|
|
--with-tk-include=${PREFIX}/include/tk8.4 \
|
|
|
|
--prefix=${PREFIX}
|
2001-04-09 00:02:59 +02:00
|
|
|
MAKE_ARGS+= -j2 -B
|
1997-11-14 23:51:10 +01:00
|
|
|
|
2014-07-15 18:14:15 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-07-09 02:15:35 +02:00
|
|
|
|
1997-11-14 23:51:10 +01:00
|
|
|
DOCFILES= CONFIGURATION COPYRIGHT README doc/interface doc/userprocs \
|
|
|
|
doc/userproc.example
|
|
|
|
|
2004-04-12 05:52:17 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "sparc64"
|
2006-07-11 12:26:15 +02:00
|
|
|
BROKEN= Build fails on sparc64
|
2004-04-12 05:52:17 +02:00
|
|
|
.endif
|
|
|
|
|
2014-07-09 02:15:35 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} '-e s|@INSTALL_PREFIX@|${STAGEDIR}${PREFIX}|g' \
|
|
|
|
${WRKSRC}/lib/Makefile.in ${WRKSRC}/util/Makefile.in \
|
|
|
|
${WRKSRC}/tkrat/Makefile.in ${WRKSRC}/misc/Makefile.in \
|
|
|
|
${WRKSRC}/doc/Makefile.in
|
|
|
|
@${REINPLACE_CMD} '-e s|@libdir@|/lib|g' \
|
|
|
|
${WRKSRC}/lib/Makefile.in ${WRKSRC}/util/Makefile.in
|
|
|
|
@${REINPLACE_CMD} '-e s|@datadir@|/share|g' \
|
|
|
|
${WRKSRC}/util/Makefile.in ${WRKSRC}/tkrat/Makefile.in \
|
|
|
|
${WRKSRC}/misc/Makefile.in
|
|
|
|
@${REINPLACE_CMD} '-e s|@bindir@|/bin|g' ${WRKSRC}/tkrat/Makefile.in
|
|
|
|
@${REINPLACE_CMD} '-e s|@mandir@|/man|g' ${WRKSRC}/doc/Makefile.in
|
|
|
|
|
1997-11-14 23:51:10 +01:00
|
|
|
post-install:
|
2014-07-09 02:15:35 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
1997-11-14 23:51:10 +01:00
|
|
|
.for f in ${DOCFILES}
|
2014-07-09 02:15:35 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
1997-11-14 23:51:10 +01:00
|
|
|
.endfor
|
|
|
|
.endif
|
2014-07-09 02:15:35 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/ratatosk
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/ratatoskrc ${STAGEDIR}${PREFIX}/lib/ratatosk
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/tkrat/ratatosk2.1.so
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/tkrat/blt_busy1.0.so
|
1997-11-14 23:51:10 +01:00
|
|
|
|
2004-04-12 05:52:17 +02:00
|
|
|
.include <bsd.port.post.mk>
|