aboutsummaryrefslogtreecommitdiff
path: root/archivers/unalz
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2013-05-09 09:25:26 +0000
committerMax Khon <fjoe@FreeBSD.org>2013-05-09 09:25:26 +0000
commit2de5493f9d54ae812df9208b907038d45bc23e51 (patch)
tree9360e74248358ff3ff34117aebe791064778d947 /archivers/unalz
parent8b743af598fed350b117ea98eb5ef9f07ebd58c5 (diff)
downloadports-2de5493f9d54ae812df9208b907038d45bc23e51.tar.gz
ports-2de5493f9d54ae812df9208b907038d45bc23e51.zip
Notes
Diffstat (limited to 'archivers/unalz')
-rw-r--r--archivers/unalz/Makefile13
1 files changed, 2 insertions, 11 deletions
diff --git a/archivers/unalz/Makefile b/archivers/unalz/Makefile
index 3a0c18530e37..9ee89af2a4d4 100644
--- a/archivers/unalz/Makefile
+++ b/archivers/unalz/Makefile
@@ -3,6 +3,7 @@
PORTNAME= unalz
PORTVERSION= 0.65
+PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= http://www.kipple.pe.kr/win/unalz/ \
http://www.c-s.li/ports/
@@ -13,23 +14,13 @@ COMMENT= Extracts AlZip archives
LICENSE_FILE= ${WRKSRC}/readme.txt
-BROKEN= fails to build
USES= iconv
PLIST_FILES= bin/unalz
MAKEFILE= Makefile.freebsd
-CPPFLAGS+= -I${LOCALBASE}/include
+CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/unalz
-pre-patch:
- cd ${WRKSRC} && for f in `find . -name '*.c' -o -name '*.h'`; do \
- ${TR} -d '\015' < ${WRKSRC}/$$f > ${WRKSRC}/$$f.tmp && \
- ${MV} -f ${WRKSRC}/$$f.tmp ${WRKSRC}/$$f; \
- done
- ${REINPLACE_CMD} -e 's|CPP = g++|CPP = ${CXX}|' \
- -e "s|CC =|CC ?=|" \
- ${WRKSRC}/Makefile
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unalz ${PREFIX}/bin