Stagify.
Approved by: portmgr@ (blanket approval)
This commit is contained in:
parent
94320d61c6
commit
57acaa4896
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360127
2 changed files with 22 additions and 3 deletions
|
@ -22,13 +22,12 @@ PLIST_FILES= bin/fluxbare bin/fluxconf bin/fluxkeys bin/fluxmenu \
|
|||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${STAGEDIR}${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
20
x11-wm/fluxconf/files/patch-src-Makefile.in
Normal file
20
x11-wm/fluxconf/files/patch-src-Makefile.in
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- src/Makefile.in.orig 2014-07-02 09:52:27.339956716 +0800
|
||||
+++ src/Makefile.in 2014-07-02 09:53:51.070931248 +0800
|
||||
@@ -645,12 +645,12 @@ uninstall-info: uninstall-info-recursive
|
||||
#fluxkeys: fluxconf
|
||||
# ln -sf fluxconf fluxkeys
|
||||
install-exec-hook:
|
||||
- @ln -sf $(bindir)/fluxconf $(bindir)/fluxkeys
|
||||
- @ln -sf $(bindir)/fluxconf $(bindir)/fluxbare
|
||||
- @if ldd fluxconf |grep pango > /dev/null ; then ln -sf $(bindir)/fluxconf $(bindir)/fluxmenu; fi
|
||||
+ @ln -sf fluxconf $(DESTDIR)$(bindir)/fluxkeys
|
||||
+ @ln -sf fluxconf $(DESTDIR)$(bindir)/fluxbare
|
||||
+ @if ldd fluxconf |grep pango > /dev/null ; then ln -sf fluxconf $(DESTDIR)$(bindir)/fluxmenu; fi
|
||||
@for lan in ${ALL_LANG} ; do \
|
||||
- ${mkinstalldirs} $(datadir)/locale/$$lan/LC_MESSAGES; \
|
||||
- ${INSTALL} -m444 $(top_srcdir)/po/$$lan.mo $(datadir)/locale/$$lan/LC_MESSAGES/fluxconf.mo ;\
|
||||
+ ${mkinstalldirs} $(DESTDIR)$(datadir)/locale/$$lan/LC_MESSAGES; \
|
||||
+ ${INSTALL} -m444 $(top_srcdir)/po/$$lan.mo $(DESTDIR)$(datadir)/locale/$$lan/LC_MESSAGES/fluxconf.mo ;\
|
||||
done ;
|
||||
|
||||
uninstall-local:
|
Loading…
Reference in a new issue