svn commit: r352449 - head/graphics/jgraph

Pawel Pekala pawel at FreeBSD.org
Sun Apr 27 19:07:53 UTC 2014


Author: pawel
Date: Sun Apr 27 19:07:52 2014
New Revision: 352449
URL: http://svnweb.freebsd.org/changeset/ports/352449
QAT: https://qat.redports.org/buildarchive/r352449/

Log:
  Add staging support

Modified:
  head/graphics/jgraph/Makefile
  head/graphics/jgraph/pkg-plist

Modified: head/graphics/jgraph/Makefile
==============================================================================
--- head/graphics/jgraph/Makefile	Sun Apr 27 18:55:29 2014	(r352448)
+++ head/graphics/jgraph/Makefile	Sun Apr 27 19:07:52 2014	(r352449)
@@ -16,12 +16,12 @@ EXTRACT_BEFORE_ARGS=	-c
 EXTRACT_AFTER_ARGS=	| ${SH}
 
 NO_WRKSUBDIR=	yes
-MAN1=		jgraph.1
 MAKEFILE=	makefile
-
 MAKE_ENV+=	DATADIR=${DATADIR}
-
 CFLAGS+=	-Wno-return-type
 
-NO_STAGE=	yes
+post-patch:
+	@${REINPLACE_CMD} -E -e 's,(PREFIX|DATADIR)},DESTDIR}$${&,' \
+		-e 's|-o bin -g bin||' ${WRKSRC}/makefile
+
 .include <bsd.port.mk>

Modified: head/graphics/jgraph/pkg-plist
==============================================================================
--- head/graphics/jgraph/pkg-plist	Sun Apr 27 18:55:29 2014	(r352448)
+++ head/graphics/jgraph/pkg-plist	Sun Apr 27 19:07:52 2014	(r352449)
@@ -1,4 +1,5 @@
 bin/jgraph
+man/man1/jgraph.1.gz
 %%DATADIR%%/acc.jgr
 %%DATADIR%%/ad.jgr
 %%DATADIR%%/alb.jgr


More information about the svn-ports-head mailing list