aboutsummaryrefslogtreecommitdiff
path: root/comms/wy60
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-09-08 00:36:47 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-09-08 00:36:47 +0000
commit63c8d22076e560d1bc23ae667b909f576c9a26fc (patch)
tree24e2d088c0551186c74f7193feb8995e82d2647b /comms/wy60
parent21a38c944ac33cee9970e039e0eee9e2bd27ef6a (diff)
downloadports-63c8d22076e560d1bc23ae667b909f576c9a26fc.tar.gz
ports-63c8d22076e560d1bc23ae667b909f576c9a26fc.zip
Update to 2.0.4: emulation improvements.
Notes
Notes: svn path=/head/; revision=65805
Diffstat (limited to 'comms/wy60')
-rw-r--r--comms/wy60/Makefile7
-rw-r--r--comms/wy60/distinfo2
-rw-r--r--comms/wy60/files/patch-Makefile.in14
-rw-r--r--comms/wy60/pkg-plist4
4 files changed, 21 insertions, 6 deletions
diff --git a/comms/wy60/Makefile b/comms/wy60/Makefile
index db33e722b303..a0093df74520 100644
--- a/comms/wy60/Makefile
+++ b/comms/wy60/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= wy60
-PORTVERSION= 2.0.2
+PORTVERSION= 2.0.4
CATEGORIES= comms
MASTER_SITES= http://gutschke.com/wy60/html/archive/
@@ -15,8 +15,7 @@ GNU_CONFIGURE= yes
MAN1= wy60.1
-post-install:
- ${MKDIR} ${PREFIX}/share/examples/wy60
- ${INSTALL_DATA} ${WRKSRC}/wy60.rc ${PREFIX}/share/examples/wy60
+pre-build:
+ @${CP} ${WRKSRC}/wy60.rc ${WRKSRC}/wy60.rc.sample
.include <bsd.port.mk>
diff --git a/comms/wy60/distinfo b/comms/wy60/distinfo
index 214ee1777cae..5265532a76b4 100644
--- a/comms/wy60/distinfo
+++ b/comms/wy60/distinfo
@@ -1 +1 @@
-MD5 (wy60-2.0.2.tar.gz) = 723c05b355e37a2c48fd97b3e75379e5
+MD5 (wy60-2.0.4.tar.gz) = 8f8b2c0c60a3d60d93e5c0a5f8b5d41c
diff --git a/comms/wy60/files/patch-Makefile.in b/comms/wy60/files/patch-Makefile.in
new file mode 100644
index 000000000000..a9cdf2044d80
--- /dev/null
+++ b/comms/wy60/files/patch-Makefile.in
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- Makefile.in.orig Sun Sep 8 02:02:57 2002
++++ Makefile.in Sun Sep 8 02:03:19 2002
+@@ -68,7 +68,7 @@
+ wy60_SOURCES = wy60.c wy60.h
+ man_MANS = wy60.1
+ etcdir = "$(sysconfdir)"
+-etc_DATA = wy60.rc
++etc_DATA = wy60.rc.sample
+ EXTRA_DIST = wy60.rc wy60.man.in wy60.ps
+ CPPFLAGS = -DETCDIR="\"$(sysconfdir)\""
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
diff --git a/comms/wy60/pkg-plist b/comms/wy60/pkg-plist
index 554e68b874e0..df47727dd938 100644
--- a/comms/wy60/pkg-plist
+++ b/comms/wy60/pkg-plist
@@ -1,3 +1,5 @@
@comment $FreeBSD$
bin/wy60
-share/examples/wy60/wy60.rc
+@unexec if cmp %D/etc/wy60.rc.sample %D/etc/wy60.rc 2>/dev/null; then rm -f %D/etc/wy60.rc; fi
+etc/wy60.rc.sample
+@exec if test ! -f %D/etc/wy60.rc; then cp -p %D/etc/wy60.rc.sample %D/etc/wy60.rc; fi