From owner-svn-ports-head@FreeBSD.ORG Tue Aug 5 18:57:07 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5FD217F0 for ; Tue, 5 Aug 2014 18:57:07 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3830C2755 for ; Tue, 5 Aug 2014 18:57:07 +0000 (UTC) Received: from pawel (uid 1252) (envelope-from pawel@FreeBSD.org) id 510c by svn.freebsd.org (DragonFly Mail Agent v0.9+); Tue, 05 Aug 2014 18:57:07 +0000 From: Pawel Pekala Date: Tue, 5 Aug 2014 18:57:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r364134 - head/textproc/xslide.el X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53e12903.510c.2dea0690@svn.freebsd.org> X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2014 18:57:07 -0000 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