From d5910658d0eaeccea3934567ef528c0e50f63af5 Mon Sep 17 00:00:00 2001 From: Hye-Shik Chang Date: Sat, 12 Aug 2006 03:18:48 +0000 Subject: [PATCH] - Respect DESTDIR - Respect CC/CXX - Bump PORTREVISION PR: 101807 Submitted by: gabor --- archivers/unalz/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/archivers/unalz/Makefile b/archivers/unalz/Makefile index bc942353908b..e3cd3ba2c2c0 100644 --- a/archivers/unalz/Makefile +++ b/archivers/unalz/Makefile @@ -7,6 +7,7 @@ PORTNAME= unalz PORTVERSION= 0.55 +PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= http://www.kipple.pe.kr/win/unalz/ EXTRACT_SUFX= .tgz @@ -26,8 +27,11 @@ pre-patch: ${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 + ${INSTALL_PROGRAM} ${WRKSRC}/unalz ${TARGETDIR}/bin .include