1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Update to version 0.2.2

PR:		ports/71063
Submitted by:	Ports Fury
This commit is contained in:
Kirill Ponomarev 2004-08-28 07:04:57 +00:00
parent 1787ec7d02
commit 0e7ff75dc0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117493
3 changed files with 23 additions and 27 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= gtkterm2
PORTVERSION= 0.2.1
PORTVERSION= 0.2.2
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= gtkterm
@ -14,27 +14,36 @@ MASTER_SITE_SUBDIR= gtkterm
MAINTAINER= ports@FreeBSD.org
COMMENT= A simple GTK-2 terminal with tabs
USE_LIBTOOL_VER=13
USE_GNOME= gnomeprefix vte lthack
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_GETOPT_LONG=yes
USE_GNOME= gnometarget vte
USE_GETOPT_LONG= yes
USE_REINPLACE= yes
USE_GMAKE= yes
USE_LIBTOOL_VER= 15
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
DATADIR= ${PREFIX}/share/gnome
PORTDOCS= README
PLIST_FILES= bin/gtkterm2 \
share/locale/de/LC_MESSAGES/gtkterm2.mo \
%%DATADIR%%/pixmaps/gtkterm2.png
LCDIR= ${PREFIX}/share/locale/de/LC_MESSAGES
PLIST_DIRS= %%DATADIR%%/pixmaps %%DATADIR%%
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=""||g' ${WRKSRC}/configure
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/src/gtkterm2 ${PREFIX}/bin
@${INSTALL_DATA} ${WRKSRC}/pixmaps/gtkterm2.png ${DATADIR}/pixmaps
@${MKDIR} ${LCDIR}
@${INSTALL_DATA} ${WRKSRC}/po/de.gmo ${LCDIR}/gtkterm2.mo
${INSTALL_PROGRAM} ${WRKSRC}/src/gtkterm2 ${PREFIX}/bin/gtkterm2
${INSTALL_DATA} ${WRKSRC}/po/de.gmo \
${PREFIX}/share/locale/de/LC_MESSAGES/gtkterm2.mo
@${MKDIR} ${DATADIR}/pixmaps
${INSTALL_DATA} ${WRKSRC}/pixmaps/gtkterm2.png \
${DATADIR}/pixmaps/gtkterm2.png
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
.endif
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
MD5 (gtkterm2-0.2.1.tar.gz) = b969fed2d6d57b000ed1efb9a7d2b114
SIZE (gtkterm2-0.2.1.tar.gz) = 294362
MD5 (gtkterm2-0.2.2.tar.gz) = c1b79bd5bd3e73d1eb95b1d8690c2f8d
SIZE (gtkterm2-0.2.2.tar.gz) = 256611

View File

@ -1,13 +0,0 @@
--- intl/dcigettext.c.orig Sat Jun 12 01:13:19 2004
+++ intl/dcigettext.c Sat Jun 12 01:14:54 2004
@@ -987,11 +987,7 @@
p = translation;
while (index-- > 0)
{
-#ifdef _LIBC
p = __rawmemchr (p, '\0');
-#else
- p = strchr (p, '\0');
-#endif
/* And skip over the NUL byte. */
p++;