update to 2.9 .
ok ajacoutot@
This commit is contained in:
parent
e56323e519
commit
640631db76
@ -1,9 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2007/09/15 21:14:01 merdely Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2007/11/04 19:51:29 aanriot Exp $
|
||||
ONLY_FOR_ARCHS= amd64 i386
|
||||
|
||||
COMMENT= dump DMI/SMBIOS contents in human-readable format
|
||||
DISTNAME= dmidecode-2.6
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
DISTNAME= dmidecode-2.9
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://savannah.nongnu.org/download/dmidecode/
|
||||
|
||||
@ -20,7 +19,7 @@ NO_REGRESS= Yes
|
||||
WANTLIB= c
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dmidecode
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dmidecode
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dmidecode/
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dmidecode/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (dmidecode-2.6.tar.gz) = V7ODBgTx87ehsvLCK3pglA==
|
||||
RMD160 (dmidecode-2.6.tar.gz) = 5IbQ8G++4oYkVEqFrgDSNnSl1mU=
|
||||
SHA1 (dmidecode-2.6.tar.gz) = c5AVtng3Fc1iZGNwXgVhnzFoY10=
|
||||
SHA256 (dmidecode-2.6.tar.gz) = Vj1jja3wXipdCqGMkQ/QgaR808uFEqg0Bb5nT2tZocw=
|
||||
SIZE (dmidecode-2.6.tar.gz) = 47761
|
||||
MD5 (dmidecode-2.9.tar.gz) = H4BGkhaBeMGajshtFH+8dw==
|
||||
RMD160 (dmidecode-2.9.tar.gz) = MLKFU00u7WMRmBGA5IMMSqnDEho=
|
||||
SHA1 (dmidecode-2.9.tar.gz) = WYxK7obZUkuzaTbpSUrZ6Wit/Tg=
|
||||
SHA256 (dmidecode-2.9.tar.gz) = TPfZSnSBG8CK5P3CLD5RcqkhKCRxQObf2jsuqFf4IfI=
|
||||
SIZE (dmidecode-2.9.tar.gz) = 56716
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2005/03/25 07:23:37 jolan Exp $
|
||||
--- Makefile.orig Mon Feb 28 14:43:00 2005
|
||||
+++ Makefile Fri Mar 25 01:16:27 2005
|
||||
@@ -8,23 +8,23 @@
|
||||
$OpenBSD: patch-Makefile,v 1.2 2007/11/04 19:51:29 aanriot Exp $
|
||||
--- Makefile.orig Fri Feb 16 12:00:12 2007
|
||||
+++ Makefile Sat Oct 27 13:33:42 2007
|
||||
@@ -8,25 +8,25 @@
|
||||
# Licensed under the GNU Public License.
|
||||
#
|
||||
|
||||
@ -9,7 +9,7 @@ $OpenBSD: patch-Makefile,v 1.1.1.1 2005/03/25 07:23:37 jolan Exp $
|
||||
-CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
|
||||
+#CC = gcc
|
||||
+CFLAGS += -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
|
||||
-Wcast-align -Wwrite-strings -Wmissing-prototypes
|
||||
-Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef
|
||||
#CFLAGS += -DBIGENDIAN
|
||||
#CFLAGS += -DALIGNMENT_WORKAROUND
|
||||
|
||||
@ -25,46 +25,51 @@ $OpenBSD: patch-Makefile,v 1.1.1.1 2005/03/25 07:23:37 jolan Exp $
|
||||
-DESTDIR =
|
||||
-prefix = /usr/local
|
||||
-sbindir = $(prefix)/sbin
|
||||
-mandir = $(prefix)/man
|
||||
-mandir = $(prefix)/share/man
|
||||
+#DESTDIR =
|
||||
+#prefix = /usr/local
|
||||
+sbindir = $(PREFIX)/sbin
|
||||
+mandir = $(PREFIX)/man
|
||||
man8dir = $(mandir)/man8
|
||||
-docdir = $(prefix)/share/doc/dmidecode
|
||||
+docdir = $(PREFIX)/share/doc/dmidecode
|
||||
|
||||
all : dmidecode biosdecode ownership vpddecode
|
||||
@@ -72,21 +72,21 @@ strip : all
|
||||
strip dmidecode biosdecode ownership vpddecode
|
||||
INSTALL := install
|
||||
INSTALL_DATA := $(INSTALL) -m 644
|
||||
@@ -100,28 +100,28 @@ install : install-bin install-man install-doc
|
||||
uninstall : uninstall-bin uninstall-man uninstall-doc
|
||||
|
||||
install : all
|
||||
- install -d $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
|
||||
- install -m 755 dmidecode $(DESTDIR)$(sbindir)
|
||||
- install -m 755 biosdecode $(DESTDIR)$(sbindir)
|
||||
- install -m 755 ownership $(DESTDIR)$(sbindir)
|
||||
- install -m 755 vpddecode $(DESTDIR)$(sbindir)
|
||||
- install -m 644 man/dmidecode.8 $(DESTDIR)$(man8dir)
|
||||
- install -m 644 man/biosdecode.8 $(DESTDIR)$(man8dir)
|
||||
- install -m 644 man/ownership.8 $(DESTDIR)$(man8dir)
|
||||
- install -m 644 man/vpddecode.8 $(DESTDIR)$(man8dir)
|
||||
+ install -d $(sbindir) $(man8dir)
|
||||
+ install -m 755 dmidecode $(sbindir)
|
||||
+ install -m 755 biosdecode $(sbindir)
|
||||
+ install -m 755 ownership $(sbindir)
|
||||
+ install -m 755 vpddecode $(sbindir)
|
||||
+ install -m 644 man/dmidecode.8 $(man8dir)
|
||||
+ install -m 644 man/biosdecode.8 $(man8dir)
|
||||
+ install -m 644 man/ownership.8 $(man8dir)
|
||||
+ install -m 644 man/vpddecode.8 $(man8dir)
|
||||
install-bin : $(PROGRAMS)
|
||||
- $(INSTALL_DIR) $(DESTDIR)$(sbindir)
|
||||
+ $(INSTALL_DIR) $(sbindir)
|
||||
for program in $(PROGRAMS) ; do \
|
||||
- $(INSTALL_PROGRAM) $$program $(DESTDIR)$(sbindir) ; done
|
||||
+ $(INSTALL_PROGRAM) $$program $(sbindir) ; done
|
||||
|
||||
uninstall :
|
||||
- rm -f $(DESTDIR)$(sbindir)/dmidecode $(DESTDIR)$(man8dir)/dmidecode.8
|
||||
- rm -f $(DESTDIR)$(sbindir)/biosdecode $(DESTDIR)$(man8dir)/biosdecode.8
|
||||
- rm -f $(DESTDIR)$(sbindir)/ownership $(DESTDIR)$(man8dir)/ownership.8
|
||||
- rm -f $(DESTDIR)$(sbindir)/vpddecode $(DESTDIR)$(man8dir)/vpddecode.8
|
||||
+ rm -f $(sbindir)/dmidecode $(man8dir)/dmidecode.8
|
||||
+ rm -f $(sbindir)/biosdecode $(man8dir)/biosdecode.8
|
||||
+ rm -f $(sbindir)/ownership $(man8dir)/ownership.8
|
||||
+ rm -f $(sbindir)/vpddecode $(man8dir)/vpddecode.8
|
||||
uninstall-bin :
|
||||
for program in $(PROGRAMS) ; do \
|
||||
$(RM) $(DESTDIR)$(sbindir)/$$program ; done
|
||||
|
||||
clean :
|
||||
rm -f *.o dmidecode biosdecode ownership vpddecode core
|
||||
install-man :
|
||||
- $(INSTALL_DIR) $(DESTDIR)$(man8dir)
|
||||
+ $(INSTALL_DIR) $(man8dir)
|
||||
for program in $(PROGRAMS) ; do \
|
||||
- $(INSTALL_DATA) man/$$program.8 $(DESTDIR)$(man8dir) ; done
|
||||
+ $(INSTALL_DATA) man/$$program.8 $(man8dir) ; done
|
||||
|
||||
uninstall-man :
|
||||
for program in $(PROGRAMS) ; do \
|
||||
$(RM) $(DESTDIR)$(man8dir)/$$program.8
|
||||
|
||||
install-doc :
|
||||
- $(INSTALL_DIR) $(DESTDIR)$(docdir)
|
||||
- $(INSTALL_DATA) README $(DESTDIR)$(docdir)
|
||||
- $(INSTALL_DATA) CHANGELOG $(DESTDIR)$(docdir)
|
||||
- $(INSTALL_DATA) AUTHORS $(DESTDIR)$(docdir)
|
||||
+ $(INSTALL_DIR) $(docdir)
|
||||
+ $(INSTALL_DATA) README $(docdir)
|
||||
+ $(INSTALL_DATA) CHANGELOG $(docdir)
|
||||
+ $(INSTALL_DATA) AUTHORS $(docdir)
|
||||
|
||||
uninstall-doc :
|
||||
$(RM) -r $(DESTDIR)$(docdir)
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/03/25 07:23:37 jolan Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2007/11/04 19:51:29 aanriot Exp $
|
||||
@man man/man8/biosdecode.8
|
||||
@man man/man8/dmidecode.8
|
||||
@man man/man8/ownership.8
|
||||
@ -8,4 +8,6 @@ sbin/dmidecode
|
||||
sbin/ownership
|
||||
sbin/vpddecode
|
||||
share/doc/dmidecode/
|
||||
share/doc/dmidecode/AUTHORS
|
||||
share/doc/dmidecode/CHANGELOG
|
||||
share/doc/dmidecode/README
|
||||
|
Loading…
Reference in New Issue
Block a user