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:
parent
703909b564
commit
8478f3bb1e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170325
@ -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}
|
||||
|
@ -1,4 +0,0 @@
|
||||
bin/unrar
|
||||
%%PORTDOCS%%%%DOCSDIR%%/license.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/readme.txt
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user