Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 2014 13:44:05 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363901 - head/sysutils/xlogmaster
Message-ID:  <53de3ca5.505c.1a7524fd@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sun Aug  3 13:44:05 2014
New Revision: 363901
URL: http://svnweb.freebsd.org/changeset/ports/363901
QAT: https://qat.redports.org/buildarchive/r363901/

Log:
  Add staging support

Modified:
  head/sysutils/xlogmaster/Makefile
  head/sysutils/xlogmaster/pkg-plist

Modified: head/sysutils/xlogmaster/Makefile
==============================================================================
--- head/sysutils/xlogmaster/Makefile	Sun Aug  3 13:22:52 2014	(r363900)
+++ head/sysutils/xlogmaster/Makefile	Sun Aug  3 13:44:05 2014	(r363901)
@@ -14,18 +14,19 @@ USE_GNOME=	gtk12
 USES=		gmake makeinfo
 GNU_CONFIGURE=	yes
 
-MAN1=		xlogmaster.1
 INFO=		xlogmaster
 
 CPPFLAGS+=	-I${LOCALBASE}/include -DHAVE_DECL_GETOPT
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-NO_STAGE=	yes
 post-patch:
+	@${FIND} ${WRKSRC} -name Makefile.in -exec ${REINPLACE_CMD} -E \
+	'/(SHELL|cp -f|mkinstalldirs)/ s,XLM_(DB|HOME|LIB),DESTDIR)$$(&,g' {} \;
 	@${REINPLACE_CMD} -e \
 		's|getopt_long_only|getopt_long|g' ${WRKSRC}/src/xlogmaster.cc
 
 post-install:
-	${INSTALL_DATA} ${FILESDIR}/xlogmasterrc ${PREFIX}/etc/xlogmaster
+	${INSTALL_DATA} ${FILESDIR}/xlogmasterrc \
+		${STAGEDIR}${PREFIX}/etc/xlogmaster
 
 .include <bsd.port.mk>

Modified: head/sysutils/xlogmaster/pkg-plist
==============================================================================
--- head/sysutils/xlogmaster/pkg-plist	Sun Aug  3 13:22:52 2014	(r363900)
+++ head/sysutils/xlogmaster/pkg-plist	Sun Aug  3 13:44:05 2014	(r363901)
@@ -28,6 +28,7 @@ etc/xlogmaster/sound/uniconify
 etc/xlogmaster/steelblue.gtkrc
 etc/xlogmaster/xlogmaster.gtkrc
 etc/xlogmaster/xlogmasterrc
+man/man1/xlogmaster.1.gz
 @dirrm etc/xlogmaster/database
 @dirrm etc/xlogmaster/output-plugins
 @dirrm etc/xlogmaster/scripts



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53de3ca5.505c.1a7524fd>