1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Update to 0.31

This commit is contained in:
Hye-Shik Chang 2005-01-26 09:07:35 +00:00
parent 2fde0b2cd8
commit ee2133069d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127385
3 changed files with 7 additions and 29 deletions

View File

@ -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

View File

@ -1,2 +1,2 @@
MD5 (unalz.tgz) = dd4cbd377707e075c32cc433a25c1492
SIZE (unalz.tgz) = 96986
MD5 (unalz-0.31.tgz) = a39f14acfdb11fca8fb19fc22b132ea1
SIZE (unalz-0.31.tgz) = 129623

View File

@ -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