Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 14:27:34 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333690 - head/games/xfireworks
Message-ID:  <201311131427.rADERY2J059411@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Wed Nov 13 14:27:33 2013
New Revision: 333690
URL: http://svnweb.freebsd.org/changeset/ports/333690

Log:
  - Add stage support

Modified:
  head/games/xfireworks/Makefile
  head/games/xfireworks/pkg-plist

Modified: head/games/xfireworks/Makefile
==============================================================================
--- head/games/xfireworks/Makefile	Wed Nov 13 14:26:49 2013	(r333689)
+++ head/games/xfireworks/Makefile	Wed Nov 13 14:27:33 2013	(r333690)
@@ -15,15 +15,9 @@ LICENSE_COMB=	dual
 
 USE_XORG=	x11
 
-MAN1=		xfireworks.1
-
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/xfireworks ${PREFIX}/bin/xfireworks
-	${INSTALL_MAN} ${WRKSRC}/xfireworks.1 ${MANPREFIX}/man/man1
-	${INSTALL_DATA} ${WRKSRC}/xfireworks.conf ${PREFIX}/etc/xfireworks.conf.sample
-.if !exists(${PREFIX}/etc/xfireworks.conf)
-	${CP} ${PREFIX}/etc/xfireworks.conf.sample ${PREFIX}/etc/xfireworks.conf
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/xfireworks ${STAGEDIR}${PREFIX}/bin/xfireworks
+	${INSTALL_MAN} ${WRKSRC}/xfireworks.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_DATA} ${WRKSRC}/xfireworks.conf ${STAGEDIR}${PREFIX}/etc/xfireworks.conf.sample
 
 .include <bsd.port.mk>

Modified: head/games/xfireworks/pkg-plist
==============================================================================
--- head/games/xfireworks/pkg-plist	Wed Nov 13 14:26:49 2013	(r333689)
+++ head/games/xfireworks/pkg-plist	Wed Nov 13 14:27:33 2013	(r333690)
@@ -1,4 +1,5 @@
 bin/xfireworks
+man/man1/xfireworks.1.gz
 @unexec if cmp -s %D/etc/xfireworks.conf %D/etc/xfireworks.conf.sample; then rm -f %D/etc/xfireworks.conf; fi
 etc/xfireworks.conf.sample
 @exec test -f %B/xfireworks.conf || cp %B/%f %B/xfireworks.conf



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311131427.rADERY2J059411>