summaryrefslogtreecommitdiff
path: root/archivers/unrar/Makefile
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2006-08-11 05:53:51 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2006-08-11 05:53:51 +0000
commit8478f3bb1e66d90a5b997e36e5eb75e86d3c4dac (patch)
tree395c43d2ad125814007acd620c622baa800b7cdb /archivers/unrar/Makefile
parentReset ascope@cpan.org due to no response to email. (diff)
Respect DESTDIR, remove plist
PR: 101786 Submitted by: gabor
Notes
Notes: svn path=/head/; revision=170325
Diffstat (limited to 'archivers/unrar/Makefile')
-rw-r--r--archivers/unrar/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/archivers/unrar/Makefile b/archivers/unrar/Makefile
index d5acaca2638f..ac99ee16ccc3 100644
--- a/archivers/unrar/Makefile
+++ b/archivers/unrar/Makefile
@@ -24,12 +24,15 @@ WRKSRC= ${WRKDIR}/unrar
USE_GMAKE= yes
+PLIST_FILES= bin/unrar
+PORTDOCS= license.txt readme.txt
+
post-patch:
@${SED} -e 's|g++|${CXX}|g' -e 's|-O2|${CXXFLAGS}|g' \
${WRKSRC}/makefile.unix > ${WRKSRC}/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/unrar ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/unrar ${TARGETDIR}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/license.txt ${DOCSDIR}