From 0fd81ba7c77d2de8bf70ef70652756891dd82c2d Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Sun, 2 Feb 2014 13:26:12 +0000 Subject: [PATCH] Stage support --- deskutils/ljit/Makefile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/deskutils/ljit/Makefile b/deskutils/ljit/Makefile index f81cb0f70811..ebd7c0ef6774 100644 --- a/deskutils/ljit/Makefile +++ b/deskutils/ljit/Makefile @@ -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