summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-05-16 23:47:44 +0000
committerSteve Price <steve@FreeBSD.org>1999-05-16 23:47:44 +0000
commitda0698d22caf1dc8fbad517d6ef5354a0d64abf2 (patch)
tree7012308b659c56b93952091a0661243881c693a0 /converters
parentNew MASTER_SITE and add WWW to description. (diff)
Make this port PREFIX friendly.
Notes
Notes: svn path=/head/; revision=18850
Diffstat (limited to 'converters')
-rw-r--r--converters/mpack/Makefile5
-rw-r--r--converters/mpack/files/patch-aa21
2 files changed, 22 insertions, 4 deletions
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 <bsd.port.mk>
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