From 55b756dd1089b1eab07f20e4c8b3e6ea2ae38293 Mon Sep 17 00:00:00 2001 From: antoine Date: Sun, 2 Feb 2014 13:26:12 +0000 Subject: Stage support --- deskutils/ljit/Makefile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'deskutils') 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 -- cgit