diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-04-12 05:33:48 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-04-12 05:33:48 +0800 |
commit | e8fe0ebd50ceb0c7997e0162c25e16f7d986c3c4 (patch) | |
tree | 489b95da0ba48c2a26d2db0f77bb4c5d6d38b489 /net/empty | |
parent | 3b2fb8b9680e6b7736d945c347c7a12248dd842a (diff) | |
download | freebsd-ports-gnome-e8fe0ebd50ceb0c7997e0162c25e16f7d986c3c4.tar.gz freebsd-ports-gnome-e8fe0ebd50ceb0c7997e0162c25e16f7d986c3c4.tar.zst freebsd-ports-gnome-e8fe0ebd50ceb0c7997e0162c25e16f7d986c3c4.zip |
- Support staging
- Define EXAMPLES option
- Define DOCS option
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 |