From owner-svn-ports-head@FreeBSD.ORG Sun Jan 26 20:51:45 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 BD4CB952; Sun, 26 Jan 2014 20:51:45 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8FDAD1967; Sun, 26 Jan 2014 20:51:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0QKpjAc028271; Sun, 26 Jan 2014 20:51:45 GMT (envelope-from mat@svn.freebsd.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0QKpjKT028270; Sun, 26 Jan 2014 20:51:45 GMT (envelope-from mat@svn.freebsd.org) Message-Id: <201401262051.s0QKpjKT028270@svn.freebsd.org> From: Mathieu Arnold Date: Sun, 26 Jan 2014 20:51:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341285 - head/textproc/foiltex 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.17 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: Sun, 26 Jan 2014 20:51:45 -0000 Author: mat Date: Sun Jan 26 20:51:45 2014 New Revision: 341285 URL: http://svnweb.freebsd.org/changeset/ports/341285 QAT: https://qat.redports.org/buildarchive/r341285/ Log: Support staging. Sponsored by: Absolight Modified: head/textproc/foiltex/Makefile Modified: head/textproc/foiltex/Makefile ============================================================================== --- head/textproc/foiltex/Makefile Sun Jan 26 20:48:58 2014 (r341284) +++ head/textproc/foiltex/Makefile Sun Jan 26 20:51:45 2014 (r341285) @@ -23,12 +23,13 @@ FOIL_DIR= share/texmf/tex/latex/${PORTNA FOIL_FILES= foil17.clo foil20.clo foil25.clo foil30.clo foils.cls \ foils.sty foilshrt.clo fltfonts.def +OPTIONS_DEFINE= DOCS EXAMPLES + PORTDOCS= foiltex.dtx foiltex.dvi PORTEXAMPLES= sampfoil.tex PLIST_FILES= ${FOIL_FILES:S,^,${FOIL_DIR}/,} PLIST_DIRS= ${FOIL_DIR} -NO_STAGE= yes do-extract: ${MKDIR} ${WRKDIR} ${CP} ${DISTDIR}/foiltex.ins ${WRKDIR}/foiltex.ins @@ -41,29 +42,17 @@ do-build: ${LATEX_CMD} foiltex.dtx do-install: -# install data files - @${MKDIR} ${PREFIX}/${FOIL_DIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/${FOIL_DIR} .for file in ${FOIL_FILES} - ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/${FOIL_DIR} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/${FOIL_DIR} .endfor -# install docs and example file? -.if !defined(NOPORTDOCS) -# install docs... - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor -.endif -.if !defined(NOPORTEXAMPLES) -# ...and examples - @${MKDIR} ${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for file in ${PORTEXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/${file} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${EXAMPLESDIR} .endfor -.endif - -post-install: - ${SETENV} LOCALBASE=${LOCALBASE} PKG_PREFIX=${PREFIX} \ - ${SH} ${PKGDIR}/pkg-install ${PKGNAME} POST-INSTALL .include