aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2006-08-11 19:06:17 +0800
committerehaupt <ehaupt@FreeBSD.org>2006-08-11 19:06:17 +0800
commitb8b059bd26c336f30bf7d16b2786aa870975a83e (patch)
tree72762fea97da289018a2e9ba7b11fa4817081cf5 /archivers
parentbdac3210a586c7b7dfa3f7cda75a9a87b22682d2 (diff)
downloadfreebsd-ports-gnome-b8b059bd26c336f30bf7d16b2786aa870975a83e.tar.gz
freebsd-ports-gnome-b8b059bd26c336f30bf7d16b2786aa870975a83e.tar.zst
freebsd-ports-gnome-b8b059bd26c336f30bf7d16b2786aa870975a83e.zip
- Respect DESTDIR
- Remove an unnecessary condition PR: 101801 Submitted by: gabor
Diffstat (limited to 'archivers')
-rw-r--r--archivers/gzrecover/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/archivers/gzrecover/Makefile b/archivers/gzrecover/Makefile
index afce335235b8..c46855e28378 100644
--- a/archivers/gzrecover/Makefile
+++ b/archivers/gzrecover/Makefile
@@ -19,15 +19,13 @@ COMMENT= A gzip recovery toolkit
CFLAGS+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PLIST_FILES= bin/${PORTNAME}
-.if !defined(NOPORTDOCS)
PORTDOCS= README
-.endif
do-build:
${CC} -o ${WRKSRC}/${PORTNAME} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c -lz
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${TARGETDIR}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}