Support staging

This commit is contained in:
Emanuel Haupt 2014-02-24 15:07:39 +00:00
parent 14bb8fe510
commit 19e1bb2081
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345861
2 changed files with 10 additions and 13 deletions

View File

@ -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>

View File

@ -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