aboutsummaryrefslogtreecommitdiffstats
path: root/devel/smv
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-07-03 21:33:21 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-07-03 21:33:21 +0800
commit51cce114091a193cf055450fdbf6540a429c5282 (patch)
treec2f80ae7fb36aba9f352c6be5e9caa122f8cf549 /devel/smv
parent89cab13dae8f8e36d9d8b6c96802ad5d85376eb2 (diff)
downloadfreebsd-ports-gnome-51cce114091a193cf055450fdbf6540a429c5282.tar.gz
freebsd-ports-gnome-51cce114091a193cf055450fdbf6540a429c5282.tar.zst
freebsd-ports-gnome-51cce114091a193cf055450fdbf6540a429c5282.zip
- Switch to options helpers
- Fix installation commands
Diffstat (limited to 'devel/smv')
-rw-r--r--devel/smv/Makefile42
1 files changed, 23 insertions, 19 deletions
diff --git a/devel/smv/Makefile b/devel/smv/Makefile
index f0c56d0097b7..8b4d387288a9 100644
--- a/devel/smv/Makefile
+++ b/devel/smv/Makefile
@@ -27,25 +27,29 @@ OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/smv ${STAGEDIR}${PREFIX}/bin
- ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_MAN} ${WRKSRC}/smv.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/smv-mode.el ${STAGEDIR}${DATADIR}
- ${INSTALL_MAN} ${WRKSRC}/smv.1 ${STAGEDIR}${PREFIX}/man/man1
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/NEW ${STAGEDIR}${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/doc/smvmanual.ps ${STAGEDIR}${DOCSDIR}
- ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_MAN} ${WRKSRC}/examples/counter.smv ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_MAN} ${WRKSRC}/examples/dme1.smv ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_MAN} ${WRKSRC}/examples/dme2.smv ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_MAN} ${WRKSRC}/examples/featuring.smv ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_MAN} ${WRKSRC}/examples/gigamax.smv ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_MAN} ${WRKSRC}/examples/mutex.smv ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_MAN} ${WRKSRC}/examples/mutex1.smv ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_MAN} ${WRKSRC}/examples/periodic.smv ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_MAN} ${WRKSRC}/examples/ring.smv ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_MAN} ${WRKSRC}/examples/semaphore.smv ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_MAN} ${WRKSRC}/examples/short.smv ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_MAN} ${WRKSRC}/examples/syncarb5.smv ${STAGEDIR}${EXAMPLESDIR}
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/NEW ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/smvmanual.ps ${STAGEDIR}${DOCSDIR}
+
+do-install-EXAMPLES-on:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/counter.smv ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/dme1.smv ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/dme2.smv ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/featuring.smv ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/gigamax.smv ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/mutex.smv ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/mutex1.smv ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/periodic.smv ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/ring.smv ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/semaphore.smv ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/short.smv ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/syncarb5.smv ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>