2013-03-25 19:14:43 +00:00
|
|
|
# Created by: David Yeske <dyeske@gmail.com>
|
2003-12-17 17:26:41 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2004-12-23 05:08:56 +00:00
|
|
|
PORTNAME= mrxvt
|
2006-01-29 23:31:31 +00:00
|
|
|
PORTVERSION= 0.4.2
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION= 8
|
2003-12-17 17:26:41 +00:00
|
|
|
CATEGORIES= x11
|
2009-08-22 00:39:37 +00:00
|
|
|
MASTER_SITES= SF/materm/${PORTNAME}%20source/${PORTVERSION}
|
2006-01-29 23:31:31 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
2003-12-17 17:26:41 +00:00
|
|
|
|
2009-02-02 23:44:01 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-10-13 02:01:16 +00:00
|
|
|
COMMENT= Tabbed version of rxvt
|
2004-12-23 05:08:56 +00:00
|
|
|
|
2013-10-13 02:01:16 +00:00
|
|
|
LIB_DEPENDS= libjpeg.so.11:${PORTSDIR}/graphics/jpeg \
|
|
|
|
libpng15.so:${PORTSDIR}/graphics/png
|
2003-12-17 17:26:41 +00:00
|
|
|
|
2006-04-27 01:22:51 +00:00
|
|
|
CONFLICTS= mrxvt-0.5.*
|
|
|
|
|
2003-12-17 17:26:41 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2008-03-23 21:48:07 +00:00
|
|
|
USE_XORG= x11
|
2003-12-17 17:26:41 +00:00
|
|
|
|
2010-01-15 11:54:42 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 900007
|
2010-01-15 15:03:57 +00:00
|
|
|
CONFIGURE_ARGS+= --disable-lastlog --disable-wtmp
|
2010-01-15 11:54:42 +00:00
|
|
|
.endif
|
|
|
|
|
2005-09-16 19:50:38 +00:00
|
|
|
.if defined(WITH_JAPANESE)
|
|
|
|
CONFIGURE_ARGS+= --enable-xim --enable-cjk --with-encoding=eucj
|
|
|
|
.endif # WITH_JAPANESE
|
|
|
|
|
2006-01-15 19:41:06 +00:00
|
|
|
.if defined(WITH_XFT)
|
|
|
|
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
|
|
|
|
CONFIGURE_ARGS+= --enable-xft
|
|
|
|
.endif
|
|
|
|
|
2011-09-23 22:26:39 +00:00
|
|
|
CONFIGURE_ENV= LIBS="${LIBS} -L${LOCALBASE}/lib"
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2003-12-17 17:26:41 +00:00
|
|
|
|
2009-04-01 14:22:37 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= TIPS \
|
|
|
|
README.greek \
|
|
|
|
README.menu \
|
|
|
|
README.xvt \
|
|
|
|
xdefaults-sample.txt \
|
|
|
|
xterm.seq \
|
|
|
|
mrxvt.vbs \
|
|
|
|
mrxvtset.pl
|
|
|
|
.endif
|
|
|
|
|
2005-09-16 19:50:38 +00:00
|
|
|
pre-everything::
|
|
|
|
@${ECHO_MSG} "=========================================>"
|
|
|
|
@${ECHO_MSG} "For Japanese support use make -DWITH_JAPANESE install"
|
2006-01-15 19:41:06 +00:00
|
|
|
@${ECHO_MSG} "For XFT support use make -DWITH_XFT install"
|
2005-09-16 19:50:38 +00:00
|
|
|
@${ECHO_MSG} "=========================================>"
|
|
|
|
|
2009-04-01 14:22:37 +00:00
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/^\(install-data-am:\).*/ \
|
|
|
|
s/install-docDATA //' ${WRKSRC}/doc/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
2010-01-21 10:15:40 +00:00
|
|
|
post-install:
|
2014-01-10 09:32:14 +00:00
|
|
|
${CHMOD} 4511 ${STAGEDIR}${PREFIX}/bin/mrxvt
|
2010-01-21 10:15:40 +00:00
|
|
|
|
2010-01-15 11:54:42 +00:00
|
|
|
.include <bsd.port.post.mk>
|