Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jul 2014 16:10:50 +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: r360934 - head/print/latex-ifluatex
Message-ID:  <201407061610.s66GAocv076370@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sun Jul  6 16:10:50 2014
New Revision: 360934
URL: http://svnweb.freebsd.org/changeset/ports/360934
QAT: https://qat.redports.org/buildarchive/r360934/

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

Modified:
  head/print/latex-ifluatex/Makefile

Modified: head/print/latex-ifluatex/Makefile
==============================================================================
--- head/print/latex-ifluatex/Makefile	Sun Jul  6 16:07:33 2014	(r360933)
+++ head/print/latex-ifluatex/Makefile	Sun Jul  6 16:10:50 2014	(r360934)
@@ -26,7 +26,8 @@ CLASS_FILES=	ifluatex.dtx ifluatex.sty
 
 DOC_FILES=	ifluatex.pdf
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 do-extract:
 	${MKDIR} ${WRKSRC}
 	cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
@@ -35,14 +36,10 @@ do-build:
 	cd ${WRKSRC} && ${TEX_BIN} ifluatex.dtx
 
 do-install:
-	${MKDIR} ${PREFIX}/${CLASSDIR}
-	${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}
-.endif
-
-post-install:
-	@${MKTEXLSR}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${CLASSDIR}
+	${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} \
+		${STAGEDIR}${PREFIX}/${CLASSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${DOC_FILES: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?201407061610.s66GAocv076370>