upgrade to shtool 1.5.0

This commit is contained in:
brad 2000-07-01 22:42:28 +00:00
parent e8d187bbae
commit 81a86715f1
3 changed files with 82 additions and 8 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.20 2000/06/22 04:39:07 brad Exp $
# $OpenBSD: Makefile,v 1.21 2000/07/01 22:42:28 brad Exp $
# $FreeBSD: Makefile,v 1.3 1999/04/29 15:32:56 rse Exp $
DISTNAME= shtool-1.4.9
DISTNAME= shtool-1.5.0
CATEGORIES= devel
NEED_VERSION= 1.307
NEED_VERSION= 1.310
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= shtool
@ -18,6 +18,4 @@ PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
FAKE_FLAGS= prefix='${WRKINST}${PREFIX}'
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (shtool-1.4.9.tar.gz) = b71a161255622a807b5e1f7c604d61e5
RMD160 (shtool-1.4.9.tar.gz) = c47d5052cdde302fb65f614dc00a3eb36807cd0c
SHA1 (shtool-1.4.9.tar.gz) = dde065794fa7c024dec37b369a294507cb98e333
MD5 (shtool-1.5.0.tar.gz) = 545d329ea5e2a23f5261f88f6c0761ea
RMD160 (shtool-1.5.0.tar.gz) = 9264cb16a02e48f8ef0d3196d4d518c918f3f275
SHA1 (shtool-1.5.0.tar.gz) = 49aaa1ea83b8fcd4870abaaadcf3b92ecae11af0

View File

@ -0,0 +1,76 @@
--- Makefile.in.orig Sat Jul 1 18:32:37 2000
+++ Makefile.in Sat Jul 1 18:35:20 2000
@@ -29,6 +29,8 @@
aclocaldir = $(datadir)/aclocal
pkgdatadir = $(datadir)/shtool
+DESTDIR =
+
SHELL = /bin/sh
PERL = @PERL@
POD2MAN = @POD2MAN@
@@ -90,38 +92,38 @@
@$(SHELL) test.sh
install: all
- ./shtool mkdir -f -p -m 755 $(prefix)
- ./shtool mkdir -f -p -m 755 $(bindir)
- ./shtool mkdir -f -p -m 755 $(mandir)/man1
- ./shtool mkdir -f -p -m 755 $(aclocaldir)
- ./shtool mkdir -f -p -m 755 $(pkgdatadir)
- ./shtool install -c -m 755 shtool $(bindir)/shtool
- ./shtool install -c -m 755 shtoolize $(bindir)/shtoolize
- ./shtool install -c -m 644 shtool.1 $(mandir)/man1/shtool.1
- ./shtool install -c -m 644 shtoolize.1 $(mandir)/man1/shtoolize.1
- ./shtool install -c -m 644 shtool.m4 $(aclocaldir)/shtool.m4
+ ./shtool mkdir -f -p -m 755 $(DESTDIR)$(prefix)
+ ./shtool mkdir -f -p -m 755 $(DESTDIR)$(bindir)
+ ./shtool mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man1
+ ./shtool mkdir -f -p -m 755 $(DESTDIR)$(aclocaldir)
+ ./shtool mkdir -f -p -m 755 $(DESTDIR)$(pkgdatadir)
+ ./shtool install -c -m 755 shtool $(DESTDIR)$(bindir)/shtool
+ ./shtool install -c -m 755 shtoolize $(DESTDIR)$(bindir)/shtoolize
+ ./shtool install -c -m 644 shtool.1 $(DESTDIR)$(mandir)/man1/shtool.1
+ ./shtool install -c -m 644 shtoolize.1 $(DESTDIR)$(mandir)/man1/shtoolize.1
+ ./shtool install -c -m 644 shtool.m4 $(DESTDIR)$(aclocaldir)/shtool.m4
@for script in sh.common $(SCRIPTS); do \
- echo "./shtool install -c -m 644 $$script $(pkgdatadir)/$$script"; \
- ./shtool install -c -m 644 $$script $(pkgdatadir)/$$script; \
+ echo "./shtool install -c -m 644 $$script $(DESTDIR)$(pkgdatadir)/$$script"; \
+ ./shtool install -c -m 644 $$script $(DESTDIR)$(pkgdatadir)/$$script; \
done
uninstall:
@for script in sh.common $(SCRIPTS); do \
- echo "$(RM) $(pkgdatadir)/$$script"; \
- $(RM) $(pkgdatadir)/$$script; \
+ echo "$(RM) $(DESTDIR)$(pkgdatadir)/$$script"; \
+ $(RM) $(DESTDIR)$(pkgdatadir)/$$script; \
done
- $(RM) $(aclocaldir)/shtool.m4
- $(RM) $(mandir)/man1/shtoolize.1
- $(RM) $(mandir)/man1/shtool.1
- $(RM) $(bindir)/shtoolize
- $(RM) $(bindir)/shtool
- $(RMDIR) $(aclocaldir) >/dev/null 2>&1 || $(TRUE)
- $(RMDIR) $(pkgdatadir) >/dev/null 2>&1 || $(TRUE)
- $(RMDIR) $(datadir) >/dev/null 2>&1 || $(TRUE)
- $(RMDIR) $(mandir)/man1 >/dev/null 2>&1 || $(TRUE)
- $(RMDIR) $(mandir) >/dev/null 2>&1 || $(TRUE)
- $(RMDIR) $(bindir) >/dev/null 2>&1 || $(TRUE)
- $(RMDIR) $(prefix) >/dev/null 2>&1 || $(TRUE)
+ $(RM) $(DESTDIR)$(aclocaldir)/shtool.m4
+ $(RM) $(DESTDIR)$(mandir)/man1/shtoolize.1
+ $(RM) $(DESTDIR)$(mandir)/man1/shtool.1
+ $(RM) $(DESTDIR)$(bindir)/shtoolize
+ $(RM) $(DESTDIR)$(bindir)/shtool
+ $(RMDIR) $(DESTDIR)$(aclocaldir) >/dev/null 2>&1 || $(TRUE)
+ $(RMDIR) $(DESTDIR)$(pkgdatadir) >/dev/null 2>&1 || $(TRUE)
+ $(RMDIR) $(DESTDIR)$(datadir) >/dev/null 2>&1 || $(TRUE)
+ $(RMDIR) $(DESTDIR)$(mandir)/man1 >/dev/null 2>&1 || $(TRUE)
+ $(RMDIR) $(DESTDIR)$(mandir) >/dev/null 2>&1 || $(TRUE)
+ $(RMDIR) $(DESTDIR)$(bindir) >/dev/null 2>&1 || $(TRUE)
+ $(RMDIR) $(DESTDIR)$(prefix) >/dev/null 2>&1 || $(TRUE)
clean:
$(RM) shtool shtool.1 shtoolize.1