aboutsummaryrefslogtreecommitdiff
path: root/sysutils/xsysstats
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2013-11-17 02:58:44 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2013-11-17 02:58:44 +0000
commit275ad11b0bf958423947a5c36bfd773e35828b14 (patch)
tree40790b9c1264c409cf4a893fd149594e444444c9 /sysutils/xsysstats
parent73115d280711ad59a190a3c0e5dea161cb9e3cb1 (diff)
Notes
Diffstat (limited to 'sysutils/xsysstats')
-rw-r--r--sysutils/xsysstats/Makefile6
-rw-r--r--sysutils/xsysstats/files/patch-Makefile.in17
2 files changed, 17 insertions, 6 deletions
diff --git a/sysutils/xsysstats/Makefile b/sysutils/xsysstats/Makefile
index d7c23f3d9973..a5e2a4fa1ff5 100644
--- a/sysutils/xsysstats/Makefile
+++ b/sysutils/xsysstats/Makefile
@@ -12,15 +12,13 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= System information display tool
GNU_CONFIGURE= yes
-USE_GMAKE= yes
+USES= gmake
USE_XORG= x11
-MAN1= xsysstats.1
ALL_TARGET= xsysstats
-PLIST_FILES= bin/xsysstats
+PLIST_FILES= bin/xsysstats man/man1/${PORTNAME}.1.gz
-NO_STAGE= yes
pre-patch:
${RM} ${WRKSRC}/headers.h && ${TOUCH} ${WRKSRC}/headers.h
diff --git a/sysutils/xsysstats/files/patch-Makefile.in b/sysutils/xsysstats/files/patch-Makefile.in
index d5efe31d1f40..2f28b5ad8033 100644
--- a/sysutils/xsysstats/files/patch-Makefile.in
+++ b/sysutils/xsysstats/files/patch-Makefile.in
@@ -1,5 +1,5 @@
---- Makefile.in.orig Tue May 30 08:07:38 2000
-+++ Makefile.in Sat Nov 9 08:50:56 2002
+--- Makefile.in.orig 2000-05-30 14:07:38.000000000 +0800
++++ Makefile.in 2013-11-16 23:47:26.000000000 +0800
@@ -1,6 +1,6 @@
-CC = @CC@
-CFLAGS = @CFLAGS@
@@ -10,3 +10,16 @@
LIBS = @LIBS@
LDFLAGS = @LDFLAGS@
+@@ -31,10 +31,8 @@ xysstats.o: xsysstats.c xsysstats.h conf
+ porting.o: xsysstats.c xsysstats.h config.h headers.h
+
+ install:
+- mkdir -p $(BINDIR)
+- $(INSTALL) xsysstats $(BINDIR)/xsysstats
+- mkdir -p $(MANDIR)
+- $(INSTALL) xsysstats.man $(MANDIR)/xsysstats.1
++ $(INSTALL) xsysstats $(DESTDIR)$(BINDIR)/xsysstats
++ $(INSTALL) xsysstats.man $(DESTDIR)$(MANDIR)/xsysstats.1
+
+ clean:
+ rm -f *.o core xsysstats