svn commit: r363901 - head/sysutils/xlogmaster
Pawel Pekala
pawel at FreeBSD.org
Sun Aug 3 13:44:06 UTC 2014
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
More information about the svn-ports-all
mailing list