aboutsummaryrefslogtreecommitdiffstats
path: root/comms/wy60
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2002-09-08 08:36:47 +0800
committernaddy <naddy@FreeBSD.org>2002-09-08 08:36:47 +0800
commitd96788c709832fc5770e37cd8c00457b3b19b15d (patch)
tree5cc54a105233844822964a5045d44c6dc4f2a2ae /comms/wy60
parentb300bbe1949ca8f902398ae101c925fa6f0fb793 (diff)
downloadfreebsd-ports-gnome-d96788c709832fc5770e37cd8c00457b3b19b15d.tar.gz
freebsd-ports-gnome-d96788c709832fc5770e37cd8c00457b3b19b15d.tar.zst
freebsd-ports-gnome-d96788c709832fc5770e37cd8c00457b3b19b15d.zip
Update to 2.0.4: emulation improvements.
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