1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

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
This commit is contained in:
R. Imura 1999-10-31 10:12:49 +00:00
parent 94b2e9067e
commit 0d726bfbcc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=22736
6 changed files with 126 additions and 126 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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