aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-03 21:02:43 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-03 21:02:43 +0800
commit292d28470bc368c7a68d46559193a8adb19436dd (patch)
tree8ea9e772c690555f45796f8c26c27ad92f2753db /sysutils
parent3407d292d048eff9c9cfaf95cc7972a2e90ffadf (diff)
downloadfreebsd-ports-gnome-292d28470bc368c7a68d46559193a8adb19436dd.tar.gz
freebsd-ports-gnome-292d28470bc368c7a68d46559193a8adb19436dd.tar.zst
freebsd-ports-gnome-292d28470bc368c7a68d46559193a8adb19436dd.zip
- Switch to options helpers
- Fix installation command - No need to remove docsdir, it is handled in plist Approved by: portmgr blanket
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/slurm-wlm/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/sysutils/slurm-wlm/Makefile b/sysutils/slurm-wlm/Makefile
index edc51b2657cc..7bb10ccf63d8 100644
--- a/sysutils/slurm-wlm/Makefile
+++ b/sysutils/slurm-wlm/Makefile
@@ -39,8 +39,6 @@ OPTIONS_SUB= yes
GTK2_DESC= Build GUI config tool sview
-.include <bsd.port.options.mk>
-
# SLURM's configure enables interactive jobs if pty.h exists. Replacing
# #include <pty.h> with appropriate headers will therefore not work, so instead
# add a pty.h for the build.
@@ -51,10 +49,7 @@ post-patch:
${WRKSRC}/doc/html/shtml2html.py \
${WRKSRC}/doc/man/man2html.py
-post-stage:
-.if ! ${PORT_OPTIONS:MDOCS}
- ${RM} -rf ${STAGEDIR}${LOCALBASE}/share/doc/${PORTNAME}-${PORTVERSION}
-.endif
- ${CP} ${FILESDIR}/slurm.conf.example ${STAGEDIR}${PREFIX}/etc/
+post-install:
+ ${INSTALL_DATA} ${FILESDIR}/slurm.conf.example ${STAGEDIR}${PREFIX}/etc/
.include <bsd.port.mk>