1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
This commit is contained in:
Vanilla I. Shu 2014-06-08 16:21:10 +00:00
parent 056f7c6822
commit a838244fba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357052
2 changed files with 24 additions and 2 deletions

View File

@ -13,8 +13,6 @@ COMMENT= Execute a program with a fake name
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= gmake
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>

View File

@ -0,0 +1,24 @@
--- Makefile.orig 2014-06-09 00:18:35.116823595 +0800
+++ Makefile 2014-06-09 00:19:38.891822142 +0800
@@ -122,8 +122,8 @@ install: install-bin install-inc install
@${ECHO} "Use 'make install-doc' to install documentation."
install-bin: ${TGT}
- -${MKDIR} ${BINDIR}
- ${INSTALL_PROGRAM} ${TGT} ${BINDIR}
+ -${MKDIR} $(DESTDIR)${BINDIR}
+ ${INSTALL_PROGRAM} ${TGT} $(DESTDIR)${BINDIR}
install-inc: ${TGTLIB}
# -${MKDIR} ${INCDIR}
@@ -136,8 +136,8 @@ install-lib: ${TGTLIB}
install-share:
install-doc:
- -${MKDIR} ${DOCDIR}/html
- ${INSTALL_DATA} doc/html/*.html doc/html/*.gif ${DOCDIR}/html
+ -${MKDIR} $(DESTDIR)${DOCDIR}/html
+ ${INSTALL_DATA} doc/html/*.html doc/html/*.gif $(DESTDIR)${DOCDIR}/html
${TGT}: ${TGTLIB} ${MAINOBJ}
${CC} ${LFLAGS} -o ${TGT} ${MAINOBJ} ${TGTLIB} ${LIBS}