Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Aug 2014 18:57:07 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364134 - head/textproc/xslide.el
Message-ID:  <53e12903.510c.2dea0690@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Tue Aug  5 18:57:06 2014
New Revision: 364134
URL: http://svnweb.freebsd.org/changeset/ports/364134
QAT: https://qat.redports.org/buildarchive/r364134/

Log:
  - Add staging support
  - Convert to new options framework

Modified:
  head/textproc/xslide.el/Makefile

Modified: head/textproc/xslide.el/Makefile
==============================================================================
--- head/textproc/xslide.el/Makefile	Tue Aug  5 18:47:47 2014	(r364133)
+++ head/textproc/xslide.el/Makefile	Tue Aug  5 18:57:06 2014	(r364134)
@@ -17,27 +17,16 @@ PORTDOCS=	README.TXT TODO NEWS ChangeLog
 ELISPDIR=	${PREFIX}/share/emacs/site-lisp
 XELISPDIR=	${PREFIX}/lib/xemacs/site-lisp
 
-NO_STAGE=	yes
-do-install:
-	@${MKDIR} ${ELISPDIR} ${XELISPDIR}
-	(cd ${WRKSRC} && \
-		for f in xslide.el \
-			 xslide-abbrev.el \
-			 xslide-data.el \
-			 xslide-font.el \
-			 xslide-initial.xsl \
-			 xslide-process.el; \
-		do \
-		    ${INSTALL_DATA} $$f ${ELISPDIR}; \
-		    ${LN} -sf ${ELISPDIR}/$$f ${XELISPDIR}; \
-		done;)
-.ifndef NOPORTDOCS
-	@${MKDIR} ${DOCSDIR}
-	(cd ${WRKSRC} && \
-		${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
-.endif
+OPTIONS_DEFINE=	DOCS
 
-post-install:
-	@${CAT} ${PKGMESSAGE}
+do-install:
+	@${MKDIR} ${STAGEDIR}${ELISPDIR} ${STAGEDIR}${XELISPDIR}
+.for f in xslide.el xslide-abbrev.el xslide-data.el xslide-font.el \
+xslide-initial.xsl xslide-process.el
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${ELISPDIR}
+	${LN} -sf ${ELISPDIR}/${f} ${STAGEDIR}${XELISPDIR}
+.endfor
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e12903.510c.2dea0690>