svn commit: r343042 - head/mail/phpmailer

Martin Wilke miwi at FreeBSD.org
Thu Feb 6 12:14:26 UTC 2014


Author: miwi
Date: Thu Feb  6 12:14:25 2014
New Revision: 343042
URL: http://svnweb.freebsd.org/changeset/ports/343042
QAT: https://qat.redports.org/buildarchive/r343042/

Log:
  - Stage support

Modified:
  head/mail/phpmailer/Makefile

Modified: head/mail/phpmailer/Makefile
==============================================================================
--- head/mail/phpmailer/Makefile	Thu Feb  6 12:09:50 2014	(r343041)
+++ head/mail/phpmailer/Makefile	Thu Feb  6 12:14:25 2014	(r343042)
@@ -20,32 +20,22 @@ USE_PHP=	yes
 
 SUB_FILES=	pkg-message
 
-NO_STAGE=	yes
 do-install:
-	@${MKDIR} ${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}
 .for f in class.phpmailer.php class.pop3.php class.smtp.php composer.json
-	@${INSTALL_DATA} ${WRKSRC}/$f ${DATADIR}
+	@${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DATADIR}
 .endfor
 .for d in extras language test
-	@${MKDIR} ${DATADIR}/$d
-	@${INSTALL_DATA} ${WRKSRC}/$d/* ${DATADIR}/$d
+	@${MKDIR} ${STAGEDIR}${DATADIR}/$d
+	@${INSTALL_DATA} ${WRKSRC}/$d/* ${STAGEDIR}${DATADIR}/$d
 .endfor
-	@${CP} -R ${WRKSRC}/test_script ${DATADIR}
-
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+	@${CP} -R ${WRKSRC}/test_script ${STAGEDIR}${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in changelog.md README.md LICENSE
-	@${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
+	@${CP} -R ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
 .endfor
-	@${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
-.endif
-
-.if !defined(NOPORTEXAMPLES)
-	@${MKDIR} ${EXAMPLESDIR}
-	@${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
-.endif
-
-post-install:
-	@${CAT} ${PKGMESSAGE}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	@${CP} -R ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list