1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Always check OPSYS along with OSVERSION

- Switch to options helpers

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2017-01-12 17:05:18 +00:00
parent c9152bbfbc
commit 06e04e041c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431287

View File

@ -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}