2000-03-04 12:58:29 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2000/03/04 17:58:29 turan Exp $
|
1998-07-13 01:13:16 -04:00
|
|
|
|
1999-10-30 16:51:34 -04:00
|
|
|
DISTNAME= rarbsd
|
|
|
|
PKGNAME= rar-2.02
|
1998-07-13 01:13:16 -04:00
|
|
|
CATEGORIES= archivers
|
1999-10-30 16:51:34 -04:00
|
|
|
MASTER_SITES= ftp://rarsoft.ti.sk/pub/rar/ \
|
1999-09-24 09:36:18 -04:00
|
|
|
ftp://ftp.cdrom.com/pub/sac/pack/
|
1999-10-30 16:51:34 -04:00
|
|
|
EXTRACT_SUFX= .sfx
|
|
|
|
|
|
|
|
EXTRACT_CMD= # empty
|
|
|
|
EXTRACT_BEFORE_ARGS= # empty
|
|
|
|
EXTRACT_AFTER_ARGS= # empty
|
1999-09-23 17:52:29 -04:00
|
|
|
|
|
|
|
NEED_VERSION= 1.114
|
|
|
|
|
1999-09-06 13:35:05 -04:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
1999-09-23 17:52:29 -04:00
|
|
|
NO_CDROM= "NOFEE: Can not charge for distribution"
|
1999-10-30 16:51:34 -04:00
|
|
|
NO_PACKAGE= "Only unmodified original package can be distributed"
|
1998-07-13 01:13:16 -04:00
|
|
|
|
1999-10-30 16:51:34 -04:00
|
|
|
MAINTAINER= ports@openbsd.org
|
1998-10-06 18:37:07 -04:00
|
|
|
|
2000-03-04 12:58:29 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= "Shareware. Requires registration."
|
|
|
|
PERMIT_PACKAGE_FTP= "Shareware. Requires registration."
|
|
|
|
PERMIT_DISTFILES_CDROM= "Shareware. Requires registration."
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2000-02-10 18:14:27 -05:00
|
|
|
NEED_VERSION= 1.191
|
1999-06-01 22:40:31 -04:00
|
|
|
NO_BUILD= yes
|
2000-02-10 18:14:27 -05:00
|
|
|
WRKDIST= ${WRKDIR}
|
1998-07-13 01:13:16 -04:00
|
|
|
|
|
|
|
pre-extract:
|
2000-02-10 18:14:27 -05:00
|
|
|
@chmod a+x ${DISTDIR}/${DISTFILES}
|
1998-07-13 01:13:16 -04:00
|
|
|
|
|
|
|
post-extract:
|
2000-02-10 18:14:27 -05:00
|
|
|
@chmod a-x ${DISTDIR}/${DISTFILES}
|
1998-07-13 01:13:16 -04:00
|
|
|
|
|
|
|
do-install:
|
2000-02-10 18:14:27 -05:00
|
|
|
@${INSTALL_DATA_DIR} \
|
1998-07-13 01:13:16 -04:00
|
|
|
${PREFIX}/share/doc/rar ${PREFIX}/share/rar
|
1999-06-01 22:40:31 -04:00
|
|
|
@cd ${WRKSRC} && \
|
1998-07-13 01:13:16 -04:00
|
|
|
${INSTALL_PROGRAM} rar ${PREFIX}/bin/rar && \
|
|
|
|
${INSTALL_MAN} Rar.Txt ${PREFIX}/man/cat1/rar.1 && \
|
|
|
|
${INSTALL_MAN} Rar_FAQ.txt TechNote.Txt License.Txt Internet.Txt \
|
|
|
|
${PREFIX}/share/doc/rar && \
|
|
|
|
${INSTALL_DATA} RarFiles.Lst \
|
|
|
|
${PREFIX}/share/rar/rarfiles.lst && \
|
|
|
|
${INSTALL_DATA} default.sfx \
|
|
|
|
${PREFIX}/share/rar/default.sfx && \
|
|
|
|
${INSTALL_DATA} Dos.SFX \
|
|
|
|
${PREFIX}/share/rar/dos.sfx
|
|
|
|
|
2000-03-04 12:58:29 -05:00
|
|
|
post-install:
|
|
|
|
@echo '*** Note that this software is shareware.'
|
|
|
|
@echo '*** You are required to register after 40 days of use.'
|
|
|
|
|
1998-07-13 01:13:16 -04:00
|
|
|
.include <bsd.port.mk>
|