From 618ef898cc04c52ed9bd605d65632d5cd0dd9694 Mon Sep 17 00:00:00 2001 From: Sergey Matveychuk Date: Sat, 19 Nov 2005 19:48:05 +0000 Subject: [PATCH] - Add SHA256 ggiterm port: - Don't use gmake - Install ggitem.termcap and add message about it - Utilize DATADIR - Bump PORTREVISION PR: ports/89280 Submitted by: Antoine Brodin (maintainer) --- deskutils/py-dosage/distinfo | 1 + devel/libgii/distinfo | 1 + devel/libgiigic/distinfo | 1 + graphics/libggi/distinfo | 1 + graphics/libggigcp/distinfo | 1 + graphics/libggimisc/distinfo | 1 + graphics/libggiwmh/distinfo | 1 + x11/ggiterm/Makefile | 6 ++++-- x11/ggiterm/distinfo | 1 + x11/ggiterm/files/pkg-message.in | 5 +++++ x11/ggiterm/pkg-plist | 7 ++++--- 11 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 x11/ggiterm/files/pkg-message.in diff --git a/deskutils/py-dosage/distinfo b/deskutils/py-dosage/distinfo index b3c398c26419..fa121b08b9c8 100644 --- a/deskutils/py-dosage/distinfo +++ b/deskutils/py-dosage/distinfo @@ -1,2 +1,3 @@ MD5 (dosage-1.5.5.tar.gz) = 896a59512e170db697ad78016b1cf59f +SHA256 (dosage-1.5.5.tar.gz) = f9623344462d4932f47dc49108d0dba192e4664cd6793a747ded3eae3dec3b22 SIZE (dosage-1.5.5.tar.gz) = 55960 diff --git a/devel/libgii/distinfo b/devel/libgii/distinfo index 8cfc48a7232d..1f53be7bf6f5 100644 --- a/devel/libgii/distinfo +++ b/devel/libgii/distinfo @@ -1,2 +1,3 @@ MD5 (libgii-0.9.2.src.tar.bz2) = cf85e55eb420ecbbbf901dde98b5877a +SHA256 (libgii-0.9.2.src.tar.bz2) = f2fd01fd84faf3c8e706f647bce7422b9a01973faacd1e19d20a95a9221ec466 SIZE (libgii-0.9.2.src.tar.bz2) = 507151 diff --git a/devel/libgiigic/distinfo b/devel/libgiigic/distinfo index 88489f49774c..efd62d2b2dcd 100644 --- a/devel/libgiigic/distinfo +++ b/devel/libgiigic/distinfo @@ -1,2 +1,3 @@ MD5 (libgiigic-1.0.1.src.tar.bz2) = ab294c824a58bc6b2a73428f19540a53 +SHA256 (libgiigic-1.0.1.src.tar.bz2) = c36efce9e1213c86784c2ca8ebd75ee455d8d3430f21e7e6feb2d96167ac6583 SIZE (libgiigic-1.0.1.src.tar.bz2) = 297519 diff --git a/graphics/libggi/distinfo b/graphics/libggi/distinfo index d590ad468261..3e6c7b5211d5 100644 --- a/graphics/libggi/distinfo +++ b/graphics/libggi/distinfo @@ -1,2 +1,3 @@ MD5 (libggi-2.1.2.src.tar.bz2) = f29e844011425ab14706e31a4cdee181 +SHA256 (libggi-2.1.2.src.tar.bz2) = 8e28a68e7f83a88d7ffec0aa8cb3115322ab0d9eb347b6cba34b040b734b767e SIZE (libggi-2.1.2.src.tar.bz2) = 927254 diff --git a/graphics/libggigcp/distinfo b/graphics/libggigcp/distinfo index c854876b0d2f..0f6e877f331f 100644 --- a/graphics/libggigcp/distinfo +++ b/graphics/libggigcp/distinfo @@ -1,2 +1,3 @@ MD5 (libggigcp-0.9.2.src.tar.bz2) = b99ae02ec479ca9eaf295a97e2789d43 +SHA256 (libggigcp-0.9.2.src.tar.bz2) = 7715d3fcc114b9dd9b4f20fbcd1c085e64dfb88375c20a13dff80b8f4da92085 SIZE (libggigcp-0.9.2.src.tar.bz2) = 271046 diff --git a/graphics/libggimisc/distinfo b/graphics/libggimisc/distinfo index f03ce85a6b4d..aab8a2f61a30 100644 --- a/graphics/libggimisc/distinfo +++ b/graphics/libggimisc/distinfo @@ -1,2 +1,3 @@ MD5 (libggimisc-2.1.2.src.tar.bz2) = ab3d4091f8a1eeee0d0ff94780459a38 +SHA256 (libggimisc-2.1.2.src.tar.bz2) = 0063544483d3248194d64b2534d7e0d86d8edee2d4a62abd1e95b3c0a2eee562 SIZE (libggimisc-2.1.2.src.tar.bz2) = 225030 diff --git a/graphics/libggiwmh/distinfo b/graphics/libggiwmh/distinfo index 52af9424d84c..6508343833a0 100644 --- a/graphics/libggiwmh/distinfo +++ b/graphics/libggiwmh/distinfo @@ -1,2 +1,3 @@ MD5 (libggiwmh-0.2.2.src.tar.bz2) = 42f51c7496508f17d524ea1f9b10a0e0 +SHA256 (libggiwmh-0.2.2.src.tar.bz2) = fc93cd881658cd2bcae445a9eea97d6cae1bef0a59ba89fda789339b1f367a3f SIZE (libggiwmh-0.2.2.src.tar.bz2) = 216375 diff --git a/x11/ggiterm/Makefile b/x11/ggiterm/Makefile index 93cd2d88dfe2..8d92d53cf58d 100644 --- a/x11/ggiterm/Makefile +++ b/x11/ggiterm/Makefile @@ -7,6 +7,7 @@ PORTNAME= ggiterm PORTVERSION= 0.7.1 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ggiterm @@ -17,13 +18,12 @@ COMMENT= A terminal emulator for GGI LIB_DEPENDS= ggi.2:${PORTSDIR}/graphics/libggi -USE_GMAKE= yes - GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ggi-prefix=${LOCALBASE} CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}" WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +SUB_FILES= pkg-message OPTIONS= FREETYPE "Build with Freetype support" on @@ -40,10 +40,12 @@ CONFIGURE_ARGS+=--without-freetype MAN1= ggiterm.1 post-install: + @${INSTALL_DATA} ${WRKSRC}/ggiterm.termcap ${DATADIR} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif + @${CAT} ${PKGMESSAGE} .include diff --git a/x11/ggiterm/distinfo b/x11/ggiterm/distinfo index 1db4437afb4a..2700dc85f2e5 100644 --- a/x11/ggiterm/distinfo +++ b/x11/ggiterm/distinfo @@ -1,2 +1,3 @@ MD5 (ggiterm-0.7.1.tar.gz) = 4a70de30a012a29c2ba2411ddbd4974d +SHA256 (ggiterm-0.7.1.tar.gz) = 4e64119bc5acee858d6813cb07b3220833418643eb7dbf4f1dfadc7be5f4ab3e SIZE (ggiterm-0.7.1.tar.gz) = 380467 diff --git a/x11/ggiterm/files/pkg-message.in b/x11/ggiterm/files/pkg-message.in new file mode 100644 index 000000000000..fabdc3e54eeb --- /dev/null +++ b/x11/ggiterm/files/pkg-message.in @@ -0,0 +1,5 @@ +------------------------------------------------------------------ +In order to use the terminal capabilities from ggiterm, +you must set the environment variable TERMPATH to +%%DATADIR%%/ggiterm.termcap:/etc/termcap +------------------------------------------------------------------ diff --git a/x11/ggiterm/pkg-plist b/x11/ggiterm/pkg-plist index dc57ba68482d..1f54589d7c42 100644 --- a/x11/ggiterm/pkg-plist +++ b/x11/ggiterm/pkg-plist @@ -1,7 +1,8 @@ bin/ggiterm %%DOCSDIR%%/AUTHORS %%DOCSDIR%%/README -share/ggiterm/ggiterm.png -share/ggiterm/ggiterm.svg +%%DATADIR%%/ggiterm.png +%%DATADIR%%/ggiterm.svg +%%DATADIR%%/ggiterm.termcap @dirrm %%DOCSDIR%% -@dirrm share/ggiterm +@dirrm %%DATADIR%%