Revive MASTER_SITES.

Use BSD_INSTALL_*.
Updated www/urlget to 1.5:
- No functional changes (upstream added Debian packaging support).
This commit is contained in:
kim 2013-03-14 17:04:27 +00:00
parent 9dcb8dc02a
commit a0fdfda5dc
3 changed files with 30 additions and 9 deletions

View file

@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.13 2012/10/28 06:31:07 asau Exp $
# $NetBSD: Makefile,v 1.14 2013/03/14 17:04:27 kim Exp $
#
DISTNAME= urlget-1.4
DISTNAME= urlget-1.5
CATEGORIES= www
MASTER_SITES= ftp://ftp.gw.com/pub/people/kim/
MASTER_SITES= http://oss.gw.com/people/kim/
MAINTAINER= kim@tac.nyc.ny.us
COMMENT= Simple command-line tool to retrieve an HTTP URL
@ -16,8 +16,8 @@ BUILD_TARGET= svr4
BUILD_TARGET= bsd
.endif
INSTALL_TARGET= inst-all
INSTALL_MAKE_FLAGS+= DEST=${DESTDIR}${PREFIX} \
MANDIR=${DESTDIR}/${PREFIX}/${PKGMANDIR}/man1
INSTALL_MAKE_FLAGS+= DEST=${DESTDIR}${PREFIX}
INSTALL_MAKE_FLAGS+= MANDIR=${DESTDIR}/${PREFIX}/${PKGMANDIR}/man1
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1

View file

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.4 2005/02/24 14:08:39 wiz Exp $
$NetBSD: distinfo,v 1.5 2013/03/14 17:04:27 kim Exp $
SHA1 (urlget-1.4.tar.gz) = 063a3e5085172a88465a12bdf226c31676825972
RMD160 (urlget-1.4.tar.gz) = 621f3069c2830dd6c36a43ec9b22443c9556aea3
Size (urlget-1.4.tar.gz) = 4824 bytes
SHA1 (urlget-1.5.tar.gz) = 0427a3a9c53416225f91225d07aeebc59abc9d60
RMD160 (urlget-1.5.tar.gz) = 7afea8d415dbc3dfec9fafbc4e4bc15d38d35d52
Size (urlget-1.5.tar.gz) = 6832 bytes
SHA1 (patch-aa) = fb5e81415269c2ba54a41d1a3b993a8a5f960585

View file

@ -0,0 +1,20 @@
$NetBSD: patch-aa,v 1.3 2013/03/14 17:04:27 kim Exp $
--- Makefile.orig 1995-12-05 19:58:05.000000000 +0200
+++ Makefile 2013-03-14 18:55:55.000000000 +0200
@@ -61,13 +61,10 @@
inst-all: install install.man
install:
- -$(MV) $(BINDIR)/urlget $(BINDIR)/urlget.old
- -$(RM) $(BINDIR)/urlget.old
- $(INSTALL) -c -s -m 0555 urlget $(BINDIR)
+ $(BSD_INSTALL_PROGRAM) urlget $(BINDIR)
install.man:
- -$(RM) $(MANDIR)/urlget.$(MANEXT)
- $(INSTALL) -c -m 0444 urlget.man $(MANDIR)/urlget.$(MANEXT)
+ $(BSD_INSTALL_MAN) urlget.man $(MANDIR)/urlget.$(MANEXT)
clean:
$(RM) urlget urlget.tar.gz *.o *~