View | Details | Raw Unified | Return to bug 185354 | Differences between
and this patch

Collapse All | Expand All

(-)./Makefile (-2 / +2 lines)
Lines 11-17 Link Here
11
MAINTAINER=	5u623l20@gmail.com
11
MAINTAINER=	5u623l20@gmail.com
12
COMMENT=	MB monitor for LM78/79, W8378x, AS99127F, VT82C686 and ADM9240
12
COMMENT=	MB monitor for LM78/79, W8378x, AS99127F, VT82C686 and ADM9240
13
LICENSE=	BSD
13
LICENSE=	BSD3CLAUSE
14
PORTSCOUT=	limit:^[0-9]+$
14
PORTSCOUT=	limit:^[0-9]+$
15
PATCH_SITES+=	${MASTER_SITES}
15
PATCH_SITES+=	${MASTER_SITES}
Lines 49-55 Link Here
49
.endif
49
.endif
50
post-patch:
50
post-patch:
51
	@${REINPLACE_CMD} -e 's+/usr/share/doc/mbmon+${STAGEIR}${DOCSDIR}+' ${WRKSRC}/mbmon.1
51
	@${REINPLACE_CMD} -e 's+/usr/share/doc/mbmon+${DOCSDIR}+' ${WRKSRC}/mbmon.1
52
	@${REINPLACE_CMD} -e 's+%%STAGEDIR%%%%PREFIX%%+${STAGEDIR}${PREFIX}+' ${WRKSRC}/Makefile.in
52
	@${REINPLACE_CMD} -e 's+%%STAGEDIR%%%%PREFIX%%+${STAGEDIR}${PREFIX}+' ${WRKSRC}/Makefile.in
53
.if !${PORT_OPTIONS:MX11}
53
.if !${PORT_OPTIONS:MX11}
54
	@${REINPLACE_CMD} -e '/p xmbmon/d' ${WRKSRC}/Makefile.in
54
	@${REINPLACE_CMD} -e '/p xmbmon/d' ${WRKSRC}/Makefile.in
(-)./files/patch-Makefile.in (-5 / +7 lines)
Lines 34-48 Link Here
34
 mbmon: mbmon.c mbmon.h methods.h pci_pm.h smbuses.h sensors.h $(OBJS)
34
 mbmon: mbmon.c mbmon.h methods.h pci_pm.h smbuses.h sensors.h $(OBJS)
35
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ mbmon.c $(OBJS) $(LIBS)
35
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ mbmon.c $(OBJS) $(LIBS)
36
@@ -135,10 +135,8 @@
36
@@ -133,12 +133,8 @@
37
 	$(RM) Makefile config.cache config.log config.h config.status
38
37
 install: $(PROGRAM)
39
 install: $(PROGRAM)
38
 	$(INSTALL) -o root -g wheel -m 4555 -c -p mbmon $(INST_DIR)
40
-	$(INSTALL) -o root -g wheel -m 4555 -c -p mbmon $(INST_DIR)
39
 	$(INSTALL) -o root -g wheel -m 4555 -c -p xmbmon $(INST_XDIR)
41
-	$(INSTALL) -o root -g wheel -m 4555 -c -p xmbmon $(INST_XDIR)
40
-
42
-
41
-install-man: $(MANPAGE)
43
-install-man: $(MANPAGE)
44
+	$(INSTALL) -o root -g wheel -m 4555 -c -p -s mbmon $(INST_DIR)
42
 	$(INSTALL) -o root -g wheel -m 444 -c -p mbmon.1 $(INST_MANDIR)
45
 	$(INSTALL) -o root -g wheel -m 444 -c -p mbmon.1 $(INST_MANDIR)
43
-	$(INSTALL) -o root -g wheel -m 444 -c -p xmbmon.1x $(INST_MANXDIR)
46
-	$(INSTALL) -o root -g wheel -m 444 -c -p xmbmon.1x $(INST_MANXDIR)
44
+	$(INSTALL) -o root -g wheel -m 444 -c -p xmbmon.1x $(INST_MANDIR)
47
45
46
 lint:
48
 lint:
47
 	$(LINT) $(INCLUDES) $(DEFS) $(FONTDEFINES) $(SRCS) -lm
49
 	$(LINT) $(INCLUDES) $(DEFS) $(FONTDEFINES) $(SRCS) -lm

Return to bug 185354