Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2014 13:13:10 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360177 - head/print/latex-arydshln
Message-ID:  <201407021313.s62DDBCB060147@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Jul  2 13:13:10 2014
New Revision: 360177
URL: http://svnweb.freebsd.org/changeset/ports/360177
QAT: https://qat.redports.org/buildarchive/r360177/

Log:
  Support stage

Modified:
  head/print/latex-arydshln/Makefile

Modified: head/print/latex-arydshln/Makefile
==============================================================================
--- head/print/latex-arydshln/Makefile	Wed Jul  2 13:07:28 2014	(r360176)
+++ head/print/latex-arydshln/Makefile	Wed Jul  2 13:13:10 2014	(r360177)
@@ -12,7 +12,9 @@ DISTFILES=	README arydshln-man.pdf aryds
 DIST_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	hrs@FreeBSD.org
-COMMENT=	A LaTeX package that draws dash-lines in array/tabular
+COMMENT=	LaTeX package that draws dash-lines in array/tabular
+
+OPTIONS_DEFINE=	DOCS
 
 USE_TEX=	latex
 PLIST=		${WRKDIR}/pkg-plist
@@ -28,7 +30,6 @@ CLASSDIR=	${TEXMFLOCAL}/tex/latex/${PORT
 CLASS_FILES=	arydshln.dtx arydshln.ins arydshln.sty arydshln-man.tex
 DOC_FILES=	README arydshln-man.pdf
 
-NO_STAGE=	yes
 do-extract:
 	${MKDIR} ${WRKSRC}
 	cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
@@ -39,24 +40,17 @@ do-build:
 			${ECHO_CMD} "${CLASSDIR}/$${F}"; \
 		done;\
 	${ECHO_CMD} "@dirrm ${CLASSDIR}" ) > ${PLIST}
-.if !defined(NOPORTDOCS)
 	(for F in ${DOC_FILES}; do \
 			${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \
 		done;\
 	${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" ) >> ${PLIST}
-.endif
 	${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST}
 	${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST}
 
 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?201407021313.s62DDBCB060147>