aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-02-02 21:26:12 +0800
committerantoine <antoine@FreeBSD.org>2014-02-02 21:26:12 +0800
commit55b756dd1089b1eab07f20e4c8b3e6ea2ae38293 (patch)
tree2e666af124df78f7413a33e4973331c7c6d74985 /deskutils
parent911f7556c90493135df034f74bcc2902ed8c9a12 (diff)
downloadfreebsd-ports-gnome-55b756dd1089b1eab07f20e4c8b3e6ea2ae38293.tar.gz
freebsd-ports-gnome-55b756dd1089b1eab07f20e4c8b3e6ea2ae38293.tar.zst
freebsd-ports-gnome-55b756dd1089b1eab07f20e4c8b3e6ea2ae38293.zip
Stage support
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/ljit/Makefile13
1 files 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 <bsd.port.mk>