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

(-)sysutils/freecolor/Makefile (+8 lines)
Lines 15-21 COMMENT= Displays free memory as a bargr Link Here
15
15
16
LIB_DEPENDS=	statgrab.8:${PORTSDIR}/devel/libstatgrab
16
LIB_DEPENDS=	statgrab.8:${PORTSDIR}/devel/libstatgrab
17
17
18
ONLY_FOR_ARCHS=	i386
19
18
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
21
MAKE_ENV+=	INSTALL="${INSTALL}" INSTALL_PROGRAM="${INSTALL_PROGRAM}"
19
PLIST_FILES=	bin/freecolor
22
PLIST_FILES=	bin/freecolor
20
23
24
.if !defined(WITHOUT_SETGID)
25
BINGRP?=	kmem
26
BINMODE?=	2555
27
.endif
28
21
.include <bsd.port.mk>
29
.include <bsd.port.mk>
(-)sysutils/freecolor/files/patch-Makefile.in (-3 / +15 lines)
Lines 1-11 Link Here
1
--- Makefile.in.bak	Sun Oct 30 09:50:03 2005
1
--- Makefile.in.bak	Sun Oct 30 09:50:03 2005
2
+++ Makefile.in	Sun Oct 30 09:50:13 2005
2
+++ Makefile.in	Sun Oct 30 09:50:13 2005
3
@@ -21,7 +21,7 @@
3
--- Makefile.in.orig	2005-06-04 18:52:52.000000000 +0400
4
+++ Makefile.in	2010-07-26 08:36:07.199484222 +0400
5
@@ -2,7 +2,6 @@ CC = @CC@
6
 CFLAGS = -Wall @CFLAGS@ @DEFS@
7
 CPPFLAGS = @CPPFLAGS@ @DEFS@
8
 LDFLAGS = @LDFLAGS@ @LIBS@
9
-INSTALL = @INSTALL@
10
 
11
 prefix = @prefix@
12
 mandir = @mandir@
13
@@ -19,9 +18,8 @@ install-over-free:
14
 	cp -i free `which free`
15
 
4
 install:
16
 install:
5
 	strip free
17
-	strip free
6
 	-$(INSTALL) -d $(bindir)
18
 	-$(INSTALL) -d $(bindir)
7
-	$(INSTALL) -m 755 free $(bindir)/freecolor
19
-	$(INSTALL) -m 755 free $(bindir)/freecolor
8
+	$(INSTALL) -g kmem -m 2755 free $(bindir)/freecolor
20
+	$(INSTALL_PROGRAM) free $(bindir)/freecolor
9
 
21
 
10
 clean:
22
 clean:
11
 	rm -f core free *~
23
 	rm -f core free *~

Return to bug 148948