aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-04-27 01:20:48 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-04-27 01:20:48 +0000
commit0065c68986bf803b110f963e47c445f6bdb7b50c (patch)
treeb85fc679bbff50a491bd060ffb826cdcded2e01d /x11
parent472088c146b645590a8f873a349f5c786d99a3af (diff)
downloadports-0065c68986bf803b110f963e47c445f6bdb7b50c.tar.gz
ports-0065c68986bf803b110f963e47c445f6bdb7b50c.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/mrxvt-devel/Makefile88
-rw-r--r--x11/mrxvt-devel/distinfo3
-rw-r--r--x11/mrxvt-devel/files/patch-src-main.c11
-rw-r--r--x11/mrxvt-devel/files/patch-src-strings.c18
-rw-r--r--x11/mrxvt-devel/pkg-descr13
-rw-r--r--x11/mrxvt-devel/pkg-plist21
7 files changed, 155 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index 0dd7a373abcf..5dcb282af874 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -137,6 +137,7 @@
SUBDIR += mgapdesk
SUBDIR += mlterm
SUBDIR += mrxvt
+ SUBDIR += mrxvt-devel
SUBDIR += multi-aterm
SUBDIR += multi-gnome-terminal
SUBDIR += mxico
diff --git a/x11/mrxvt-devel/Makefile b/x11/mrxvt-devel/Makefile
new file mode 100644
index 000000000000..c3b5a745002a
--- /dev/null
+++ b/x11/mrxvt-devel/Makefile
@@ -0,0 +1,88 @@
+# New ports collection makefile for: mrxvt-devel
+# Date created: 24 Apr 2005
+# Whom: Lars Engels <lars.engels@0x20.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mrxvt-devel
+PORTVERSION= 0.5.0
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= materm
+DISTNAME= mrxvt-${PORTVERSION}
+
+MAINTAINER= lars.engels@0x20.net
+COMMENT= Development version of mrxvt
+
+LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
+ png.5:${PORTSDIR}/graphics/png
+
+CONFLICTS= mrxvt-0.4.*
+
+USE_X_PREFIX= yes
+GNU_CONFIGURE= yes
+
+MAN1= mrxvt.1
+
+OPTIONS= XFT "Enable Xft support for fonts" Off \
+ JAPANESE "Enable support for Japanese language" Off \
+ 24BITS "Prefer 24 bits color" On \
+ MENUBAR "Enable menubar" On \
+ TEXTSHADOW "Enable text shadow" Off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_JAPANESE)
+CONFIGURE_ARGS+= --enable-xim --enable-cjk --with-encoding=eucj
+.endif
+
+.if defined(WITH_XFT)
+LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
+CONFIGURE_ARGS+= --enable-xft
+.endif
+
+.if defined(WITH_24BITS)
+CONFIGURE_ARGS+= --enable-24bits
+.endif
+
+.if defined(WITH_MENUBAR)
+CONFIGURE_ARGS+= --enable-menubar
+.endif
+
+.if defined(WITH_TEXTSHADOW)
+CONFIGURE_ARGS+= --enable-text-shadow
+.endif
+
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include" \
+ LIBS="${LIBS} -L${LOCALBASE}/lib -L${X11BASE}/lib"
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/mrxvt ${PREFIX}/bin
+ ${MKDIR} ${PREFIX}/share/pixmaps
+ @for pixmap in ${WRKSRC}/share/pixmaps/* ; \
+ do ${INSTALL_DATA} $$pixmap ${PREFIX}/share/pixmaps/ ; \
+ done
+ ${MKDIR} ${PREFIX}/etc/mrxvt
+ ${INSTALL_DATA} ${WRKSRC}/share/mrxvtrc ${PREFIX}/etc/mrxvt/mrxvtrc.sample
+ ${INSTALL_DATA} ${WRKSRC}/share/default.menu ${PREFIX}/etc/mrxvt/default.menu.sample
+ ${INSTALL_DATA} ${WRKSRC}/share/submenus.menu ${PREFIX}/etc/mrxvt/submenus.menu.sample
+ ${MKDIR} ${EXAMPLESDIR}/scripts
+ ${INSTALL_DATA} ${WRKSRC}/share/scripts/mrxvtset.pl ${EXAMPLESDIR}/scripts
+ ${INSTALL_DATA} ${WRKSRC}/share/scripts/settitle.c ${EXAMPLESDIR}/scripts
+ ${INSTALL_MAN} ${WRKSRC}/doc/mrxvt.1 ${MANPREFIX}/man/man1
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${CP} ${WRKSRC}/doc/*.bz2 ${DOCSDIR}
+ ${BZIP2_CMD} -d ${DOCSDIR}/*.bz2
+.endif
+ @${ECHO_MSG} "======================================================================="
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} " Sample configuration files have been installed to ${PREFIX}/etc/mrxvt"
+ @${ECHO_MSG} " Useful scripts have been installed to ${EXAMPLESDIR}/scripts"
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "======================================================================="
+
+.include <bsd.port.post.mk>
diff --git a/x11/mrxvt-devel/distinfo b/x11/mrxvt-devel/distinfo
new file mode 100644
index 000000000000..eaed9b0dc5df
--- /dev/null
+++ b/x11/mrxvt-devel/distinfo
@@ -0,0 +1,3 @@
+MD5 (mrxvt-0.5.0.tar.gz) = ee0e6f5d7afaddfd399ae174f6adfcef
+SHA256 (mrxvt-0.5.0.tar.gz) = 0c99edffab6293913c40c2d538d6f72059fed28571cf967350bdc87b553fbead
+SIZE (mrxvt-0.5.0.tar.gz) = 592847
diff --git a/x11/mrxvt-devel/files/patch-src-main.c b/x11/mrxvt-devel/files/patch-src-main.c
new file mode 100644
index 000000000000..52ba4111e025
--- /dev/null
+++ b/x11/mrxvt-devel/files/patch-src-main.c
@@ -0,0 +1,11 @@
+--- src/main.c.orig Fri Jul 22 19:42:38 2005
++++ src/main.c Fri Jul 22 19:43:03 2005
+@@ -1568,7 +1568,7 @@
+ void
+ rxvt_set_utf8_property (rxvt_t* r, Atom prop, Window win, const char* str)
+ {
+-#ifdef HAVE_WCHAR_H
++#ifdef HAVE_WCHAR_H && _FreeBSD_version >= 500000
+ wchar_t* ws = rxvt_mbstowcs (str);
+ char* s = rxvt_wcstoutf8 (ws);
+
diff --git a/x11/mrxvt-devel/files/patch-src-strings.c b/x11/mrxvt-devel/files/patch-src-strings.c
new file mode 100644
index 000000000000..3962ba672e09
--- /dev/null
+++ b/x11/mrxvt-devel/files/patch-src-strings.c
@@ -0,0 +1,18 @@
+--- src/strings.c.orig Fri Jul 22 19:49:43 2005
++++ src/strings.c Fri Jul 22 19:50:40 2005
+@@ -44,6 +44,7 @@
+
+ #ifdef HAVE_WCHAR_H
+ /* EXTPROTO */
++#if _FreeBSD_version >= 500000
+ char*
+ rxvt_wcstombs (const wchar_t* str, int len)
+ {
+@@ -70,6 +71,7 @@
+
+ return r;
+ }
++#endif
+
+
+ /* EXTPROTO */
diff --git a/x11/mrxvt-devel/pkg-descr b/x11/mrxvt-devel/pkg-descr
new file mode 100644
index 000000000000..e0bc40f1d108
--- /dev/null
+++ b/x11/mrxvt-devel/pkg-descr
@@ -0,0 +1,13 @@
+Mrxvt (previously named as materm) is a lightweight and powerful
+multi-tabbed X terminal emulator based on the popular rxvt and
+aterm. It implements many useful features seen in some modern X
+terminal emulators, like gnome-terminal and konsole, but keep to
+be lightweight and independent from the GNOME and KDE desktop
+environment. The following are the major features of mrxvt (* are
+new features compared with rxvt, + are enhanced features compared
+with rxvt):
+
+WWW: http://materm.sourceforge.net/
+
+- Lars Engels
+lars.engels@0x20.net
diff --git a/x11/mrxvt-devel/pkg-plist b/x11/mrxvt-devel/pkg-plist
new file mode 100644
index 000000000000..44230c390c6c
--- /dev/null
+++ b/x11/mrxvt-devel/pkg-plist
@@ -0,0 +1,21 @@
+bin/mrxvt
+share/pixmaps/mrxvt-csh.png
+share/pixmaps/mrxvt-csh.xpm
+share/pixmaps/mrxvt-root.png
+share/pixmaps/mrxvt-root.xpm
+share/pixmaps/mrxvt.png
+share/pixmaps/mrxvt.xpm
+%%EXAMPLESDIR%%/scripts/mrxvtset.pl
+%%EXAMPLESDIR%%/scripts/settitle.c
+%%DOCSDIR%%/README.greek
+%%DOCSDIR%%/README.xvt
+%%DOCSDIR%%/hack-mrxvt.txt
+%%DOCSDIR%%/rxvtRef.txt
+%%DOCSDIR%%/README.menu
+%%DOCSDIR%%/behind_mrxvt.txt
+%%DOCSDIR%%/mrxvt_seq.txt
+%%DOCSDIR%%/xterm-ctlseqs.txt
+@dirrmtry share/pixmaps
+@dirrm %%EXAMPLESDIR%%/scripts
+@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%