aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/qt30
diff options
context:
space:
mode:
authorimura <imura@FreeBSD.org>1999-10-31 18:12:49 +0800
committerimura <imura@FreeBSD.org>1999-10-31 18:12:49 +0800
commiteb8137540504ff951ca2598834c8249676e0de49 (patch)
treee0c65ad577ee171bd3748021927be1b82dd82067 /x11-toolkits/qt30
parent82bd0e251189c97433473b4a2039514f4d437529 (diff)
downloadfreebsd-ports-gnome-eb8137540504ff951ca2598834c8249676e0de49.tar.gz
freebsd-ports-gnome-eb8137540504ff951ca2598834c8249676e0de49.tar.zst
freebsd-ports-gnome-eb8137540504ff951ca2598834c8249676e0de49.zip
Add 'cd ${WRKSRC}' when make install.
This will fix the problem when WRKDIRPREFIX is too long. Submitted by: okazaki@be.to, kodama@ayame.mfd.cs.fujitsu.co.jp
Diffstat (limited to 'x11-toolkits/qt30')
-rw-r--r--x11-toolkits/qt30/Makefile42
1 files changed, 21 insertions, 21 deletions
diff --git a/x11-toolkits/qt30/Makefile b/x11-toolkits/qt30/Makefile
index 90bcbb6b5f94..2c92d81ce28a 100644
--- a/x11-toolkits/qt30/Makefile
+++ b/x11-toolkits/qt30/Makefile
@@ -41,28 +41,28 @@ PLIST_SUB= VERSION=${VERSION}
.include "files/manpages"
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/mergetr ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/moc ${PREFIX}/bin/moc2
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/msg2qm ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/findtr ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/qt20fix ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/qtrename140 ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/lib/libqt2.so.${VERSION} ${PREFIX}/lib/libqt2.so.${VERSION}
- ${LN} -sf ${PREFIX}/lib/libqt2.so.${VERSION} ${PREFIX}/lib/libqt2.so
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
- ${MKDIR} ${PREFIX}/include/qt2
- ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/qt2
- ${INSTALL_MAN} ${WRKSRC}/man/man1/moc.1 ${PREFIX}/man/man1/moc2.1
- ${INSTALL_MAN} ${WRKSRC}/man/man3/q* ${PREFIX}/man/man3
+ @(cd ${WRKSRC} ; \
+ ${INSTALL_PROGRAM} bin/mergetr ${PREFIX}/bin ; \
+ ${INSTALL_PROGRAM} bin/moc ${PREFIX}/bin/moc2 ; \
+ ${INSTALL_PROGRAM} bin/msg2qm ${PREFIX}/bin ; \
+ ${INSTALL_SCRIPT} bin/findtr ${PREFIX}/bin ; \
+ ${INSTALL_SCRIPT} bin/qt20fix ${PREFIX}/bin ; \
+ ${INSTALL_SCRIPT} bin/qtrename140 ${PREFIX}/bin ; \
+ ${INSTALL_DATA} lib/libqt2.so.${VERSION} ${PREFIX}/lib/libqt2.so.${VERSION} ; \
+ ${LN} -sf ${PREFIX}/lib/libqt2.so.${VERSION} ${PREFIX}/lib/libqt2.so ; \
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib ; \
+ ${MKDIR} ${PREFIX}/include/qt2 ; \
+ ${INSTALL_DATA} include/*.h ${PREFIX}/include/qt2 ; \
+ ${INSTALL_MAN} man/man1/moc.1 ${PREFIX}/man/man1/moc2.1 ; \
+ ${INSTALL_MAN} man/man3/q* ${PREFIX}/man/man3 )
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/qt2/html
- ${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/doc/qt2
- ${INSTALL_DATA} ${WRKSRC}/LICENSE.QPL ${PREFIX}/share/doc/qt2
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/qt2
- ${INSTALL_DATA} ${WRKSRC}/README.QT ${PREFIX}/share/doc/qt2
- ${INSTALL_DATA} ${WRKSRC}/doc/[^q]* ${PREFIX}/share/doc/qt2/html
- ${INSTALL_DATA} ${WRKSRC}/doc/q[a-m]* ${PREFIX}/share/doc/qt2/html
- ${INSTALL_DATA} ${WRKSRC}/doc/q[n-z]* ${PREFIX}/share/doc/qt2/html
+ @(cd ${WRKSRC} ; \
+ ${MKDIR} ${PREFIX}/share/doc/qt2/html ; \
+ ${INSTALL_DATA} FAQ ${PREFIX}/share/doc/qt2 ; \
+ ${INSTALL_DATA} LICENSE.QPL ${PREFIX}/share/doc/qt2 ; \
+ ${INSTALL_DATA} README ${PREFIX}/share/doc/qt2 ; \
+ ${INSTALL_DATA} README.QT ${PREFIX}/share/doc/qt2 ; \
+ ${INSTALL_DATA} doc/* ${PREFIX}/share/doc/qt2/html )
.endif
.include <bsd.port.post.mk>