aboutsummaryrefslogtreecommitdiff
path: root/archivers/nomarch
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-11-05 09:18:42 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-11-05 09:18:42 +0000
commita0bcc8c4d405f1452650a113d6e48545084847af (patch)
tree6557b133a6a399d3439c76b1533682cfeb04e224 /archivers/nomarch
parent4f3ebdc703bd9d87b0ad5216e782a0260d4c72e7 (diff)
downloadports-a0bcc8c4d405f1452650a113d6e48545084847af.tar.gz
ports-a0bcc8c4d405f1452650a113d6e48545084847af.zip
Notes
Diffstat (limited to 'archivers/nomarch')
-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
6 files changed, 55 insertions, 0 deletions
diff --git a/archivers/nomarch/Makefile b/archivers/nomarch/Makefile
new file mode 100644
index 000000000000..b6ad2a7081b7
--- /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 000000000000..9e82a42b202a
--- /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 000000000000..6e7d9e967421
--- /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 000000000000..d64ac6b71350
--- /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 000000000000..4c46d1aced79
--- /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 000000000000..8af8e1c382ce
--- /dev/null
+++ b/archivers/nomarch/pkg-plist
@@ -0,0 +1 @@
+bin/nomarch