mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Support staging
- Define EXAMPLES option - Define DOCS option
This commit is contained in:
parent
265340fc86
commit
1a27e78d1f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351045
@ -10,7 +10,6 @@ EXTRACT_SUFX= .tgz
|
||||
MAINTAINER= zmey20000@yahoo.com
|
||||
COMMENT= Expect-like tool for pure shell
|
||||
|
||||
MAN1= empty.1
|
||||
DOCS= CHANGELOG COPYRIGHT README README.CYGWIN
|
||||
EXAMPLES= README em_ssh.sh em_ssh_2.sh em_sh.sh \
|
||||
em_telnet.sh em_telnet_2.sh emsu.sh runtests.sh
|
||||
@ -19,17 +18,14 @@ MAKE_ARGS+= CC=${CC}
|
||||
LICENSE= BSD
|
||||
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
||||
|
||||
NO_STAGE= yes
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/empty ${PREFIX}/bin/
|
||||
@${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/,} ${MAN1PREFIX}/man/man1/
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
|
||||
.endif
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
@${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/examples/,} ${EXAMPLESDIR}/
|
||||
.endif
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/empty ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/empty.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,5 @@
|
||||
bin/empty
|
||||
man/man1/empty.1.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
|
Loading…
Reference in New Issue
Block a user