aboutsummaryrefslogtreecommitdiff
path: root/net/empty
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2007-12-19 00:51:14 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2007-12-19 00:51:14 +0000
commit302c4197852b196ee30a22e542570b2c4985bcab (patch)
tree8a0a29469c5d59465034b031f7638f5c42a9d499 /net/empty
parentef1f3bff69d537659d7716f9323d5689aaaee22e (diff)
downloadports-302c4197852b196ee30a22e542570b2c4985bcab.tar.gz
ports-302c4197852b196ee30a22e542570b2c4985bcab.zip
Notes
Diffstat (limited to 'net/empty')
-rw-r--r--net/empty/Makefile23
-rw-r--r--net/empty/distinfo6
2 files changed, 20 insertions, 9 deletions
diff --git a/net/empty/Makefile b/net/empty/Makefile
index 951c324dc7ec..085f2b67e6ec 100644
--- a/net/empty/Makefile
+++ b/net/empty/Makefile
@@ -5,21 +5,32 @@
# $FreeBSD$
PORTNAME= empty
-PORTVERSION= 0.6.12b
+PORTVERSION= 0.6.14b
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF
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
-PLIST_FILES= bin/empty
+PLIST_FILES= bin/empty ${EXAMPLES:S,^,%%EXAMPLESDIR%%/,} ${DOCS:S,^,%%DOCSDIR%%/,}
+PLIST_DIRS= %%EXAMPLESDIR%% %%DOCSDIR%%
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/empty ${PREFIX}/bin/empty
- ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1/
+ @${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
.include <bsd.port.mk>
diff --git a/net/empty/distinfo b/net/empty/distinfo
index 14d71f15477e..c4338cce2440 100644
--- a/net/empty/distinfo
+++ b/net/empty/distinfo
@@ -1,3 +1,3 @@
-MD5 (empty-0.6.12b.tgz) = 55656f0ba34880b40b6ca66b513e2ec0
-SHA256 (empty-0.6.12b.tgz) = 60c070f3c3b91bcdba4632f66d2708a4f4ebe5e3d39374f583586162abf6fe0b
-SIZE (empty-0.6.12b.tgz) = 15327
+MD5 (empty-0.6.14b.tgz) = dae3cf26f1f20be5e9947b258e2e88a4
+SHA256 (empty-0.6.14b.tgz) = 1ed3d3e785332ef61cf61f65f8f681fccae689d3f81df86e571db33abe4ca073
+SIZE (empty-0.6.14b.tgz) = 15372