fixed $(DESTDIR), diff reported back to author

This commit is contained in:
reinhard 2000-05-30 11:37:40 +00:00
parent b020c339ef
commit d95cd2eba7
3 changed files with 20 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2000/05/29 17:15:37 reinhard Exp $
# $OpenBSD: Makefile,v 1.3 2000/05/30 11:37:40 reinhard Exp $
# Original from: Jaakko Heinonen <jheinonen@bigfoot.com>
DISTNAME= abook-0.4.7
@ -18,13 +18,9 @@ PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
DISTFILES= abook-0.4.7
USE_AUTOCONF= Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/abook ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/abook.1 ${PREFIX}/man/man1
CONFIGURE_ARGS= --prefix=${PREFIX}
post-install:
strip ${PREFIX}/bin/abook

View File

@ -1,3 +1,3 @@
MD5 (abook-0.4.7) = f67456a997ccfb3b3b9f0bdccdd05d06
RMD160 (abook-0.4.7) = 9cc7021eab86c2a0f898aa0a6124c4e3e020f416
SHA1 (abook-0.4.7) = 205778f68564d9f36aa5679a0463eee0ba559112
MD5 (abook-0.4.7.tar.gz) = f67456a997ccfb3b3b9f0bdccdd05d06
RMD160 (abook-0.4.7.tar.gz) = 9cc7021eab86c2a0f898aa0a6124c4e3e020f416
SHA1 (abook-0.4.7.tar.gz) = 205778f68564d9f36aa5679a0463eee0ba559112

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-Makefile.in,v 1.1 2000/05/30 11:37:40 reinhard Exp $
# fix $(DESTDIR) for man-page; reported back to author
--- Makefile.in.orig Sun May 28 14:05:41 2000
+++ Makefile.in Tue May 30 12:53:59 2000
@@ -327,8 +327,8 @@ maintainer-clean-generic clean mostlycle
install-data-local:
- $(mkinstalldirs) $(mandir)/man1
- $(INSTALL_DATA) $(srcdir)/abook.1 $(mandir)/man1/
+ $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
+ $(INSTALL_DATA) $(srcdir)/abook.1 $(DESTDIR)$(mandir)/man1/
uninstall-local:
-rm -f $(mandir)/man1/abook.1