aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
Diffstat (limited to 'archivers')
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/arj/Makefile35
-rw-r--r--archivers/arj/distinfo1
-rw-r--r--archivers/arj/files/patch-environ.c11
-rw-r--r--archivers/arj/pkg-comment1
-rw-r--r--archivers/arj/pkg-descr13
-rw-r--r--archivers/arj/pkg-plist13
7 files changed, 75 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index d70985361a96..e5a6a052c8f3 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -3,6 +3,7 @@
SUBDIR += 9e
SUBDIR += arc
+ SUBDIR += arj
SUBDIR += bitbox
SUBDIR += bzip
SUBDIR += bzip2
diff --git a/archivers/arj/Makefile b/archivers/arj/Makefile
new file mode 100644
index 000000000000..72b5e4f84df9
--- /dev/null
+++ b/archivers/arj/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: ARJ archiver
+# Date created: 9 April 2002
+# Whom: Konstantin Reznichenko <kot@premierbank.dp.ua>
+#
+# $FreeBSD$
+#
+
+PORTNAME= arj
+PORTVERSION= 3.10b
+CATEGORIES= archivers
+MASTER_SITES= http://testcase.newmail.ru/files/
+
+MAINTAINER= kot@premierbank.dp.ua
+
+USE_AUTOCONF= yes
+USE_GMAKE= yes
+CONFIGURE_WRKSRC= ${WRKSRC}/gnu
+MAKEFILE= makefile.gnu
+
+pre-build:
+ @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} prepare)
+
+do-install:
+.for f in arj rearj arjdisp register
+ ${INSTALL_PROGRAM} ${WRKSRC}/freebsd${OSREL}/en/rs/$f/$f ${PREFIX}/bin
+.endfor
+ ${INSTALL_PROGRAM} ${WRKSRC}/freebsd${OSREL}/en/rs/arjcrypt/arjcrypt.so ${PREFIX}/lib
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC}/doc && ${INSTALL_DATA} COPYING debug.txt ${DOCSDIR}
+ cd ${WRKSRC}/resource/en && \
+ ${INSTALL_DATA} arjl.txt arjs.txt history.txt readme.txt unix.txt ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/archivers/arj/distinfo b/archivers/arj/distinfo
new file mode 100644
index 000000000000..c067d3ab3b3a
--- /dev/null
+++ b/archivers/arj/distinfo
@@ -0,0 +1 @@
+MD5 (arj-3.10b.tar.gz) = 59948e8f098d5f1ed5fbd7e86cd51ab4
diff --git a/archivers/arj/files/patch-environ.c b/archivers/arj/files/patch-environ.c
new file mode 100644
index 000000000000..926bce55c966
--- /dev/null
+++ b/archivers/arj/files/patch-environ.c
@@ -0,0 +1,11 @@
+--- environ.c.orig Mon Apr 8 11:31:01 2002
++++ environ.c Mon Apr 8 14:06:05 2002
+@@ -2721,7 +2721,7 @@
+ ps=pe+1;
+ } while(*pe!='\0');
+ #if SFX_LEVEL==ARJ
+- strcpy(dest, "/usr/bin/arj");
++ strcpy(dest, "/usr/local/bin/arj");
+ #elif SFX_LEVEL==ARJSFXV
+ strcpy(dest, "./arjsfxv");
+ #elif SFX_LEVEL==ARJSFX
diff --git a/archivers/arj/pkg-comment b/archivers/arj/pkg-comment
new file mode 100644
index 000000000000..f63eabf77bdc
--- /dev/null
+++ b/archivers/arj/pkg-comment
@@ -0,0 +1 @@
+Open-source ARJ
diff --git a/archivers/arj/pkg-descr b/archivers/arj/pkg-descr
new file mode 100644
index 000000000000..61f3bf613d42
--- /dev/null
+++ b/archivers/arj/pkg-descr
@@ -0,0 +1,13 @@
+This product is an implementation of ARJ v 2.7x for DOS on UNIX and
+UNIX-like systems. It is assumed that the user is familiar with ARJ
+operation on DOS before using this package.
+
+New ARJ features on UNIX and UNIX-like platforms:
+
+ - Support for symbolic and hard links
+ - Archiving of special entities: pipes and devices
+ - Support for UID/GID storage in a variety of methods
+ - World's smallest native self-extracting modules
+ - Outstanding interoperability with ARJ for DOS, Windows and OS/2 Warp
+
+WWW: http://arj.sourceforge.net/
diff --git a/archivers/arj/pkg-plist b/archivers/arj/pkg-plist
new file mode 100644
index 000000000000..2f766ebf93b8
--- /dev/null
+++ b/archivers/arj/pkg-plist
@@ -0,0 +1,13 @@
+bin/arj
+bin/arjdisp
+bin/rearj
+bin/register
+lib/arjcrypt.so
+%%PORTDOCS%%share/doc/arj/COPYING
+%%PORTDOCS%%share/doc/arj/arjl.txt
+%%PORTDOCS%%share/doc/arj/arjs.txt
+%%PORTDOCS%%share/doc/arj/debug.txt
+%%PORTDOCS%%share/doc/arj/history.txt
+%%PORTDOCS%%share/doc/arj/readme.txt
+%%PORTDOCS%%share/doc/arj/unix.txt
+%%PORTDOCS%%@dirrm share/doc/arj