mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Stageify.
Approved by: portmgr@
This commit is contained in:
parent
db8bdbb2e1
commit
bb93d89713
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355534
@ -10,33 +10,23 @@ MASTER_SITES= http://www.sheltonsoft.ru/fileZ/software/ \
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Rich-featured multi-windows console text editor
|
||||
|
||||
USE_BZIP2= yes
|
||||
USES= tar:bzip2
|
||||
USE_AUTOTOOLS= autoconf aclocal
|
||||
|
||||
ACLOCAL_ARGS+= -I m4
|
||||
|
||||
MAKE_ENV+= LIBPATH=${PREFIX}/lib
|
||||
|
||||
MAN1= y.1
|
||||
BROKEN_sparc64= Does not compile on sparc64
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "sparc64"
|
||||
BROKEN= Does not compile on sparc64
|
||||
.endif
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
${LN} -sf ${PREFIX}/lib/yui/help_eng.html ${PREFIX}/lib/yui/yhelp.html
|
||||
|
||||
${LN} -sf ${STAGEDIR}${PREFIX}/lib/yui/help_eng.html ${PREFIX}/lib/yui/yhelp.html
|
||||
.if $(PORT_OPTIONS:MDOCS)
|
||||
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for file in BUGS CHANGES COPYRIGHT TODO COPYRIGHT.ITK THANKS
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
22
editors/yui/files/patch-Makefile.in
Normal file
22
editors/yui/files/patch-Makefile.in
Normal file
@ -0,0 +1,22 @@
|
||||
--- Makefile.in.orig 2014-05-27 23:10:08.284230405 +0800
|
||||
+++ Makefile.in 2014-05-27 23:10:49.067246053 +0800
|
||||
@@ -77,12 +77,12 @@ dist: realclean
|
||||
&& $(MV) $(DSTNAME).tar.bz2 $(HOMEDIR)/backup/current)
|
||||
|
||||
install: all
|
||||
- $(INSTALL) -d -m 755 $(INSTDIR)
|
||||
- $(INSTALL) -d -m 755 $(MANDIR)/man1
|
||||
- $(INSTALL) -d -m 755 $(LIBDIR)/yui
|
||||
+ $(INSTALL) -d -m 755 $(DESTDIR)$(INSTDIR)
|
||||
+ $(INSTALL) -d -m 755 $(DESTDIR)$(MANDIR)/man1
|
||||
+ $(INSTALL) -d -m 755 $(DESTDIR)$(LIBDIR)/yui
|
||||
$(STRIP) tyui/y
|
||||
- $(INSTALL) -m 755 tyui/y $(INSTDIR)/y
|
||||
- $(INSTALL) -m 644 y.1 $(MANDIR)/man1/y.1
|
||||
+ $(INSTALL) -m 755 tyui/y $(DESTDIR)$(INSTDIR)/y
|
||||
+ $(INSTALL) -m 644 y.1 $(DESTDIR)$(MANDIR)/man1/y.1
|
||||
for _doc in $(FILES) ; do cd doc && $(SED) -e s!@LIBPATH@!$(LIBPATH)!g \
|
||||
- < $$_doc.in > $(LIBDIR)/yui/$$_doc && cd ..; done
|
||||
- -cd $(LIBDIR)/yui && $(LN) -s help_eng.html yhelp.html
|
||||
+ < $$_doc.in > $(DESTDIR)$(LIBDIR)/yui/$$_doc && cd ..; done
|
||||
+ -cd $(DESTDIR)$(LIBDIR)/yui && $(LN) -s help_eng.html yhelp.html
|
@ -10,6 +10,7 @@ lib/yui/highlight_html
|
||||
lib/yui/keymap
|
||||
lib/yui/options
|
||||
lib/yui/yhelp.html
|
||||
man/man1/y.1.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/BUGS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
|
||||
|
Loading…
Reference in New Issue
Block a user