Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2014 16:44:19 +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: r351005 - head/games/editss
Message-ID:  <201404111644.s3BGiJho037091@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Apr 11 16:44:18 2014
New Revision: 351005
URL: http://svnweb.freebsd.org/changeset/ports/351005
QAT: https://qat.redports.org/buildarchive/r351005/

Log:
  Add staging support

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

Modified: head/games/editss/Makefile
==============================================================================
--- head/games/editss/Makefile	Fri Apr 11 16:36:28 2014	(r351004)
+++ head/games/editss/Makefile	Fri Apr 11 16:44:18 2014	(r351005)
@@ -14,20 +14,18 @@ COMMENT=	Editor for XPilot shipshapes
 USES=		imake
 USE_XORG=	x11 xaw xmu xt
 ALL_TARGET=	editss
-MAN6=		editss.6
-NO_INSTALL_MANPAGES=	yes
+
 SUB_FILES=	editss
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|xxpms/ships2|.xpilot-shipshapes|' \
 		${WRKSRC}/editssrc
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKDIR}/editss ${PREFIX}/bin/editss
-	${INSTALL_PROGRAM} ${WRKSRC}/editss ${PREFIX}/libexec
-	${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/editssrc ${WRKSRC}/ships ${DATADIR}
-	${INSTALL_MAN} ${WRKSRC}/editss.6 ${MANPREFIX}/man/man6
+	${INSTALL_SCRIPT} ${WRKDIR}/editss ${STAGEDIR}${PREFIX}/bin/editss
+	${INSTALL_PROGRAM} ${WRKSRC}/editss ${STAGEDIR}${PREFIX}/libexec
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/editssrc ${WRKSRC}/ships ${STAGEDIR}${DATADIR}
+	${INSTALL_MAN} ${WRKSRC}/editss.6 ${STAGEDIR}${MANPREFIX}/man/man6
 
 .include <bsd.port.mk>

Modified: head/games/editss/pkg-plist
==============================================================================
--- head/games/editss/pkg-plist	Fri Apr 11 16:36:28 2014	(r351004)
+++ head/games/editss/pkg-plist	Fri Apr 11 16:44:18 2014	(r351005)
@@ -1,5 +1,6 @@
 bin/editss
 libexec/editss
+man/man6/editss.6.gz
 %%DATADIR%%/editssrc
 %%DATADIR%%/ships
 @dirrm %%DATADIR%%



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