From owner-svn-ports-head@FreeBSD.ORG Thu Jun 5 17:11:23 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 08D83C6F; Thu, 5 Jun 2014 17:11:23 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CFFD924A2; Thu, 5 Jun 2014 17:11:22 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s55HBMXZ073555; Thu, 5 Jun 2014 17:11:22 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s55HBMIm073554; Thu, 5 Jun 2014 17:11:22 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201406051711.s55HBMIm073554@svn.freebsd.org> From: Pawel Pekala Date: Thu, 5 Jun 2014 17:11:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r356652 - head/mail/prom-wl X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: Thu, 05 Jun 2014 17:11:23 -0000 Author: pawel Date: Thu Jun 5 17:11:22 2014 New Revision: 356652 URL: http://svnweb.freebsd.org/changeset/ports/356652 QAT: https://qat.redports.org/buildarchive/r356652/ Log: - Add staging support - Convert to new options framework Modified: head/mail/prom-wl/Makefile Modified: head/mail/prom-wl/Makefile ============================================================================== --- head/mail/prom-wl/Makefile Thu Jun 5 16:51:30 2014 (r356651) +++ head/mail/prom-wl/Makefile Thu Jun 5 17:11:22 2014 (r356652) @@ -19,29 +19,27 @@ NO_BUILD= yes ELISPDIR= ${PREFIX}/share/emacs/site-lisp SITEPKGDIR= ${PREFIX}/lib/xemacs/site-packages -NO_STAGE= yes -do-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @(cd ${WRKSRC}; ${INSTALL_DATA} ChangeLog \ - prom-wl-usage.jis \ - ${DOCSDIR}/) - @(cd ${FILESDIR}; ${INSTALL_SCRIPT} byte-compile ${DOCSDIR}/) -.endif - -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - @(cd ${FILESDIR} ; ${INSTALL_DATA} dot.emacs dot.procmailrc \ - ${EXAMPLESDIR}/) -.endif +OPTIONS_DEFINE= DOCS EXAMPLES - @${MKDIR} ${ELISPDIR} - @(cd ${WRKSRC}; ${INSTALL_DATA} prom-wl.el ${ELISPDIR}/) +do-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}; ${INSTALL_DATA} ChangeLog prom-wl-usage.jis \ + ${STAGEDIR}${DOCSDIR}) + (cd ${FILESDIR}; ${INSTALL_SCRIPT} byte-compile ${STAGEDIR}${DOCSDIR}) + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${FILESDIR} ; ${INSTALL_DATA} dot.emacs dot.procmailrc \ + ${STAGEDIR}${EXAMPLESDIR}) + @${MKDIR} ${STAGEDIR}${ELISPDIR} + (cd ${WRKSRC}; ${INSTALL_DATA} prom-wl.el ${STAGEDIR}${ELISPDIR}) # For xemacs package install configuration - @${MKDIR} ${SITEPKGDIR}/lisp/prom-wl ${SITEPKGDIR}/pkginfo - @${LN} -sf ${ELISPDIR}/prom-wl.el ${SITEPKGDIR}/lisp/prom-wl/prom-wl.el - @${ECHO_CMD} 'pkginfo/MANIFEST.prom-wl' > ${SITEPKGDIR}/pkginfo/MANIFEST.prom-wl - @${ECHO_CMD} 'lisp/prom-wl/prom-wl.el' >> ${SITEPKGDIR}/pkginfo/MANIFEST.prom-wl + @${MKDIR} ${STAGEDIR}${SITEPKGDIR}/lisp/prom-wl + @${MKDIR} ${STAGEDIR}${SITEPKGDIR}/pkginfo + @${LN} -sf ${ELISPDIR}/prom-wl.el \ + ${STAGEDIR}${SITEPKGDIR}/lisp/prom-wl/prom-wl.el + @${ECHO_CMD} 'pkginfo/MANIFEST.prom-wl' > \ + ${STAGEDIR}${SITEPKGDIR}/pkginfo/MANIFEST.prom-wl + @${ECHO_CMD} 'lisp/prom-wl/prom-wl.el' >> \ + ${STAGEDIR}${SITEPKGDIR}/pkginfo/MANIFEST.prom-wl .include