summaryrefslogtreecommitdiffstats
path: root/archivers/unrar/Makefile
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-05-19 20:29:13 +0000
committerache <ache@FreeBSD.org>1997-05-19 20:29:13 +0000
commitf4fb43c42e7c99522d8a8aaf0b2c74477a719929 (patch)
tree073a15448c310f905510f92e1bcc3cf33ccabb5f /archivers/unrar/Makefile
parent73df0db2955e78a71c55c6a1f4fa859acfd49e9c (diff)
downloadFreeBSD-ports-f4fb43c42e7c99522d8a8aaf0b2c74477a719929.zip
FreeBSD-ports-f4fb43c42e7c99522d8a8aaf0b2c74477a719929.tar.gz
Upgrade to 2.01
Diffstat (limited to 'archivers/unrar/Makefile')
-rw-r--r--archivers/unrar/Makefile23
1 files changed, 15 insertions, 8 deletions
diff --git a/archivers/unrar/Makefile b/archivers/unrar/Makefile
index a0e9f6b..3768fb0 100644
--- a/archivers/unrar/Makefile
+++ b/archivers/unrar/Makefile
@@ -1,22 +1,29 @@
# New ports collection makefile for: unrar
-# Version required: 1.01
+# Version required: 2.01
# Date created: 28 Dec 1994
# Whom: ache
#
-# $Id: Makefile,v 1.6 1996/05/16 08:59:57 asami Exp $
+# $Id: Makefile,v 1.7 1996/11/12 02:17:40 obrien Exp $
#
-DISTNAME= unrar101
-PKGNAME= unrar-1.01a
+DISTNAME= unrar-2.01
CATEGORIES= archivers
MASTER_SITES= ftp://ftp.relcom.ru/unix/arcers/
EXTRACT_SUFX= .tgz
-PATCH_SITES= $(MASTER_SITES)
-PATCHFILES= unrar101a.patch
-
MAINTAINER= ache@FreeBSD.ORG
-WRKSRC= ${WRKDIR}/unrar.101
+NO_WRKSUBDIR= Yes
+
+do-build:
+ cd ${WRKSRC} && \
+ ${CC} ${CFLAGS} -D_UNIX unrar.c -o unrar
+
+do-install:
+ install -d -m 755 -o ${SHAREOWN} -g ${SHAREGRP} \
+ ${PREFIX}/share/doc/unrar
+ cd ${WRKSRC} && ${INSTALL_PROGRAM} unrar ${PREFIX}/bin
+ cd ${WRKSRC} && ${INSTALL_MAN} readme.txt license.txt \
+ ${PREFIX}/share/doc/unrar
.include <bsd.port.mk>
OpenPOWER on IntegriCloud