From da0698d22caf1dc8fbad517d6ef5354a0d64abf2 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sun, 16 May 1999 23:47:44 +0000 Subject: Make this port PREFIX friendly. --- converters/mpack/Makefile | 5 +++-- converters/mpack/files/patch-aa | 21 +++++++++++++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) (limited to 'converters') diff --git a/converters/mpack/Makefile b/converters/mpack/Makefile index b72b2280ac1a..e339614c07fb 100644 --- a/converters/mpack/Makefile +++ b/converters/mpack/Makefile @@ -3,7 +3,7 @@ # Date created: 1 May 1995 # Whom: ache # -# $Id: Makefile,v 1.6 1996/11/18 14:04:07 asami Exp $ +# $Id: Makefile,v 1.7 1997/04/26 23:55:23 asami Exp $ # DISTNAME= mpack-1.5-src @@ -15,7 +15,8 @@ EXTRACT_SUFX= .tar.Z MAINTAINER= ache@FreeBSD.ORG WRKSRC= ${WRKDIR}/mpack -MAKEFLAGS= -DDESTDIR=${PREFIX} -f +MAKEFLAGS= -f +MAKE_ENV+= DESTDIR=${PREFIX} MAN1= mpack.1 munpack.1 .include diff --git a/converters/mpack/files/patch-aa b/converters/mpack/files/patch-aa index 08171df76675..a71a359dc72f 100644 --- a/converters/mpack/files/patch-aa +++ b/converters/mpack/files/patch-aa @@ -1,5 +1,5 @@ -*** Makefile.bak Fri Feb 17 00:39:41 1995 ---- Makefile Mon May 1 18:09:04 1995 +*** Makefile.orig Thu Feb 16 15:39:41 1995 +--- Makefile Sat May 15 19:18:04 1999 *************** *** 1,5 **** ! CFLAGS=$(OPT) $(DEFINES) @@ -14,6 +14,23 @@ #Uncomment the following line if your system does not have strchr() *************** +*** 28,34 **** + UNPACKOBJS = unixunpk.o decode.o uudecode.o codes.o unixos.o string.o \ + part.o xmalloc.o md5c.o getopt.o + +! DESTDIR=/usr/local + + all: mpack munpack + +--- 28,34 ---- + UNPACKOBJS = unixunpk.o decode.o uudecode.o codes.o unixos.o string.o \ + part.o xmalloc.o md5c.o getopt.o + +! DESTDIR?=/usr/local + + all: mpack munpack + +*************** *** 42,51 **** -mkdir $(DESTDIR)/bin -mkdir $(DESTDIR)/man -- cgit v1.2.3