blob: 853a867b1f834067983e09b0eee6f1048469bf3b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# 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.11 1998/12/12 16:23:37 obrien Exp $
#
DISTNAME= rarbsd
PKGNAME= rar-2.01
CATEGORIES= archivers
MASTER_SITES= 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= # empty
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= # empty
.include <bsd.port.pre.mk>
.if ${PORTOBJFORMAT} == "elf"
STRIP=
.endif
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.post.mk>
|