- update tgif to 4.2.2

- change maintainer
- regen PLIST and patch

with some tweaks by and ok sthen@, ajacoutot@
This commit is contained in:
benoit 2009-12-19 22:35:28 +00:00
parent 648b05ef6f
commit 9feaa9c0be
5 changed files with 64 additions and 39 deletions

View File

@ -1,38 +1,41 @@
# $OpenBSD: Makefile,v 1.28 2009/08/10 06:31:45 kili Exp $
# $OpenBSD: Makefile,v 1.29 2009/12/19 22:35:28 benoit Exp $
COMMENT= two-dimensional drawing tool and hyper-object browser
COMMENT = two-dimensional drawing tool and hyper-object browser
VERSION= 4.1.45
DISTNAME= tgif-QPL-${VERSION}
PKGNAME= tgif-${VERSION}p2
CATEGORIES= graphics
VERSION = 4.2.2
DISTNAME = tgif-QPL-${VERSION}
PKGNAME = tgif-${VERSION}
CATEGORIES = graphics
MASTER_SITES= ftp://bourbon.usc.edu/pub/tgif/ \
${MASTER_SITE_SOURCEFORGE:=tgif/}
HOMEPAGE = http://bourbon.usc.edu/tgif/
HOMEPAGE= http://bourbon.usc.edu/tgif/
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# Trolltech Q License
PERMIT_PACKAGE_CDROM= yes
PERMIT_PACKAGE_FTP= yes
PERMIT_DISTFILES_CDROM= yes
PERMIT_DISTFILES_FTP= yes
PERMIT_PACKAGE_CDROM = yes
PERMIT_PACKAGE_FTP = yes
PERMIT_DISTFILES_CDROM =yes
PERMIT_DISTFILES_FTP = yes
WANTLIB= X11 Xau Xdmcp Xext c m pthread-stubs xcb
WANTLIB = X11 Xau Xdmcp Xext c m z
RUN_DEPENDS= ::graphics/netpbm
MASTER_SITES = ftp://bourbon.usc.edu/pub/tgif/ \
${MASTER_SITE_SOURCEFORGE:=tgif/}
CONFIGURE_STYLE=imake
USE_X11= Yes
RUN_DEPENDS = ::graphics/netpbm
MAKE_FLAGS= MODULE_CFLAGS="${CFLAGS}"
CONFIGURE_STYLE = imake
USE_X11 = Yes
MAKE_FLAGS = MODULE_CFLAGS="${CFLAGS}"
NO_REGRESS = Yes
post-extract:
@cp -f ${WRKDIR}/${DISTNAME}/Tgif.tmpl-openbsd \
${WRKDIR}/${DISTNAME}/Tgif.tmpl
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tgif
${INSTALL_DATA} ${WRKSRC}/*.obj \

View File

@ -1,5 +1,5 @@
MD5 (tgif-QPL-4.1.45.tar.gz) = XB66gpE4XGMLgJn6mwQkVQ==
RMD160 (tgif-QPL-4.1.45.tar.gz) = 54l3HC+vOYiljpsCYZIX6iVTFG8=
SHA1 (tgif-QPL-4.1.45.tar.gz) = ZSeNj5cU8TCmGXwQQm5RcnE849s=
SHA256 (tgif-QPL-4.1.45.tar.gz) = 8Y1QPLsVkX6VZn+L6Q1sGWYTm4e80JhDGGEpO/piiAw=
SIZE (tgif-QPL-4.1.45.tar.gz) = 2198909
MD5 (tgif-QPL-4.2.2.tar.gz) = jscFU6FSb7buZc1OgVkzYw==
RMD160 (tgif-QPL-4.2.2.tar.gz) = A5kDOckbr9TbE1Knh1xwc26hHCo=
SHA1 (tgif-QPL-4.2.2.tar.gz) = jGtImsmqCanUskWtlrsoKUP+TBs=
SHA256 (tgif-QPL-4.2.2.tar.gz) = c0Bc5390HkdMx7zfcd1VbhxIxw+zY+CkSqYkGBHNUac=
SIZE (tgif-QPL-4.2.2.tar.gz) = 2972242

View File

@ -1,13 +1,13 @@
--- Tgif.tmpl.orig Mon May 5 17:30:58 2003
+++ Tgif.tmpl Mon May 5 17:31:51 2003
@@ -47,7 +47,9 @@ EXTDEFINES = -DEPSF_FILE_EXT=\"eps\" -DP
-DNETLIST_FILE_EXT=\"net\" -DCOMP_FILE_EXT=\"cmp\"
$OpenBSD: patch-Tgif.tmpl,v 1.3 2009/12/19 22:35:31 benoit Exp $
--- Tgif.tmpl.orig Sat Dec 19 09:39:50 2009
+++ Tgif.tmpl Sat Dec 19 09:43:14 2009
@@ -43,7 +43,8 @@
MISCDEFINES = -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT \@@\
-D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP \@@\
- -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\"
+ -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" \@@\
+ -DUSE_XAPPLRESDIR \@@\
+ -DXAPPLOADDIR_DEF=\"$(LIBDIR)/app-defaults\"
-D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\" \@@\
- -D_NO_IDNLIB
+ -D_NO_IDNLIB -DUSE_XAPPLRESDIR \@@\
+ -DXAPPLOADDIR_DEF=\"$(LIBDIR)/app-defaults\"
MOREDEFINES =
XCOMM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

View File

@ -1,11 +1,12 @@
--- tgif.man.orig Thu Jun 3 12:39:14 1999
+++ tgif.man Thu Jun 3 12:39:45 1999
$OpenBSD: patch-tgif.man,v 1.6 2009/12/19 22:35:31 benoit Exp $
--- tgif.man.orig Tue Nov 17 01:57:19 2009
+++ tgif.man Sat Dec 19 09:46:18 2009
@@ -8,7 +8,7 @@
.\"
.\"
.\"
-.TH tgif n "Version 4.1 Patchlevel 45 and Above" "Tgif"
+.TH tgif 1L "Version 4.1 Patchlevel 45 and Above" "Tgif"
-.TH tgif n "Version 4.2 Patchlevel 2 and Above" "Tgif"
+.TH tgif 1L "Version 4.2 Patchlevel 2 and Above" "Tgif"
.\"
.SH NAME
.\"

View File

@ -1,17 +1,38 @@
@comment $OpenBSD: PLIST,v 1.6 2007/02/13 10:12:08 simon Exp $
bin/tgif
@comment $OpenBSD: PLIST,v 1.7 2009/12/19 22:35:34 benoit Exp $
@bin bin/tgif
lib/X11/tgif/
@comment lib/X11/tgif/Copyright
@comment lib/X11/tgif/LICENSE.QPL
lib/X11/tgif/eq4-2x-jpg.sym
lib/X11/tgif/eq4-2x.sym
lib/X11/tgif/eq4-epstool.sym
lib/X11/tgif/eq4-lyx-ps2epsi.sym
lib/X11/tgif/eq4-ps2epsi.sym
lib/X11/tgif/eq4.sym
lib/X11/tgif/eq4jpg.sym
lib/X11/tgif/eq4png.sym
lib/X11/tgif/eq4xpm-land.sym
lib/X11/tgif/eq4xpm.sym
lib/X11/tgif/hicolor/
lib/X11/tgif/hicolor/128x128/
lib/X11/tgif/hicolor/128x128/apps/
lib/X11/tgif/hicolor/128x128/apps/tgificon.png
lib/X11/tgif/hicolor/22x22/
lib/X11/tgif/hicolor/22x22/apps/
lib/X11/tgif/hicolor/22x22/apps/tgificon.png
lib/X11/tgif/hicolor/32x32/
lib/X11/tgif/hicolor/32x32/apps/
lib/X11/tgif/hicolor/32x32/apps/tgificon.png
lib/X11/tgif/hicolor/48x48/
lib/X11/tgif/hicolor/48x48/apps/
lib/X11/tgif/hicolor/48x48/apps/tgificon.png
lib/X11/tgif/hicolor/64x64/
lib/X11/tgif/hicolor/64x64/apps/
lib/X11/tgif/hicolor/64x64/apps/tgificon.png
lib/X11/tgif/keys.obj
lib/X11/tgif/tangram.sym
lib/X11/tgif/tgif.Xdefaults
lib/X11/tgif/tgif.gif
lib/X11/tgif/tgificon.eps
lib/X11/tgif/tgificon.obj
lib/X11/tgif/tgificon.xbm