diff options
author | garga <garga@FreeBSD.org> | 2006-02-23 02:57:17 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2006-02-23 02:57:17 +0800 |
commit | 3e13cd704e35ed6c7dffe9a5a4826600bdaa8c2d (patch) | |
tree | 63db3bb0cf9c8f20ed269f558ab138a3e46e541f | |
parent | 1ea8d63090f1bbf79ab55cfbeca84e31cc17dfcf (diff) | |
download | freebsd-ports-gnome-3e13cd704e35ed6c7dffe9a5a4826600bdaa8c2d.tar.gz freebsd-ports-gnome-3e13cd704e35ed6c7dffe9a5a4826600bdaa8c2d.tar.zst freebsd-ports-gnome-3e13cd704e35ed6c7dffe9a5a4826600bdaa8c2d.zip |
- Update to 2.0.b.4
PR: ports/93264
Submitted by: maintainer
-rw-r--r-- | misc/heyu2/Makefile | 32 | ||||
-rw-r--r-- | misc/heyu2/distinfo | 6 | ||||
-rw-r--r-- | misc/heyu2/files/patch-Configure | 10 |
3 files changed, 31 insertions, 17 deletions
diff --git a/misc/heyu2/Makefile b/misc/heyu2/Makefile index a9565689d00a..340115137c94 100644 --- a/misc/heyu2/Makefile +++ b/misc/heyu2/Makefile @@ -6,22 +6,21 @@ # PORTNAME= heyu2 -PORTVERSION= 2.0.b.2 -PORTREVISION= 1 +PORTVERSION= 2.0.b.4 +PORTREVISION= 0 CATEGORIES= misc -MASTER_SITES= http://heyu.tanj.com/heyu2/ -DISTNAME= heyu-2.0beta.2 +MASTER_SITES= http://www.heyu.org/download/ +DISTNAME= heyu-2.0beta.4 EXTRACT_SUFX= .tgz MAINTAINER= mstowe@chicago.us.mensa.org COMMENT= Control a CM11A interface from the command line -CONFLICTS= heyu-* +CONFLICTS= heyu-[0-9]* #IS_INTERACTIVE= yes ALL_TARGET= all -WRKSRC= ${WRKDIR}/heyu-2.0beta.2 -USE_REINPLACE= yes +WRKSRC= ${WRKDIR}/heyu-2.0beta.4 HAS_CONFIGURE= yes CONFIGURE_SCRIPT= Configure CONFIGURE_ARGS= freebsd @@ -31,8 +30,23 @@ MAN5= x10config.5 \ x10sched.5 \ x10scripts.5 +.include <bsd.port.pre.mk> + post-patch: - ${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -E 's|/usr/local|${PREFIX}|g; \ + s,(CC|CFLAGS) =,\1 ?=,g' \ + ${WRKSRC}/Configure +.if ${OSVERSION} >= 500000 + @${REINPLACE_CMD} -e 's|<.*termio[s]*.h|<sys/ttycom.h|g' \ + ${WRKSRC}/cm17a.c \ + ${WRKSRC}/xsync.c \ + ${WRKSRC}/xwrite.c +.else + @${REINPLACE_CMD} -e 's|<.*termio[s]*.h|<sys/termios.h|g' \ + ${WRKSRC}/cm17a.c \ + ${WRKSRC}/xsync.c \ + ${WRKSRC}/xwrite.c +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/heyu ${PREFIX}/bin @@ -44,4 +58,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/x10config.sample ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/x10.sched.sample ${EXAMPLESDIR} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/misc/heyu2/distinfo b/misc/heyu2/distinfo index c652734630c4..a4af6b872dc3 100644 --- a/misc/heyu2/distinfo +++ b/misc/heyu2/distinfo @@ -1,3 +1,3 @@ -MD5 (heyu-2.0beta.2.tgz) = b7bd60580f74998ae7733e4711942c74 -SHA256 (heyu-2.0beta.2.tgz) = ea52ff50e68dd03b8c3dda683aeea72f6a4438f06a15322f49fbe801658bee1f -SIZE (heyu-2.0beta.2.tgz) = 261948 +MD5 (heyu-2.0beta.4.tgz) = f9b1dfa3aea57254e8a76a558cb0be96 +SHA256 (heyu-2.0beta.4.tgz) = c37072e3379a8dc35787c6cb2c6f27844d210c70de2636158eeda0c3c59480a9 +SIZE (heyu-2.0beta.4.tgz) = 296904 diff --git a/misc/heyu2/files/patch-Configure b/misc/heyu2/files/patch-Configure index 12b8ececca94..8b89ee7222f6 100644 --- a/misc/heyu2/files/patch-Configure +++ b/misc/heyu2/files/patch-Configure @@ -1,11 +1,11 @@ ---- Configure.orig Sun Jul 17 00:07:33 2005 -+++ Configure Sun Jul 17 00:07:50 2005 -@@ -84,7 +84,7 @@ +--- Configure.orig Sun Jan 15 18:38:43 2006 ++++ Configure Wed Feb 22 18:10:48 2006 +@@ -89,7 +89,7 @@ CC = gcc CFLAGS = -g -O \$(DFLAGS) -Wall LIBS = -lm -lc -- DFLAGS= -DHASSELECT -DNEEDGTIME -DFREEBSD -+ DFLAGS= -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" +- DFLAGS= -DHASSELECT -DNEEDGTIME -DFREEBSD $CM17AFLAG ++ DFLAGS= -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" $CM17AFLAG EoF ;; sco*) |