aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/unalz
diff options
context:
space:
mode:
authorak <ak@FreeBSD.org>2013-10-16 19:27:24 +0800
committerak <ak@FreeBSD.org>2013-10-16 19:27:24 +0800
commit5ad890b05ac40ed1fb74fa73549da79f0a051a4f (patch)
tree9a742772b5d006fbeed96e3bac3346b394bb38b0 /archivers/unalz
parentec1e3459531f2f4d615c52c139761e59c76b14ca (diff)
downloadfreebsd-ports-gnome-5ad890b05ac40ed1fb74fa73549da79f0a051a4f.tar.gz
freebsd-ports-gnome-5ad890b05ac40ed1fb74fa73549da79f0a051a4f.tar.zst
freebsd-ports-gnome-5ad890b05ac40ed1fb74fa73549da79f0a051a4f.zip
- Support STAGEDIR
Diffstat (limited to 'archivers/unalz')
-rw-r--r--archivers/unalz/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/archivers/unalz/Makefile b/archivers/unalz/Makefile
index cb000570ff33..900273cbb713 100644
--- a/archivers/unalz/Makefile
+++ b/archivers/unalz/Makefile
@@ -15,10 +15,9 @@ LICENSE_FILE= ${WRKSRC}/readme.txt
WRKSRC= ${WRKDIR}/${PORTNAME}
-NO_STAGE= yes
USES= iconv
USE_DOS2UNIX= yes
-MAKE_ARGS= CPP="${CXX}" CC="${CC}" OBJ="${UNALZ_OBJS}" \
+MAKE_ARGS+= CPP="${CXX}" CC="${CC}" OBJ="${UNALZ_OBJS}" \
LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"
ALL_TARGET= posix-utf8
@@ -35,6 +34,6 @@ post-patch:
'/<sys\/timeb.h>/d' ${WRKSRC}/main.cpp
do-install:
- (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin)
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>