Bug 183607 - [maintainer][patch] math/ggobi: stagedir support
Summary: [maintainer][patch] math/ggobi: stagedir support
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: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-03 09:10 UTC by Rainer Hurling
Modified: 2013-11-04 17:50 UTC (History)
0 users

See Also:


Attachments
file.diff (1020 bytes, patch)
2013-11-03 09:10 UTC, Rainer Hurling
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Hurling freebsd_committer freebsd_triage 2013-11-03 09:10:00 UTC
Changes to support STAGEDIR.

Fix: I am not 100% sure, that all is done the right way in post-install.


Patch attached with submission follows:
Comment 1 William Grzybowski freebsd_committer freebsd_triage 2013-11-03 18:42:42 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wg

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-11-04 17:43:55 UTC
Author: wg
Date: Mon Nov  4 17:43:48 2013
New Revision: 332750
URL: http://svnweb.freebsd.org/changeset/ports/332750

Log:
  math/ggobi: allow staging
  
  PR:		ports/183607
  Submitted by:	maintainer

Modified:
  head/math/ggobi/Makefile

Modified: head/math/ggobi/Makefile
==============================================================================
--- head/math/ggobi/Makefile	Mon Nov  4 17:26:43 2013	(r332749)
+++ head/math/ggobi/Makefile	Mon Nov  4 17:43:48 2013	(r332750)
@@ -21,7 +21,6 @@ CONFIGURE_ARGS+=	--with-all-plugins
 
 ALL_TARGET=	all ggobirc
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|ND_coord_i|ND_coord|' \
 		${WRKSRC}/plugins/GraphLayout/graphviz.c
@@ -41,10 +40,7 @@ post-configure:
 		${WRKSRC}/plugins/GraphLayout/Makefile
 
 post-install:
-	${MKDIR} ${PREFIX}/etc/xdg/ggobi
-	${INSTALL_DATA} ${WRKSRC}/ggobirc ${PREFIX}/etc/xdg/ggobi/ggobirc.sample
-	@if [ ! -f ${PREFIX}/etc/xdg/ggobi/ggobirc ]; then \
-		${CP} -p ${PREFIX}/etc/xdg/ggobi/ggobirc.sample ${PREFIX}/etc/xdg/ggobi/ggobirc ; \
-	fi
+	${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/ggobi
+	${INSTALL_DATA} ${WRKSRC}/ggobirc ${STAGEDIR}${PREFIX}/etc/xdg/ggobi/ggobirc.sample
 
 .include <bsd.port.mk>
_______________________________________________
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 3 William Grzybowski freebsd_committer freebsd_triage 2013-11-04 17:47:42 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!