head	1.25;
access;
symbols
	RELEASE_5_0_0:1.24
	RELEASE_4_7_0:1.24
	RELEASE_4_6_2:1.22
	RELEASE_4_6_1:1.22
	RELEASE_4_6_0:1.22
	RELEASE_5_0_DP1:1.22
	RELEASE_4_5_0:1.22
	RELEASE_4_4_0:1.20
	RELEASE_4_3_0:1.20
	RELEASE_4_2_0:1.16
	RELEASE_4_1_1:1.15
	RELEASE_4_1_0:1.15
	RELEASE_3_5_0:1.14
	RELEASE_4_0_0:1.11
	RELEASE_3_4_0:1.9
	RELEASE_3_3_0:1.7
	RELEASE_3_2_0:1.3
	v_linux_2_50:1.1.1.1
	FUJISHIMA:1.1.1;
locks; strict;
comment	@# @;


1.25
date	2003.02.03.17.11.47;	author sf;	state dead;
branches;
next	1.24;

1.24
date	2002.09.08.00.15.50;	author sf;	state Exp;
branches;
next	1.23;

1.23
date	2002.05.28.03.22.31;	author obrien;	state Exp;
branches;
next	1.22;

1.22
date	2001.10.05.07.54.21;	author sf;	state Exp;
branches;
next	1.21;

1.21
date	2001.10.01.01.45.35;	author sf;	state Exp;
branches;
next	1.20;

1.20
date	2001.03.16.22.18.43;	author sf;	state Exp;
branches;
next	1.19;

1.19
date	2001.03.15.21.16.18;	author sf;	state Exp;
branches;
next	1.18;

1.18
date	2001.03.09.19.50.10;	author sf;	state Exp;
branches;
next	1.17;

1.17
date	2000.12.30.21.58.38;	author sf;	state Exp;
branches;
next	1.16;

1.16
date	2000.10.08.10.19.07;	author asami;	state Exp;
branches;
next	1.15;

1.15
date	2000.07.07.19.16.23;	author steve;	state Exp;
branches;
next	1.14;

1.14
date	2000.05.29.03.57.08;	author steve;	state Exp;
branches;
next	1.13;

1.13
date	2000.04.17.00.16.50;	author reg;	state Exp;
branches;
next	1.12;

1.12
date	2000.04.08.23.17.47;	author mharo;	state Exp;
branches;
next	1.11;

1.11
date	2000.02.28.08.33.12;	author asami;	state Exp;
branches;
next	1.10;

1.10
date	99.12.23.02.37.07;	author jedgar;	state Exp;
branches;
next	1.9;

1.9
date	99.11.26.18.06.32;	author steve;	state Exp;
branches;
next	1.8;

1.8
date	99.11.14.02.15.27;	author steve;	state Exp;
branches;
next	1.7;

1.7
date	99.08.25.23.36.57;	author mharo;	state Exp;
branches;
next	1.6;

1.6
date	99.08.25.04.25.10;	author obrien;	state Exp;
branches;
next	1.5;

1.5
date	99.08.22.18.57.16;	author mharo;	state Exp;
branches;
next	1.4;

1.4
date	99.07.21.14.55.25;	author marcel;	state Exp;
branches;
next	1.3;

1.3
date	99.05.05.14.27.56;	author flathill;	state Exp;
branches;
next	1.2;

1.2
date	99.05.01.02.06.34;	author steve;	state Exp;
branches;
next	1.1;

1.1
date	99.04.30.04.41.20;	author taoka;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.04.30.04.41.20;	author taoka;	state Exp;
branches;
next	;


desc
@@


1.25
log
@I hope rarlab would keep releasing FreeBSD binary.

PR:	47839
@
text
@# New ports collection makefile for:    linux_rar
# Date created:		30 April 1999
# Whom:			FUJISHIMA Satsuki <k5@@respo.or.jp>
#
# $FreeBSD: ports/archivers/linux_rar/Makefile,v 1.24 2002/09/08 00:15:50 sf Exp $
#

PORTNAME=	linux_rar
PORTVERSION=	2.90
CATEGORIES=	archivers linux
MASTER_SITES=	ftp://ftp.rarlab.com/rar/ \
		ftp://pubftp.slovenska.sk/pub/rarsoft/rar/
DISTNAME=	rarlnx${PORTVERSION:S/0//S/.//}
EXTRACT_SUFX=	.sfx

MAINTAINER=	sf@@FreeBSD.org

IGNORE=		"No reason to use this: newer archivers/rar is available."

NO_CDROM=	NOFEE: Can not charge for distribution
NO_PACKAGE=	Only unmodified original package can be distributed

ONLY_FOR_ARCHS=	i386

USE_LINUX=	yes
NO_BUILD=	yes
EXTRACT_CMD=		# empty
EXTRACT_BEFORE_ARGS=	# empty
EXTRACT_AFTER_ARGS=	# empty
STRIP=			# empty: do not strip linux binary during INSTALL_PROGRAM
WRKSRC=		${WRKDIR}/rar

RARDOCS=	license.txt order.txt rar.txt rar_faq.txt rar_site.txt \
		readme.txt register.txt rereg.txt technote.txt whatsnew.txt
RARFILES=	rarfiles.lst default.sfx dos.sfx

.if defined(WITH_UNRAR)
PLIST_SUB=	UNRAR=""
.else
PLIST_SUB=	UNRAR="@@comment "
.endif

post-fetch:
	@@${CHMOD} a+x ${DISTDIR}/${DISTFILES}

pre-configure:
	@@${ECHO_MSG} "To install unrar bundled with this package,"
	@@${ECHO_MSG} "set variable WITH_UNRAR=yes."

do-install:
	@@${MKDIR} ${PREFIX}/share/doc/rar ${PREFIX}/share/rar
	@@${INSTALL_PROGRAM} ${WRKSRC}/rar ${PREFIX}/bin
	brandelf -t Linux ${PREFIX}/bin/rar
.if defined(WITH_UNRAR)
	@@${INSTALL_PROGRAM} ${WRKSRC}/unrar ${PREFIX}/bin
	brandelf -t Linux ${PREFIX}/bin/unrar
.endif
.for i in ${RARDOCS}
	@@${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/rar
.endfor
.for i in ${RARFILES}
	@@${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/rar
.endfor

post-install:
	@@${ECHO_MSG} "This is 40 days trial version of commercial software."
	@@${ECHO_MSG} "Read texts in ${PREFIX}/share/doc/rar before use."
.if defined(WITH_UNRAR)
	@@${ECHO_MSG} "However, unrar can be used for free."
.endif

.include <bsd.port.mk>
@


1.24
log
@o track MASTER_SITES.
o mark IGNORE: recommend to use archiver/rar instead. BSD binary works better.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.23
log
@Explict dependancy on version 7 of linux_base is not needed anymore.
The linux_base port is now at RH version 7.
@
text
@d11 1
a11 1
MASTER_SITES=	ftp://ftp.rarsoft.com/rar/ \
d17 2
@


1.22
log
@o update to 2.90.
o chenge dependency to linux_base-7.
@
text
@d5 1
a5 1
# $FreeBSD: ports/archivers/linux_rar/Makefile,v 1.21 2001/10/01 01:45:35 sf Exp $
d18 2
a19 2
RUN_DEPENDS=	\
	${LINUXBASE}/lib/libc-2.2.2.so:${PORTSDIR}/emulators/linux_base-7
d21 1
a21 1
#USE_LINUX=	yes
d23 1
a24 4
ONLY_FOR_ARCHS=	i386
NO_CDROM=	NOFEE: Can not charge for distribution
NO_PACKAGE=	Only unmodified original package can be distributed

@


1.21
log
@o notice why this port is not updated.
o remove ancient www in comment.
@
text
@d5 1
a5 1
# $FreeBSD: ports/archivers/linux_rar/Makefile,v 1.20 2001/03/16 22:18:43 sf Exp $
a6 2
# Version 2.90 has been released but this port retains 2.80 becaust newer
# version requires newer glibc and FreeBSD port does not have it for now.
d9 1
a9 1
PORTVERSION=	2.80
d11 2
a12 4
MASTER_SITES=	ftp://ftp.download.com/pub/linux/utilities/ \
		ftp://ftp.rarsoft.com/rar/
#		ftp://ftp.netlab.sk/public/rarsoft/rar/ \
#		ftp://rarsoft.ti.sk/pub/rar/
d18 4
a21 1
USE_LINUX=	yes
d34 2
a35 2
RARDOCS=	license.txt rar.txt rar_faq.txt rar_site.txt readme.txt \
		register.frm register.txt rereg.txt technote.txt whatsnew.txt
@


1.20
log
@add 1 more to MASTER_SITES.
@
text
@a1 1
# http://www.rarsoft.com/rar_archiver.htm
d5 1
a5 1
# $FreeBSD: ports/archivers/linux_rar/Makefile,v 1.19 2001/03/15 21:16:18 sf Exp $
d7 2
@


1.19
log
@fix MASTER_SITES.
@
text
@d6 1
a6 1
# $FreeBSD: ports/archivers/linux_rar/Makefile,v 1.18 2001/03/09 19:50:10 sf Exp $
d12 2
a13 1
MASTER_SITES=	ftp://ftp.download.com/pub/linux/utilities/
@


1.18
log
@o update to 2.80.
o show message to activate linuxulator to make extract.
@
text
@d6 1
a6 1
# $FreeBSD: ports/archivers/linux_rar/Makefile,v 1.17 2000/12/30 21:58:38 sf Exp $
d12 3
a14 3
MASTER_SITES=	ftp://ftp.download.com/pub/linux/ \
		ftp://ftp.netlab.sk/public/rarsoft/rar/ \
		ftp://rarsoft.ti.sk/pub/rar/
@


1.17
log
@maintainer is committer now.
@
text
@d6 1
a6 1
# $FreeBSD: ports/archivers/linux_rar/Makefile,v 1.16 2000/10/08 10:19:07 asami Exp $
d10 1
a10 1
PORTVERSION=	2.71
d12 2
a13 1
MASTER_SITES=	ftp://ftp.netlab.sk/public/rarsoft/rar/ \
d15 1
a15 1
DISTNAME=	rarlnx271
d20 1
a20 2
BUILD_DEPENDS=	/compat/linux/lib/ld-linux.so.2:${PORTSDIR}/emulators/linux_base
RUN_DEPENDS=	/compat/linux/lib/ld-linux.so.2:${PORTSDIR}/emulators/linux_base
a31 1
PLIST=		${WRKSRC}/PLIST
d33 2
a34 2
RARDOCS=	license.txt rar_faq.txt rar_site.txt readme.txt register.frm \
		register.txt rereg.txt technote.txt whatsnew.txt
d37 6
a56 1
	@@${ECHO} bin/unrar >> ${PLIST}
a63 9
	@@${INSTALL_MAN} ${WRKSRC}/rar.txt ${PREFIX}/man/cat1/rar.1

	@@${CP} ${PKGDIR}/pkg-plist ${PLIST}
.if !defined(NOMANCOMPRESS)
	@@${GZIP_CMD} ${PREFIX}/man/cat1/rar.1
	@@${ECHO} man/cat1/rar.1.gz >> ${PLIST}
.else
	@@${ECHO} man/cat1/rar.1 >> ${PLIST}
.endif
@


1.16
log
@Change PKGDIR from pkg/ to .  Also fix places where ${PKGDIR} is
spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type
fixes that shouldn't have been necessary) and the string "/pkg/"
appear.
@
text
@d6 1
a6 1
# $FreeBSD: ports/archivers/linux_rar/Makefile,v 1.15 2000/07/07 19:16:23 steve Exp $
d17 1
a17 1
MAINTAINER=	k5@@cheerful.com
@


1.15
log
@Update to version 2.71.

PR:		19578
Submitted by:	maintainer
@
text
@d6 1
a6 1
# $FreeBSD: ports/archivers/linux_rar/Makefile,v 1.14 2000/05/29 03:57:08 steve Exp $
d52 1
a52 1
	@@${ECHO} bin/unrar >> ${WRKSRC}/PLIST
d62 1
a62 1
	@@${CP} ${PKGDIR}/PLIST ${WRKSRC}
d65 1
a65 1
	@@${ECHO} man/cat1/rar.1.gz >> ${WRKSRC}/PLIST
d67 1
a67 1
	@@${ECHO} man/cat1/rar.1 >> ${WRKSRC}/PLIST
@


1.14
log
@Update to version 2.70.

PR:		18785
Submitted by:	maintainer
@
text
@d6 1
a6 1
# $FreeBSD: ports/archivers/linux_rar/Makefile,v 1.13 2000/04/17 00:16:50 reg Exp $
d10 1
a10 1
PORTVERSION=	2.70
a12 2
		ftp://ftp.elf.stuba.sk/pub/pack/ \
		ftp://ftp.cs.tu-berlin.de/pub/msdos/mirrors/stuba/pc/pack/ \
d14 1
a14 1
DISTNAME=	rarlnx27
@


1.13
log
@Standardize all user defined options to the booleans WITH_FOO and
WITHOUT_FOO.  Begin the process of reserving these prefixes for user defined
options.

No comment by:	ports
@
text
@d6 1
a6 1
# $FreeBSD: ports/archivers/linux_rar/Makefile,v 1.12 2000/04/08 23:17:47 mharo Exp $
d10 1
a10 1
PORTVERSION=	2.60
d12 5
a16 4
MASTER_SITES=	ftp://rarsoft.ti.sk/pub/rar/ \
		ftp://ftp.cdrom.com/pub/cheats/dlh/rar/ \
		ftp://ftp.cdrom.com/pub/sac/pack/
DISTNAME=	rarlnx26
d32 1
a32 1
STRIP=			# empty: do not touch linux binary!
d50 6
a70 4
.if defined(WITH_UNRAR)
	@@${INSTALL_PROGRAM} ${WRKSRC}/unrar ${PREFIX}/bin
	@@${ECHO} bin/unrar >> ${WRKSRC}/PLIST
.endif
a72 1
	@@/usr/bin/brandelf -t Linux ${PREFIX}/bin/rar
a75 1
	@@/usr/bin/brandelf -t Linux ${PREFIX}/bin/unrar
@


1.12
log
@update with the new PORTNAME/PORTVERSION variables
@
text
@d6 1
a6 1
# $FreeBSD: ports/archivers/linux_rar/Makefile,v 1.11 2000/02/28 08:33:12 asami Exp $
d44 1
a44 1
	@@${ECHO_MSG} "set variable WITH_UNRAR=YES."
@


1.11
log
@Add virtual category "linux" to Linux apps and support libs/utils.
@
text
@a2 1
# Version required:	2.60
d6 1
a6 1
# $FreeBSD: ports/archivers/linux_rar/Makefile,v 1.10 1999/12/23 02:37:07 jedgar Exp $
d9 2
a10 2
DISTNAME=       rarlnx26
PKGNAME=        linux_rar-2.60
d15 2
a16 1
EXTRACT_SUFX=   .sfx
d18 1
a18 1
MAINTAINER=     k5@@cheerful.com
d26 1
a26 1
NO_PACKAGE=     Only unmodified original package can be distributed
@


1.10
log
@Correct MASTER_SITES

PR:		15282
Submitted by:	Maintainer
@
text
@d7 1
a7 1
# $FreeBSD: ports/archivers/linux_rar/Makefile,v 1.9 1999/11/26 18:06:32 steve Exp $
d12 1
a12 1
CATEGORIES=	archivers
@


1.9
log
@Add unrar branding and message that unrar is free while rar istelf
is shareware.  Also add NO_CDROM.

PR:		14887
Submitted by:	Oleg V. Volkov <rover@@lglobus.ru>, maintainer
@
text
@d7 1
a7 1
# $FreeBSD: ports/archivers/linux_rar/Makefile,v 1.8 1999/11/14 02:15:27 steve Exp $
d14 2
a15 1
		ftp://ftp.cdrom.com/pub/cheats/dlh/rar/
@


1.8
log
@Update to version 2.60.

PR:		14707
Submitted by:	maintainer
@
text
@d7 1
a7 1
# $FreeBSD: ports/archivers/linux_rar/Makefile,v 1.7 1999/08/25 23:36:57 mharo Exp $
d24 1
d70 1
a70 1
	@@${ECHO_MSG} "This is 40days trial version of commercial software."
d72 4
@


1.7
log
@minor cleanups and move manpage from PLIST to Makefile
@
text
@d3 1
a3 1
# Version required:	2.50
d7 1
a7 1
# $FreeBSD: ports/archivers/linux_rar/Makefile,v 1.6 1999/08/25 04:25:10 obrien Exp $
d10 2
a11 2
DISTNAME=       rarlnx25
PKGNAME=        linux-rar-2.50
d17 1
a17 1
MAINTAINER=     k5@@respo.or.jp
d19 1
a21 2
CAT1=		rar.1

a25 1
NO_WRKSUBDIR=   yes
d30 6
d40 4
d45 16
a60 9
	${MKDIR} ${PREFIX}/share/doc/rar ${PREFIX}/share/rar
	${INSTALL_PROGRAM} ${WRKSRC}/rar ${PREFIX}/bin
	cd ${WRKSRC} && \
	${INSTALL_DATA} rarfiles.lst default.sfx dos.sfx ${PREFIX}/share/rar
.if !defined(NOPORTDOCS)
	${INSTALL_MAN} ${WRKSRC}/rar.txt ${PREFIX}/man/cat1/rar.1
	cd ${WRKSRC} && \
	${INSTALL_DATA} license.txt rar_faq.txt rar_site.txt readme.txt \
		register.txt technote.txt ${PREFIX}/share/doc/rar
d62 9
@


1.6
log
@Change Id->FreeBSD.
@
text
@d7 1
a7 1
# $FreeBSD$
d21 3
a35 1
do-build:
d37 2
a38 2
	${INSTALL} -d -m 755 -o ${SHAREOWN} -g ${SHAREGRP} \
		${PREFIX}/share/doc/rar ${PREFIX}/share/rar
a39 1
	${INSTALL_PROGRAM} rar ${PREFIX}/bin && \
@


1.5
log
@chmod -> ${CHMOD}
chown -> ${CHOWN}
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.4 1999/07/21 14:55:25 marcel Exp $
@


1.4
log
@Make port depend on linux_base instead of linux_lib.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.3 1999/05/05 14:27:56 flathill Exp $
d31 1
a31 1
	@@chmod a+x ${DISTDIR}/${DISTFILES}
@


1.3
log
@This port properly depends on ld-linux.so.2.
Add RUN_DEPEND to emulators/linux_lib
PR: ports/11480
Submitted by: k5@@respo.or.jp
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.2 1999/05/01 02:06:34 steve Exp $
d19 1
a19 1
RUN_DEPENDS=	/compat/linux/lib/ld-linux.so.2:${PORTSDIR}/emulators/linux_lib
@


1.2
log
@Update MASTER_SITES.

PR:		11407
Submitted by:	FUJISHIMA Satsuki <k5@@respo.or.jp>
@
text
@d4 1
a4 1
# Date created:
d7 1
a7 1
# $Id: Makefile,v 1.1.1.1 1999/04/30 04:41:20 taoka Exp $
d18 2
@


1.1
log
@Initial revision
@
text
@d7 1
a7 1
# $Id$
d13 1
a13 1
MASTER_SITES=	ftp://ftp.rarsoft.com/pub/rar/ \
@


1.1.1.1
log
@general purpose archiving and compression tool (binary port)

PR:		11189
Submitted by:	FUJISHIMA Satsuki <k5@@respo.or.jp>
@
text
@@
