aboutsummaryrefslogtreecommitdiffstats
path: root/mail/rss2email2/Makefile
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-01-13 01:05:18 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-01-13 01:05:18 +0800
commit597162518534110869eb6e64f9a63962dbcd6dab (patch)
treea1eee51754f94e7d97e2b3f03f6d1c6663c3e81c /mail/rss2email2/Makefile
parent3ceaf478355e55f2668a70e11dc3c15596cc6a8e (diff)
downloadfreebsd-ports-gnome-597162518534110869eb6e64f9a63962dbcd6dab.tar.gz
freebsd-ports-gnome-597162518534110869eb6e64f9a63962dbcd6dab.tar.zst
freebsd-ports-gnome-597162518534110869eb6e64f9a63962dbcd6dab.zip
- Always check OPSYS along with OSVERSION
- Switch to options helpers Approved by: portmgr blanket
Diffstat (limited to 'mail/rss2email2/Makefile')
-rw-r--r--mail/rss2email2/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/rss2email2/Makefile b/mail/rss2email2/Makefile
index 141c2a2d7b72..21b3f8419a22 100644
--- a/mail/rss2email2/Makefile
+++ b/mail/rss2email2/Makefile
@@ -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}