aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2005-01-26 09:07:35 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2005-01-26 09:07:35 +0000
commitee2133069d25af0375dce4f82dba745c4f45ee5e (patch)
tree31a652787e9aa590027afe582ebb7afa8782cd13
parent2fde0b2cd86f796a023233e5c36c20eab5cd534b (diff)
downloadports-ee2133069d25af0375dce4f82dba745c4f45ee5e.tar.gz
ports-ee2133069d25af0375dce4f82dba745c4f45ee5e.zip
Notes
-rw-r--r--archivers/unalz/Makefile15
-rw-r--r--archivers/unalz/distinfo4
-rw-r--r--archivers/unalz/files/patch-makefile17
3 files changed, 7 insertions, 29 deletions
diff --git a/archivers/unalz/Makefile b/archivers/unalz/Makefile
index c24056410050..3fd2b82724ed 100644
--- a/archivers/unalz/Makefile
+++ b/archivers/unalz/Makefile
@@ -6,24 +6,19 @@
#
PORTNAME= unalz
-PORTVERSION= 0.20
+PORTVERSION= 0.31
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
+USE_ICONV= 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
+MAKEFILE= Makefile.freebsd
+MAKE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unalz ${PREFIX}/bin
diff --git a/archivers/unalz/distinfo b/archivers/unalz/distinfo
index 48a04d96a659..afe8c18ed63d 100644
--- a/archivers/unalz/distinfo
+++ b/archivers/unalz/distinfo
@@ -1,2 +1,2 @@
-MD5 (unalz.tgz) = dd4cbd377707e075c32cc433a25c1492
-SIZE (unalz.tgz) = 96986
+MD5 (unalz-0.31.tgz) = a39f14acfdb11fca8fb19fc22b132ea1
+SIZE (unalz-0.31.tgz) = 129623
diff --git a/archivers/unalz/files/patch-makefile b/archivers/unalz/files/patch-makefile
deleted file mode 100644
index d92bb985c37d..000000000000
--- a/archivers/unalz/files/patch-makefile
+++ /dev/null
@@ -1,17 +0,0 @@
---- 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