diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-24 23:07:39 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-24 23:07:39 +0800 |
commit | 8c11a3bf3665263972aed74bfb7f8f83d4352e17 (patch) | |
tree | 1d8c5128f39b5d7c650d20f5d578b8488852e2ff /net | |
parent | f659ffc97ebfe4587c9c091ced0ab9c90c44e8f6 (diff) | |
download | freebsd-ports-gnome-8c11a3bf3665263972aed74bfb7f8f83d4352e17.tar.gz freebsd-ports-gnome-8c11a3bf3665263972aed74bfb7f8f83d4352e17.tar.zst freebsd-ports-gnome-8c11a3bf3665263972aed74bfb7f8f83d4352e17.zip |
Support staging
Diffstat (limited to 'net')
-rw-r--r-- | net/slurm/Makefile | 22 | ||||
-rw-r--r-- | net/slurm/pkg-plist | 1 |
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 |