1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Respect DESTDIR, remove plist

PR:             101786
Submitted by:   gabor
This commit is contained in:
Andrey A. Chernov 2006-08-11 05:53:51 +00:00
parent 703909b564
commit 8478f3bb1e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170325
2 changed files with 4 additions and 5 deletions

View File

@ -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}

View File

@ -1,4 +0,0 @@
bin/unrar
%%PORTDOCS%%%%DOCSDIR%%/license.txt
%%PORTDOCS%%%%DOCSDIR%%/readme.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%