1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Update to version 1.35.

This commit is contained in:
Bill Fenner 2003-08-21 05:48:33 +00:00
parent 12428ece90
commit 247dd0cb60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87434
6 changed files with 8 additions and 80 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= heyu
PORTVERSION= 1.33
PORTVERSION= 1.35
CATEGORIES= misc
MASTER_SITES= http://heyu.tanj.com/
DISTNAME= x10_heyu
@ -15,18 +15,17 @@ EXTRACT_SUFX= .tgz
MAINTAINER= plambert@plambert.net
COMMENT= Control a CM11A interface from the command line
BROKEN= "Checksum fails"
IS_INTERACTIVE= yes
ALL_TARGET= heyu
WRKSRC= ${WRKDIR}/heyu.dir
USE_REINPLACE= yes
MAN1= heyu.1
MAN5= x10config.5 \
x10sched.5
do-configure:
${PERL} -pi.orig -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile
${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile
pre-patch:
(cd ${WRKSRC} && ./Configure)

View File

@ -1 +1 @@
MD5 (x10_heyu.tgz) = a942f8ad37189317e6b119b1949de7c0
MD5 (x10_heyu.tgz) = 4622d3f9a85341f209656dff893c967e

View File

@ -1,35 +0,0 @@
--- Makefile.orig Sun Jun 3 01:19:23 2001
+++ Makefile Sun Jun 3 01:20:28 2001
@@ -5,7 +5,7 @@
MAN = /usr/local/man/man1
MAN5 = /usr/local/man/man5
GROUP = sys
-OWNER = bin
+OWNER = root
# set DFLAGS equal to:
# -DSYSV if using SYSTEM V
@@ -13,9 +13,9 @@
#This makefile is built for freebsd
CC = gcc
-CFLAGS = -g -O $(DFLAGS) -Wall
+#CFLAGS = -g -O $(DFLAGS) -Wall
LIBS = -lm -lc
-DFLAGS= -DHASSELECT -DNEEDGTIME -DFREEBSD
+DFLAGS= -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/tmp\"
# # The rest of the makefile should need no changes
## Makefile template for Heyu, a program to control an X10 CM11A computer
@@ -42,9 +42,10 @@
all: heyu dawndusk
heyu: $(OBJS) version.h
- $(CC) $(LDFLAGS) -o heyu $(OBJS) $(LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) $(DFLAGS) -o heyu $(OBJS) $(LIBS)
$(OBJS): x10.h
+ $(CC) $(CFLAGS) $(DFLAGS) -c $<
eeprom.o: eeprom.h

View File

@ -6,7 +6,7 @@
#
PORTNAME= heyu
PORTVERSION= 1.33
PORTVERSION= 1.35
CATEGORIES= misc
MASTER_SITES= http://heyu.tanj.com/
DISTNAME= x10_heyu
@ -15,18 +15,17 @@ EXTRACT_SUFX= .tgz
MAINTAINER= plambert@plambert.net
COMMENT= Control a CM11A interface from the command line
BROKEN= "Checksum fails"
IS_INTERACTIVE= yes
ALL_TARGET= heyu
WRKSRC= ${WRKDIR}/heyu.dir
USE_REINPLACE= yes
MAN1= heyu.1
MAN5= x10config.5 \
x10sched.5
do-configure:
${PERL} -pi.orig -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile
${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile
pre-patch:
(cd ${WRKSRC} && ./Configure)

View File

@ -1 +1 @@
MD5 (x10_heyu.tgz) = a942f8ad37189317e6b119b1949de7c0
MD5 (x10_heyu.tgz) = 4622d3f9a85341f209656dff893c967e

View File

@ -1,35 +0,0 @@
--- Makefile.orig Sun Jun 3 01:19:23 2001
+++ Makefile Sun Jun 3 01:20:28 2001
@@ -5,7 +5,7 @@
MAN = /usr/local/man/man1
MAN5 = /usr/local/man/man5
GROUP = sys
-OWNER = bin
+OWNER = root
# set DFLAGS equal to:
# -DSYSV if using SYSTEM V
@@ -13,9 +13,9 @@
#This makefile is built for freebsd
CC = gcc
-CFLAGS = -g -O $(DFLAGS) -Wall
+#CFLAGS = -g -O $(DFLAGS) -Wall
LIBS = -lm -lc
-DFLAGS= -DHASSELECT -DNEEDGTIME -DFREEBSD
+DFLAGS= -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/tmp\"
# # The rest of the makefile should need no changes
## Makefile template for Heyu, a program to control an X10 CM11A computer
@@ -42,9 +42,10 @@
all: heyu dawndusk
heyu: $(OBJS) version.h
- $(CC) $(LDFLAGS) -o heyu $(OBJS) $(LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) $(DFLAGS) -o heyu $(OBJS) $(LIBS)
$(OBJS): x10.h
+ $(CC) $(CFLAGS) $(DFLAGS) -c $<
eeprom.o: eeprom.h