summaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-11-05 09:18:42 +0000
committerijliao <ijliao@FreeBSD.org>2001-11-05 09:18:42 +0000
commitad0545630406284666a344faea1405c990245f65 (patch)
treea5ebb59ba4e37ab05dfadf26237706a13eba066d /archivers
parent9fb32b60f443413aadbb594d9cce2bb7f9baece8 (diff)
downloadFreeBSD-ports-ad0545630406284666a344faea1405c990245f65.zip
FreeBSD-ports-ad0545630406284666a344faea1405c990245f65.tar.gz
add nomarch
Extracts files from the old `.arc' archive format
Diffstat (limited to 'archivers')
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/nomarch/Makefile30
-rw-r--r--archivers/nomarch/distinfo1
-rw-r--r--archivers/nomarch/files/patch-Makefile15
-rw-r--r--archivers/nomarch/pkg-comment1
-rw-r--r--archivers/nomarch/pkg-descr7
-rw-r--r--archivers/nomarch/pkg-plist1
7 files changed, 56 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index 533fce4..cfc732a 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -24,6 +24,7 @@
SUBDIR += macutils
SUBDIR += makeself
SUBDIR += mscompress
+ SUBDIR += nomarch
SUBDIR += nulib
SUBDIR += p5-Archive-Tar
SUBDIR += p5-Archive-Zip
diff --git a/archivers/nomarch/Makefile b/archivers/nomarch/Makefile
new file mode 100644
index 0000000..b6ad2a7
--- /dev/null
+++ b/archivers/nomarch/Makefile
@@ -0,0 +1,30 @@
+# ex:ts=8
+# New ports collection makefile for: nomarch
+# Date created: Nov 5, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= nomarch
+PORTVERSION= 1.1
+CATEGORIES= archivers
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= utils/compress
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
+
+MAN1= nomarch.1
+
+post-patch:
+ @${PERL} -pi -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \
+ s,^PREFIX,#PREFIX,g ; \
+ s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/nomarch ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/nomarch.1 ${MAN1PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/archivers/nomarch/distinfo b/archivers/nomarch/distinfo
new file mode 100644
index 0000000..9e82a42
--- /dev/null
+++ b/archivers/nomarch/distinfo
@@ -0,0 +1 @@
+MD5 (nomarch-1.1.tar.gz) = 4e77de0101d8a296c24e480c16e63103
diff --git a/archivers/nomarch/files/patch-Makefile b/archivers/nomarch/files/patch-Makefile
new file mode 100644
index 0000000..6e7d9e9
--- /dev/null
+++ b/archivers/nomarch/files/patch-Makefile
@@ -0,0 +1,15 @@
+--- Makefile.orig Mon Nov 5 17:12:58 2001
++++ Makefile Mon Nov 5 17:12:35 2001
+@@ -18,8 +18,11 @@
+
+ all: nomarch
+
++main.o: main.c
++ ${CC} ${CFLAGS} -I%%LOCALBASE%%/include -o main.o -c main.c
++
+ nomarch: $(OBJ)
+- $(CC) $(CFLAGS) -o nomarch $(OBJ)
++ $(CC) $(CFLAGS) -o nomarch $(OBJ) -L%%LOCALBASE%%/lib -lgnugetopt
+
+ installdirs:
+ /bin/sh ./mkinstalldirs $(BINDIR) $(MANDIR)
diff --git a/archivers/nomarch/pkg-comment b/archivers/nomarch/pkg-comment
new file mode 100644
index 0000000..d64ac6b
--- /dev/null
+++ b/archivers/nomarch/pkg-comment
@@ -0,0 +1 @@
+Extracts files from the old `.arc' archive format
diff --git a/archivers/nomarch/pkg-descr b/archivers/nomarch/pkg-descr
new file mode 100644
index 0000000..4c46d1a
--- /dev/null
+++ b/archivers/nomarch/pkg-descr
@@ -0,0 +1,7 @@
+nomarch extracts files from the old `.arc' archive format. It can also
+list and test such archives.
+
+(nomarch is primarily intended as a `replacement' for the non-Free `arc'
+program.)
+
+WWW: http://rus.members.beeb.net/nomarch.html
diff --git a/archivers/nomarch/pkg-plist b/archivers/nomarch/pkg-plist
new file mode 100644
index 0000000..8af8e1c
--- /dev/null
+++ b/archivers/nomarch/pkg-plist
@@ -0,0 +1 @@
+bin/nomarch
OpenPOWER on IntegriCloud