diff options
author | hubertf <hubertf@pkgsrc.org> | 1997-10-27 02:18:56 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1997-10-27 02:18:56 +0000 |
commit | 8b564b5192b294067cb0130be5d93572a73a8d50 (patch) | |
tree | aa7fd087d6bcf69328ebc37067c429ed69a80a4c /archivers/rar/Makefile | |
parent | 78879a265da1d7043bcd319b2f1b34fb6177b5de (diff) | |
download | pkgsrc-8b564b5192b294067cb0130be5d93572a73a8d50.tar.gz |
File archivers, ports from FreeBSD
Diffstat (limited to 'archivers/rar/Makefile')
-rw-r--r-- | archivers/rar/Makefile | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/archivers/rar/Makefile b/archivers/rar/Makefile new file mode 100644 index 00000000000..f35fb19cafb --- /dev/null +++ b/archivers/rar/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: rar +# http://www.inetpros.net/rar.htm +# Version required: 2.01 +# Date created: 15 May 1996 +# Whom: ache +# +# $Id: Makefile,v 1.1.1.1 1997/10/27 02:19:04 hubertf Exp $ +# + +DISTNAME= rarbsd +PKGNAME= rar-2.01 +CATEGORIES= archivers +MASTER_SITES= ftp://ftp.inetpros.net/pub/rar/ \ + ftp://ftp.kiarchive.ru/pub/unix/arcers/ +EXTRACT_SUFX= .exe + +MAINTAINER= ache@FreeBSD.ORG + +NO_PACKAGE= Only unmodified original package can be distributed + +NO_WRKSUBDIR= yes +EXTRACT_CMD= +EXTRACT_BEFORE_ARGS= + +post-fetch: + chmod a+x ${DISTDIR}/${DISTFILES} + +do-build: + cd ${WRKSRC} && \ + for i in *.Txt *.Lst; do \ + tr -d '\015' < $$i > $$i.tmp; \ + mv $$i.tmp $$i; \ + done + +do-install: + install -d -m 755 -o ${SHAREOWN} -g ${SHAREGRP} \ + ${PREFIX}/share/doc/rar ${PREFIX}/share/rar + cd ${WRKSRC} && \ + ${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 + +.include <bsd.port.mk> |