Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jan 2017 17:05:18 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r431287 - head/mail/rss2email2
Message-ID:  <201701121705.v0CH5Ikm065979@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Jan 12 17:05:18 2017
New Revision: 431287
URL: https://svnweb.freebsd.org/changeset/ports/431287

Log:
  - Always check OPSYS along with OSVERSION
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/mail/rss2email2/Makefile

Modified: head/mail/rss2email2/Makefile
==============================================================================
--- head/mail/rss2email2/Makefile	Thu Jan 12 17:04:56 2017	(r431286)
+++ head/mail/rss2email2/Makefile	Thu Jan 12 17:05:18 2017	(r431287)
@@ -37,14 +37,17 @@ post-patch:
 		${WRKSRC}/rss2email.py
 
 do-install:
-	@${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_SCRIPT} ${WRKSRC}/rss2email.py ${STAGEDIR}${DATADIR}
 	${INSTALL_SCRIPT} ${WRKSRC}/r2e ${STAGEDIR}${PREFIX}/bin
+
+do-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/config.py.example ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} < 1100077
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100077
 # chmod -R bug.
 post-extract:
 	@${CHMOD} 0755 ${WRKSRC}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701121705.v0CH5Ikm065979>