aboutsummaryrefslogtreecommitdiffstats
path: root/devel/stlport/Makefile
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-10-04 08:37:35 +0800
committerlioux <lioux@FreeBSD.org>2001-10-04 08:37:35 +0800
commit34ef8ff302846e231c513bf52c545c2b3d9ab031 (patch)
tree8a314f176a5e45250c34b51d8d39b34b917439bf /devel/stlport/Makefile
parent1e9fe0fbf4ca0a1bf1a7e08360c128f3b2776df5 (diff)
downloadfreebsd-ports-gnome-34ef8ff302846e231c513bf52c545c2b3d9ab031.tar.gz
freebsd-ports-gnome-34ef8ff302846e231c513bf52c545c2b3d9ab031.tar.zst
freebsd-ports-gnome-34ef8ff302846e231c513bf52c545c2b3d9ab031.zip
o fix installation permissions in do-install target
o un"echo" installation (less noise) o add missing entry in PLIST PR: 31016 Submitted by: Patrick Li <pat@databits.net>
Diffstat (limited to 'devel/stlport/Makefile')
-rw-r--r--devel/stlport/Makefile29
1 files changed, 15 insertions, 14 deletions
diff --git a/devel/stlport/Makefile b/devel/stlport/Makefile
index 14d58c305186..dac0d45f22a5 100644
--- a/devel/stlport/Makefile
+++ b/devel/stlport/Makefile
@@ -26,29 +26,30 @@ MAKEFILE= gcc.mak
ALL_TARGET= clean all
USE_GMAKE= yes
+FIND?= /usr/bin/find
+
pre-build:
- ${LN} -sf /usr/include/g++ ${WRKSRC}/../include
+ @${LN} -sf /usr/include/g++ ${WRKSRC}/../include
post-build:
.for lib in libstlport_gcc.so libstlport_gcc_debug.so libstlport_gcc_stldebug.so
- ${MV} ${WRKSRC}/../lib/${lib} ${WRKSRC}/../lib/${lib}.4_0_${PORTREVISION}
+ @${MV} ${WRKSRC}/../lib/${lib} ${WRKSRC}/../lib/${lib}.4_0_${PORTREVISION}
.endfor
-# get list from `export' files in version 4.1, rather than do this
- cd ${WRKSRC}/../stlport ; ${RM} -rf BC50 SC5 config/new_compiler old_hp
- find ${WRKSRC}/../stlport -name "*.orig" -delete
+ @cd ${WRKSRC}/../stlport ; ${RM} -rf BC50 SC5 config/new_compiler old_hp
+ @${FIND} ${WRKSRC}/../stlport -name "*.orig" -delete
do-install:
- cd ${WRKSRC}/.. ; pax -rw stlport ${PREFIX}/include
- ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/include
- ${CHMOD} -R ${SHAREMODE} ${PREFIX}/include
- ${CHMOD} -R ugo+X ${PREFIX}/include
- ${INSTALL_DATA} ${WRKSRC}/../lib/* ${PREFIX}/lib
+ @cd ${WRKSRC}/.. ; pax -rw stlport ${PREFIX}/include
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/include/stlport
+ @${CHMOD} -R ${SHAREMODE} ${PREFIX}/include/stlport
+ @${FIND} ${PREFIX}/include/stlport -type d -exec ${CHMOD} 0755 {} \;
+ @${INSTALL_DATA} ${WRKSRC}/../lib/* ${PREFIX}/lib
.for lib in libstlport_gcc.so libstlport_gcc_debug.so libstlport_gcc_stldebug.so
- cd ${PREFIX}/lib ; ${LN} -sf ${lib}.4_0_${PORTREVISION} ${lib}
+ @cd ${PREFIX}/lib ; ${LN} -sf ${lib}.4_0_${PORTREVISION} ${lib}
.endfor
- ${MKDIR} ${PREFIX}/share/doc/html/stlport/images
- cd ${WRKSRC}/../doc ; ${INSTALL_MAN} *.css *.html ${PREFIX}/share/doc/html/stlport
- cd ${WRKSRC}/../doc ; ${INSTALL_MAN} images/* ${PREFIX}/share/doc/html/stlport/images
+ @${MKDIR} ${PREFIX}/share/doc/html/stlport/images
+ @cd ${WRKSRC}/../doc ; ${INSTALL_MAN} *.css *.html ${PREFIX}/share/doc/html/stlport
+ @cd ${WRKSRC}/../doc ; ${INSTALL_MAN} images/* ${PREFIX}/share/doc/html/stlport/images
.include <bsd.port.post.mk>
-