mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support staging
This commit is contained in:
parent
7a68a48d34
commit
89e3863196
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344873
@ -12,30 +12,21 @@ COMMENT= Minimalist FIFO and filesystem-based IRC client
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
MAN1= ${PORTNAME}.1
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
PLIST_FILES= bin/ii man/man1/ii.1.gz
|
||||
PORTDOCS= CHANGES FAQ README
|
||||
PORTEXAMPLES= query.sh
|
||||
.if !defined(.PARSEDIR)
|
||||
MAKE_ARGS= -E CC
|
||||
.endif
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${EXAMPLESDIR}
|
||||
.endif
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user