aboutsummaryrefslogtreecommitdiff
path: root/archivers/unrar
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
parent703909b564f3f5d2f937a30036fe7c380a934614 (diff)
downloadports-8478f3bb1e66d90a5b997e36e5eb75e86d3c4dac.tar.gz
ports-8478f3bb1e66d90a5b997e36e5eb75e86d3c4dac.zip
Notes
Diffstat (limited to 'archivers/unrar')
-rw-r--r--archivers/unrar/Makefile5
-rw-r--r--archivers/unrar/pkg-plist4
2 files changed, 4 insertions, 5 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}
diff --git a/archivers/unrar/pkg-plist b/archivers/unrar/pkg-plist
deleted file mode 100644
index 534af9eca17e..000000000000
--- a/archivers/unrar/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/unrar
-%%PORTDOCS%%%%DOCSDIR%%/license.txt
-%%PORTDOCS%%%%DOCSDIR%%/readme.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%