mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
x11/mrxvt: Refactor
- Add LICENSE GPLv2 - Change to USES=localbase - Add description for JAPANESE OPTION - Convert post-install target to @ keywork - make patches make-makepatch compatible - Take MAINTAINERSHIP
This commit is contained in:
parent
0a9cb44345
commit
eacbf30357
5 changed files with 26 additions and 25 deletions
|
@ -4,27 +4,23 @@ PORTREVISION= 10
|
||||||
CATEGORIES= x11
|
CATEGORIES= x11
|
||||||
MASTER_SITES= SF/materm/${PORTNAME}%20source/${PORTVERSION}
|
MASTER_SITES= SF/materm/${PORTNAME}%20source/${PORTVERSION}
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= bofh@FreeBSD.org
|
||||||
COMMENT= Tabbed version of rxvt
|
COMMENT= Tabbed version of rxvt
|
||||||
WWW= http://materm.sourceforge.net/
|
WWW= http://materm.sourceforge.net/
|
||||||
|
|
||||||
|
LICENSE= GPLv2
|
||||||
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||||
|
|
||||||
LIB_DEPENDS= libpng.so:graphics/png
|
LIB_DEPENDS= libpng.so:graphics/png
|
||||||
|
|
||||||
CONFLICTS= mrxvt-0.5.*
|
USES= cpe jpeg localbase tar:tgz xorg
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
|
||||||
CONFIGURE_ARGS= --disable-lastlog --disable-wtmp
|
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
|
||||||
LIBS+= -L${LOCALBASE}/lib
|
|
||||||
USES= cpe jpeg tar:tgz xorg
|
|
||||||
CPE_VENDOR= ${PORTNAME}_project
|
CPE_VENDOR= ${PORTNAME}_project
|
||||||
USE_XORG= x11
|
USE_XORG= x11
|
||||||
|
|
||||||
OPTIONS_DEFINE= DOCS JAPANESE XFT
|
GNU_CONFIGURE= yes
|
||||||
|
CONFIGURE_ARGS= --disable-lastlog --disable-wtmp
|
||||||
|
|
||||||
JAPANESE_CONFIGURE_ON= --enable-xim --enable-cjk --with-encoding=eucj
|
CONFLICTS= mrxvt-0.5.*
|
||||||
XFT_LIB_DEPENDS= libXft.so:x11-fonts/libXft
|
|
||||||
XFT_CONFIGURE_ENABLE= xft
|
|
||||||
|
|
||||||
PORTDOCS= TIPS \
|
PORTDOCS= TIPS \
|
||||||
README.greek \
|
README.greek \
|
||||||
|
@ -35,6 +31,14 @@ PORTDOCS= TIPS \
|
||||||
mrxvt.vbs \
|
mrxvt.vbs \
|
||||||
mrxvtset.pl
|
mrxvtset.pl
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS JAPANESE XFT
|
||||||
|
|
||||||
|
JAPANESE_DESC= Japanese Language support
|
||||||
|
|
||||||
|
JAPANESE_CONFIGURE_ON= --enable-xim --enable-cjk --with-encoding=eucj
|
||||||
|
XFT_LIB_DEPENDS= libXft.so:x11-fonts/libXft
|
||||||
|
XFT_CONFIGURE_ENABLE= xft
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MXFT} && ${PORT_OPTIONS:MJAPANESE}
|
.if ${PORT_OPTIONS:MXFT} && ${PORT_OPTIONS:MJAPANESE}
|
||||||
|
@ -49,7 +53,4 @@ CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv_open=no
|
||||||
CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv_open=yes
|
CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv_open=yes
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-install:
|
|
||||||
${CHMOD} 4511 ${STAGEDIR}${PREFIX}/bin/mrxvt
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- src/logging.c.orig 2010-01-15 17:27:05.000000000 +0100
|
--- src/logging.c.orig 2004-11-11 00:20:28 UTC
|
||||||
+++ src/logging.c 2010-01-15 17:29:39.000000000 +0100
|
+++ src/logging.c
|
||||||
@@ -114,14 +114,22 @@
|
@@ -114,14 +114,22 @@ rxvt_makeutent(rxvt_t *r, int page, const char *pty, c
|
||||||
if (!STRNCMP(pty, "/dev/", 5))
|
if (!STRNCMP(pty, "/dev/", 5))
|
||||||
pty += 5; /* skip /dev/ prefix */
|
pty += 5; /* skip /dev/ prefix */
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- src/main.c.orig Fri Jul 22 19:42:38 2005
|
--- src/main.c.orig 2005-08-31 05:30:41 UTC
|
||||||
+++ src/main.c Fri Jul 22 19:43:03 2005
|
+++ src/main.c
|
||||||
@@ -1568,7 +1568,7 @@
|
@@ -1568,7 +1568,7 @@ rxvt_set_utf8_property (rxvt_t* r, Atom prop, Window w
|
||||||
void
|
void
|
||||||
rxvt_set_utf8_property (rxvt_t* r, Atom prop, Window win, const char* str)
|
rxvt_set_utf8_property (rxvt_t* r, Atom prop, Window win, const char* str)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
--- src/strings.c.orig Fri Jul 22 19:49:43 2005
|
--- src/strings.c.orig 2005-03-21 00:42:08 UTC
|
||||||
+++ src/strings.c Fri Jul 22 19:50:40 2005
|
+++ src/strings.c
|
||||||
@@ -44,6 +44,7 @@
|
@@ -44,6 +44,7 @@
|
||||||
|
|
||||||
#ifdef HAVE_WCHAR_H
|
#ifdef HAVE_WCHAR_H
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
char*
|
char*
|
||||||
rxvt_wcstombs (const wchar_t* str, int len)
|
rxvt_wcstombs (const wchar_t* str, int len)
|
||||||
{
|
{
|
||||||
@@ -70,6 +71,7 @@
|
@@ -70,6 +71,7 @@ rxvt_wcstombs (const wchar_t* str, int len)
|
||||||
|
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
bin/mrxvt
|
@(,,4511) bin/mrxvt
|
||||||
man/man1/mrxvt.1.gz
|
man/man1/mrxvt.1.gz
|
||||||
share/pixmaps/mrxvt-csh.png
|
share/pixmaps/mrxvt-csh.png
|
||||||
share/pixmaps/mrxvt-csh.xpm
|
share/pixmaps/mrxvt-csh.xpm
|
||||||
|
|
Loading…
Add table
Reference in a new issue