diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-04-11 21:33:48 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-04-11 21:33:48 +0000 |
commit | 1a27e78d1f6dc16bf39e4fc9af0395447a999140 (patch) | |
tree | 489b95da0ba48c2a26d2db0f77bb4c5d6d38b489 /net/empty | |
parent | 265340fc8693fb1240c215795d3a2c2957fa1ddd (diff) | |
download | ports-1a27e78d1f6dc16bf39e4fc9af0395447a999140.tar.gz ports-1a27e78d1f6dc16bf39e4fc9af0395447a999140.zip |
Notes
Diffstat (limited to 'net/empty')
-rw-r--r-- | net/empty/Makefile | 20 | ||||
-rw-r--r-- | net/empty/pkg-plist | 1 |
2 files changed, 9 insertions, 12 deletions
diff --git a/net/empty/Makefile b/net/empty/Makefile index bef78e99dd53..752c4f3dc588 100644 --- a/net/empty/Makefile +++ b/net/empty/Makefile @@ -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> diff --git a/net/empty/pkg-plist b/net/empty/pkg-plist index 1038c8f5c5c2..68a468a3c72e 100644 --- a/net/empty/pkg-plist +++ b/net/empty/pkg-plist @@ -1,4 +1,5 @@ bin/empty +man/man1/empty.1.gz %%PORTDOCS%%%%DOCSDIR%%/CHANGELOG %%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT %%PORTDOCS%%%%DOCSDIR%%/README |