From d96788c709832fc5770e37cd8c00457b3b19b15d Mon Sep 17 00:00:00 2001 From: naddy Date: Sun, 8 Sep 2002 00:36:47 +0000 Subject: Update to 2.0.4: emulation improvements. --- comms/wy60/Makefile | 7 +++---- comms/wy60/distinfo | 2 +- comms/wy60/files/patch-Makefile.in | 14 ++++++++++++++ comms/wy60/pkg-plist | 4 +++- 4 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 comms/wy60/files/patch-Makefile.in (limited to 'comms/wy60') 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 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 -- cgit