diff options
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/Makefile | 1 | ||||
-rw-r--r-- | archivers/unalz/Makefile | 31 | ||||
-rw-r--r-- | archivers/unalz/distinfo | 2 | ||||
-rw-r--r-- | archivers/unalz/files/patch-makefile | 17 | ||||
-rw-r--r-- | archivers/unalz/pkg-descr | 4 |
5 files changed, 55 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile index 45783bedbda4..e9fba152638f 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -80,6 +80,7 @@ SUBDIR += ucl SUBDIR += unace SUBDIR += unadf + SUBDIR += unalz SUBDIR += unarj SUBDIR += undms SUBDIR += unlzx diff --git a/archivers/unalz/Makefile b/archivers/unalz/Makefile new file mode 100644 index 000000000000..c24056410050 --- /dev/null +++ b/archivers/unalz/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: unalz +# Date created: 23 October 2004 +# Whom: Hye-Shik Chang +# +# $FreeBSD$ +# + +PORTNAME= unalz +PORTVERSION= 0.20 +CATEGORIES= archivers +MASTER_SITES= http://www.kipple.pe.kr/win/unalz/ +DISTNAME= ${PORTNAME} +EXTRACT_SUFX= .tgz + +MAINTAINER= perky@FreeBSD.org +COMMENT= Extracts AlZip archives + +USE_REINPLACE= yes +PLIST_FILES= bin/unalz +MAKEFILE= makefile +MAKE_ENV= CC="${CC} ${CFLAGS}" CPP="${CXX} ${CXXFLAGS}" + +post-patch: +.for f in UnAlz.cpp UnAlz.h + ${REINPLACE_CMD} 's/SIG_ERR/ALZ_SIG_ERR/g' ${WRKSRC}/$f +.endfor + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/unalz ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/archivers/unalz/distinfo b/archivers/unalz/distinfo new file mode 100644 index 000000000000..48a04d96a659 --- /dev/null +++ b/archivers/unalz/distinfo @@ -0,0 +1,2 @@ +MD5 (unalz.tgz) = dd4cbd377707e075c32cc433a25c1492 +SIZE (unalz.tgz) = 96986 diff --git a/archivers/unalz/files/patch-makefile b/archivers/unalz/files/patch-makefile new file mode 100644 index 000000000000..d92bb985c37d --- /dev/null +++ b/archivers/unalz/files/patch-makefile @@ -0,0 +1,17 @@ +--- makefile.orig Fri Oct 22 22:02:04 2004 ++++ makefile Sat Oct 23 18:32:29 2004 +@@ -1,5 +1,3 @@ +-CPP = g++ +-CC = gcc + OBJ = main.o UnAlz.o UnAlzBz2decompress.o UnAlzBzip2.o UnAlzbzlib.o zlib/adler32.o zlib/crc32.o zlib/infblock.o zlib/infcodes.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/infutil.o zlib/zutil.o bzip2/blocksort.o bzip2/compress.o bzip2/crctable.o bzip2/huffman.o bzip2/randtable.o + LINKOBJ = main.o UnAlz.o UnAlzBz2decompress.o UnAlzBzip2.o UnAlzbzlib.o zlib/adler32.o zlib/crc32.o zlib/infblock.o zlib/infcodes.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/infutil.o zlib/zutil.o bzip2/blocksort.o bzip2/compress.o bzip2/crctable.o bzip2/huffman.o bzip2/randtable.o + BIN = unalz +@@ -11,7 +9,7 @@ + rm -f $(OBJ) $(BIN) + + $(BIN): $(OBJ) +- $(CPP) $(LINKOBJ) -o "unalz" ++ $(CPP) ${LDFLAGS} $(LINKOBJ) -o "unalz" + + main.o: main.cpp + $(CPP) -c main.cpp -o main.o diff --git a/archivers/unalz/pkg-descr b/archivers/unalz/pkg-descr new file mode 100644 index 000000000000..cd18a3bfacd7 --- /dev/null +++ b/archivers/unalz/pkg-descr @@ -0,0 +1,4 @@ +Unalz is a BSD-licensed unarchiver for AlZip format which requires +proprietary and win32-only software but widely used in Korea. + +WWW: http://www.kipple.pe.kr/win/unalz/ |