summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>1999-08-26 00:01:18 +0000
committerMichael Haro <mharo@FreeBSD.org>1999-08-26 00:01:18 +0000
commit1e9299bb93efca53e63900b993b9dbf30aed89c0 (patch)
tree02db280ea2bbb15875220c0c3887547229210bca
parentminor cleanups and move manpage from PLIST to Makefile (diff)
move catpage from PLIST to Makefile and other minor cleanups
Notes
Notes: svn path=/head/; revision=20975
-rw-r--r--archivers/rar/Makefile16
-rw-r--r--archivers/rar/pkg-plist1
2 files changed, 5 insertions, 12 deletions
diff --git a/archivers/rar/Makefile b/archivers/rar/Makefile
index 3e3609b9e26e..2e209948f263 100644
--- a/archivers/rar/Makefile
+++ b/archivers/rar/Makefile
@@ -16,6 +16,8 @@ EXTRACT_SUFX= .sfx
MAINTAINER= ache@FreeBSD.ORG
+CAT1= rar.1
+
ONLY_FOR_ARCHS= i386
NO_PACKAGE= Only unmodified original package can be distributed
NO_BUILD= yes
@@ -33,20 +35,12 @@ STRIP=
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
+ ${MKDIR} ${PREFIX}/share/doc/rar ${PREFIX}/share/rar
+ ${INSTALL_PROGRAM} ${WRKSRC}/rar ${PREFIX}/bin/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 \
+ ${INSTALL_DATA} Rar_FAQ.txt TechNote.Txt License.Txt \
Internet.Txt \
${PREFIX}/share/doc/rar && \
${INSTALL_DATA} RarFiles.Lst \
diff --git a/archivers/rar/pkg-plist b/archivers/rar/pkg-plist
index 4ae9af7f8fd6..d0c91aee2f0e 100644
--- a/archivers/rar/pkg-plist
+++ b/archivers/rar/pkg-plist
@@ -1,5 +1,4 @@
bin/rar
-man/cat1/rar.1
share/rar/dos.sfx
share/rar/default.sfx
share/rar/rarfiles.lst