View | Details | Raw Unified | Return to bug 16283
Collapse All | Expand All

(-)sysutils/rtty/Makefile (-7 / +7 lines)
Lines 1-17 Link Here
1
# New ports collection makefile for:    rtty
1
# New ports collection makefile for:	rtty
2
# Version required:     3.2
2
# Version required:	3.2
3
# Date created:         24 Aug 1996
3
# Date created:		24 Aug 1996
4
# Whom:                 jkh
4
# Whom:			jkh
5
#
5
#
6
# Author:		Paul Vixie / Internet Software Consortium
6
# Author:		Paul Vixie / Internet Software Consortium
7
#
7
#
8
# $FreeBSD: ports/sysutils/rtty/Makefile,v 1.4 1999/08/31 02:00:02 peter Exp $
8
# $FreeBSD: ports/sysutils/rtty/Makefile,v 1.4 1999/08/31 02:00:02 peter Exp $
9
#
9
#
10
10
11
DISTNAME=       rtty-3.2
11
DISTNAME=	rtty-3.2
12
CATEGORIES=	sysutils
12
CATEGORIES=	sysutils
13
MASTER_SITES=   ftp://ftp.vix.com/pub/vixie/
13
MASTER_SITES=	ftp://ftp.vix.com/pub/vixie/
14
14
15
NO_WRKSUBDIR=   yes     
15
NO_WRKSUBDIR=	yes     
16
16
17
.include <bsd.port.mk>
17
.include <bsd.port.mk>
(-)sysutils/rtty/patches/patch-aa (-3 / +29 lines)
Lines 1-13 Link Here
1
--- Makefile.orig	Fri Aug 23 16:46:42 1996
1
--- Makefile.orig	Sat Aug 24 08:46:42 1996
2
+++ Makefile	Sat Aug 24 02:14:12 1996
2
+++ Makefile	Fri Jan 21 23:09:45 2000
3
@@ -19,12 +19,12 @@
4
 
5
 VPATH = ../src
6
 
7
-DESTROOT =
8
-DESTPATH = $(DESTROOT)/usr/local/rtty
9
+DESTROOT = ${PREFIX}
10
+DESTPATH = $(DESTROOT)/rtty
11
 DESTBIN = $(DESTPATH)/bin
12
 
13
-CC = cc
14
-CDEBUG = -O -g
15
+CC ?= cc
16
+#CDEBUG = -O -g
17
 #
18
 # use -U to undefine, -D to define
19
 #	DEBUG		include code to help debug this software
3
@@ -38,8 +38,8 @@
20
@@ -38,8 +38,8 @@
4
 CDEFS = -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNEED_INET_ATON \
21
 CDEFS = -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNEED_INET_ATON \
5
 	-UNO_SOCKADDR_LEN -UNO_HSTRERROR
22
 	-UNO_SOCKADDR_LEN -UNO_HSTRERROR
6
 #
23
 #
7
-CFLAGS = $(CDEBUG) $(CDEFS) -I/usr/local/include
24
-CFLAGS = $(CDEBUG) $(CDEFS) -I/usr/local/include
8
-LIBS = 
25
-LIBS = 
9
+CFLAGS = $(CDEBUG) $(CDEFS)
26
+CFLAGS += $(CDEBUG) $(CDEFS)
10
+LIBS = -lcrypt
27
+LIBS = -lcrypt
11
 #(if WANT_TCPIP defined and this isn't in your libc)
28
 #(if WANT_TCPIP defined and this isn't in your libc)
12
 # -lresolv
29
 # -lresolv
13
 #(if the resolver needs it, which BIND>=4.9's will on BSD>=4.4 systems)
30
 #(if the resolver needs it, which BIND>=4.9's will on BSD>=4.4 systems)
31
@@ -63,7 +63,7 @@
32
 		test -d $(DESTPATH)/$$x || mkdir $(DESTPATH)/$$x; \
33
 	done
34
 	set -x; for x in $(BINARY); do \
35
-		install -c -m 111 $$x $(DESTBIN)/$$x; \
36
+		install -c -s -m 111 $$x $(DESTBIN)/$$x; \
37
 	done
38
 	set -x; for x in $(SCRIPT); do \
39
 		install -c -m 555 $$x $(DESTBIN)/$$x; \
(-)sysutils/rtty/pkg/PLIST (-10 / +15 lines)
Lines 1-15 Link Here
1
rtty/bin/ttysrv
2
rtty/bin/rtty
3
rtty/bin/locbrok
4
rtty/bin/Startup
1
rtty/bin/Startup
2
rtty/bin/agelog
3
rtty/bin/agelogs
5
rtty/bin/console
4
rtty/bin/console
5
rtty/bin/locbrok
6
rtty/bin/rtty
6
rtty/bin/startsrv
7
rtty/bin/startsrv
7
rtty/bin/agelogs
8
rtty/bin/ttysrv
8
rtty/bin/agelog
9
@exec mkdir -p %D/rtty/dev
10
@exec mkdir -p %D/rtty/log
11
@exec mkdir -p %D/rtty/opt
12
@exec mkdir -p %D/rtty/pid
13
@exec mkdir -p %D/rtty/sock
14
@unexec rmdir %D/rtty/sock 2>/dev/null || true
15
@unexec rmdir %D/rtty/pid 2>/dev/null || true
16
@unexec rmdir %D/rtty/opt 2>/dev/null || true
17
@unexec rmdir %D/rtty/log 2>/dev/null || true
18
@unexec rmdir %D/rtty/dev 2>/dev/null || true
9
@dirrm rtty/bin
19
@dirrm rtty/bin
10
@dirrm rtty/dev
11
@dirrm rtty/log
12
@dirrm rtty/opt
13
@dirrm rtty/pid
14
@dirrm rtty/sock
15
@dirrm rtty
20
@dirrm rtty

Return to bug 16283