aboutsummaryrefslogtreecommitdiff
path: root/net/slurm
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-24 15:07:39 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-24 15:07:39 +0000
commit19e1bb2081c040c679ceeb9d9e103b3a9cec3529 (patch)
tree1d8c5128f39b5d7c650d20f5d578b8488852e2ff /net/slurm
parent14bb8fe510df8e5a04eac85e26615ea7e198cc00 (diff)
downloadports-19e1bb2081c040c679ceeb9d9e103b3a9cec3529.tar.gz
ports-19e1bb2081c040c679ceeb9d9e103b3a9cec3529.zip
Notes
Diffstat (limited to 'net/slurm')
-rw-r--r--net/slurm/Makefile22
-rw-r--r--net/slurm/pkg-plist1
2 files changed, 10 insertions, 13 deletions
diff --git a/net/slurm/Makefile b/net/slurm/Makefile
index eaa359f66f45..387d3ac66b17 100644
--- a/net/slurm/Makefile
+++ b/net/slurm/Makefile
@@ -15,20 +15,16 @@ LDFLAGS+= -lncurses
GNU_CONFIGURE= yes
CONFIGURE_ARGS= CFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
-MAN1= slurm.1
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
do-install:
- ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- @${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/themes/* ${DATADIR}
-
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/KEYS ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/FAQ ${DOCSDIR}
-.endif
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/themes/* ${STAGEDIR}${DATADIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/KEYS ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/FAQ ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/net/slurm/pkg-plist b/net/slurm/pkg-plist
index 24466efaca10..28d11ff1fb3a 100644
--- a/net/slurm/pkg-plist
+++ b/net/slurm/pkg-plist
@@ -3,6 +3,7 @@ share/slurm/blue.theme
share/slurm/cyan.theme
share/slurm/foo.theme
share/slurm/black.theme
+man/man1/slurm.1.gz
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/KEYS
%%PORTDOCS%%%%DOCSDIR%%/FAQ