Bug 185925 - [PATCH] graphics/tgif update to 4.2.5
Summary: [PATCH] graphics/tgif update to 4.2.5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-20 14:20 UTC by Eero Hänninen
Modified: 2014-02-15 16:30 UTC (History)
0 users

See Also:


Attachments
file.diff (3.81 KB, patch)
2014-01-20 14:20 UTC, Eero Hänninen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eero Hänninen 2014-01-20 14:20:00 UTC
- update to version 4.2.5
- added LICENSE
- Support STAGEDIR

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-20 14:20:07 UTC
Maintainer of graphics/tgif,

Please note that PR ports/185925 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/185925

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-20 14:20:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Pawel Pekala freebsd_committer freebsd_triage 2014-02-15 15:59:33 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-02-15 16:21:31 UTC
Author: pawel
Date: Sat Feb 15 16:21:22 2014
New Revision: 344424
URL: http://svnweb.freebsd.org/changeset/ports/344424
QAT: https://qat.redports.org/buildarchive/r344424/

Log:
  - Update to version 4.2.5 [1]
  - Add LICENSE [1]
  - Support stage [1]
  - Remove leading article from COMMENT
  - PTHREAD_CFLAGS is null, don't use it
  - Remove info about author from pkg-descr, it's available
    in program's Help->About menu
  
  PR:		ports/185925 [1]
  Submitted by:	Eero Hanninen <fax@nohik.ee>
  Approved by:	maintainer timeout

Modified:
  head/graphics/tgif/Makefile
  head/graphics/tgif/distinfo
  head/graphics/tgif/files/patch-tgif.man
  head/graphics/tgif/pkg-descr
  head/graphics/tgif/pkg-plist

Modified: head/graphics/tgif/Makefile
==============================================================================
--- head/graphics/tgif/Makefile	Sat Feb 15 16:20:07 2014	(r344423)
+++ head/graphics/tgif/Makefile	Sat Feb 15 16:21:22 2014	(r344424)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	tgif
-PORTVERSION=	4.2.2
-PORTREVISION=	1
+PORTVERSION=	4.2.5
 CATEGORIES=	graphics
 MASTER_SITES=	ftp://bourbon.usc.edu/pub/tgif/ \
 		http://groups.yahoo.com/group/tgif4-announce/files/ \
@@ -11,7 +10,12 @@ MASTER_SITES=	ftp://bourbon.usc.edu/pub/
 DISTNAME=	${PORTNAME}-QPL-${PORTVERSION}
 
 MAINTAINER=	bmc@clapper.org
-COMMENT=	An Xlib-based two-dimensional drawing tool and hyper-object browser
+COMMENT=	Xlib-based two-dimensional drawing tool and hyper-object browser
+
+LICENSE=	QPLv1
+LICENSE_NAME=	Q PUBLIC LICENSE v1.0
+LICENSE_FILE=	${WRKSRC}/LICENSE.QPL
+LICENSE_PERMS=	auto-accept
 
 RUN_DEPENDS=	giftopnm:${PORTSDIR}/graphics/netpbm
 
@@ -22,11 +26,7 @@ USES=		imake
 PORTDOCS=	HISTORY README
 USE_XORG=	x11 xext xt sm ice
 MAKE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}"
-CFLAGS+=	${PTHREAD_CFLAGS}
-
-MAN1=		tgif.1
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MNLS}
@@ -57,13 +57,11 @@ pre-configure:
 		) > ${WRKSRC}/Tgif.tmpl-freebsdports
 post-install:
 .for D in demo spice
-		${MKDIR} ${EXAMPLESDIR}/${D}
+		${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${D}
 		cd ${WRKSRC}/${D:S/demo//} \
-			&& ${INSTALL_DATA} ${EXAMPLES.${D}} ${EXAMPLESDIR}/${D}
+			&& ${INSTALL_DATA} ${EXAMPLES.${D}} ${STAGEDIR}${EXAMPLESDIR}/${D}
 .endfor
-.if ${PORT_OPTIONS:MDOCS}
-		${MKDIR} ${DOCSDIR}
-		cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+		${MKDIR} ${STAGEDIR}${DOCSDIR}
+		cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/graphics/tgif/distinfo
==============================================================================
--- head/graphics/tgif/distinfo	Sat Feb 15 16:20:07 2014	(r344423)
+++ head/graphics/tgif/distinfo	Sat Feb 15 16:21:22 2014	(r344424)
@@ -1,2 +1,2 @@
-SHA256 (tgif-QPL-4.2.2.tar.gz) = 73405ce77f741e474cc7bcdf71dd556e1c48c70fb363e0a44aa6241811cd51a7
-SIZE (tgif-QPL-4.2.2.tar.gz) = 2972242
+SHA256 (tgif-QPL-4.2.5.tar.gz) = 2f24e9fecafae6e671739bd80691a06c9d032bdd1973ca164823e72ab1c567ba
+SIZE (tgif-QPL-4.2.5.tar.gz) = 3093619

Modified: head/graphics/tgif/files/patch-tgif.man
==============================================================================
--- head/graphics/tgif/files/patch-tgif.man	Sat Feb 15 16:20:07 2014	(r344423)
+++ head/graphics/tgif/files/patch-tgif.man	Sat Feb 15 16:21:22 2014	(r344424)
@@ -4,8 +4,8 @@
  .\"
  .\"
  .\"
--.TH tgif n "Version 4.2 Patchlevel 2 and Above" "Tgif"
-+.TH tgif 1L "Version 4.2 Patchlevel 2 and Above" "Tgif"
+-.TH tgif n "Version 4.2 Patchlevel 3 and Above" "Tgif"
++.TH tgif 1L "Version 4.2 Patchlevel 3 and Above" "Tgif"
  .\"
  .SH NAME
  .\"

Modified: head/graphics/tgif/pkg-descr
==============================================================================
--- head/graphics/tgif/pkg-descr	Sat Feb 15 16:20:07 2014	(r344423)
+++ head/graphics/tgif/pkg-descr	Sat Feb 15 16:21:22 2014	(r344424)
@@ -10,10 +10,4 @@ encapsulated PostScript and XBM.
 Version 4 has a completely revamped 3-D user interface, as well as a host
 of new features.
 
-Tgif depends on the `netpbm' package, available from the `ports'
-collection.
-
-Tgif is written, maintained and enhanced by
-William Chia-Wei Cheng (bill.cheng@acm.org)
-
 WWW: http://bourbon.usc.edu:8001/tgif/

Modified: head/graphics/tgif/pkg-plist
==============================================================================
--- head/graphics/tgif/pkg-plist	Sat Feb 15 16:20:07 2014	(r344423)
+++ head/graphics/tgif/pkg-plist	Sat Feb 15 16:21:22 2014	(r344424)
@@ -25,6 +25,7 @@ lib/X11/tgif/tangram.sym
 lib/X11/tgif/eq4.sym
 lib/X11/tgif/eq4-2x.sym
 lib/X11/tgif/eq4-2x-jpg.sym
+lib/X11/tgif/eq4-2x-nowin-jpg.sym
 lib/X11/tgif/eq4-ps2epsi.sym
 lib/X11/tgif/eq4-epstool.sym
 lib/X11/tgif/eq4xpm.sym
@@ -36,6 +37,7 @@ lib/X11/tgif/keys.obj
 lib/X11/tgif/Copyright
 lib/X11/tgif/LICENSE.QPL
 @dirrm lib/X11/tgif
+man/man1/tgif.1.gz
 %%EXAMPLESDIR%%/demo/an-sr-flip-flop.obj
 %%EXAMPLESDIR%%/demo/example.tex
 %%EXAMPLESDIR%%/demo/fonts.obj
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Pawel Pekala freebsd_committer freebsd_triage 2014-02-15 16:21:42 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!