Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2014 13:26:12 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342285 - head/deskutils/ljit
Message-ID:  <201402021326.s12DQCKr052021@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Feb  2 13:26:12 2014
New Revision: 342285
URL: http://svnweb.freebsd.org/changeset/ports/342285
QAT: https://qat.redports.org/buildarchive/r342285/

Log:
  Stage support

Modified:
  head/deskutils/ljit/Makefile

Modified: head/deskutils/ljit/Makefile
==============================================================================
--- head/deskutils/ljit/Makefile	Sun Feb  2 13:19:05 2014	(r342284)
+++ head/deskutils/ljit/Makefile	Sun Feb  2 13:26:12 2014	(r342285)
@@ -25,18 +25,17 @@ USE_GNOME=	gtk20
 PLIST_FILES=	bin/ljit share/locale/ru/LC_MESSAGES/ljit.mo
 PORTDOCS=	BUGS NEWS README THANKS TODO
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 post-extract:
 	@${REINPLACE_CMD} -e 's, -DMTRACE$$,, ; \
 		s,prefix)/$$(DATADIRNAME,datadir,' ${WRKSRC}/src/Makefile.in
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/po/ru_RU.mo \
-		${PREFIX}/share/locale/ru/LC_MESSAGES/${PORTNAME}.mo
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+		${STAGEDIR}${PREFIX}/share/locale/ru/LC_MESSAGES/${PORTNAME}.mo
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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