svn commit: r355534 - in head/editors/yui: . files

Vanilla I. Shu vanilla at FreeBSD.org
Tue May 27 15:13:10 UTC 2014


Author: vanilla
Date: Tue May 27 15:13:08 2014
New Revision: 355534
URL: http://svnweb.freebsd.org/changeset/ports/355534
QAT: https://qat.redports.org/buildarchive/r355534/

Log:
  Stageify.
  
  Approved by:	portmgr@

Added:
  head/editors/yui/files/
  head/editors/yui/files/patch-Makefile.in   (contents, props changed)
Modified:
  head/editors/yui/Makefile
  head/editors/yui/pkg-plist

Modified: head/editors/yui/Makefile
==============================================================================
--- head/editors/yui/Makefile	Tue May 27 15:02:49 2014	(r355533)
+++ head/editors/yui/Makefile	Tue May 27 15:13:08 2014	(r355534)
@@ -10,33 +10,23 @@ MASTER_SITES=	http://www.sheltonsoft.ru/
 MAINTAINER=	ports at 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
-
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+BROKEN_sparc64=	Does not compile on sparc64
 
-.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>

Added: head/editors/yui/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/yui/files/patch-Makefile.in	Tue May 27 15:13:08 2014	(r355534)
@@ -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

Modified: head/editors/yui/pkg-plist
==============================================================================
--- head/editors/yui/pkg-plist	Tue May 27 15:02:49 2014	(r355533)
+++ head/editors/yui/pkg-plist	Tue May 27 15:13:08 2014	(r355534)
@@ -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


More information about the svn-ports-all mailing list