aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
Diffstat (limited to 'archivers')
-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 d5acaca2638..ac99ee16ccc 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 534af9eca17..00000000000
--- a/archivers/unrar/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/unrar
-%%PORTDOCS%%%%DOCSDIR%%/license.txt
-%%PORTDOCS%%%%DOCSDIR%%/readme.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%