svn commit: r360187 - head/print/passivetex

Baptiste Daroussin bapt at FreeBSD.org
Wed Jul 2 13:40:37 UTC 2014


Author: bapt
Date: Wed Jul  2 13:40:36 2014
New Revision: 360187
URL: http://svnweb.freebsd.org/changeset/ports/360187
QAT: https://qat.redports.org/buildarchive/r360187/

Log:
  Support stage

Modified:
  head/print/passivetex/Makefile

Modified: head/print/passivetex/Makefile
==============================================================================
--- head/print/passivetex/Makefile	Wed Jul  2 13:37:11 2014	(r360186)
+++ head/print/passivetex/Makefile	Wed Jul  2 13:40:36 2014	(r360187)
@@ -41,25 +41,14 @@ CLASS_FILES=	dummyels.sty fotex.xmt fote
 		mlnames.sty ucharacters.sty unicode.sty \
 		dummyels.sty nomulticol.sty
 
-NO_STAGE=	yes
-
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-.include <bsd.port.options.mk>
-
 do-install:
-	@${MKDIR} -m 555 ${PREFIX}/${CLASSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${CLASS_FILES} ${PREFIX}/${CLASSDIR}
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	cd ${WRKSRC}/test && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
-.endif
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
-
-post-install:
-	@${CAT} ${PKGMESSAGE}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${CLASSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${CLASS_FILES} ${STAGEDIR}${PREFIX}/${CLASSDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	cd ${WRKSRC}/test && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list