aboutsummaryrefslogtreecommitdiff
path: root/devel/ustl
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2005-01-25 01:55:58 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2005-01-25 01:55:58 +0000
commite3d809db438e29e820f71ee5668e4be833c4a0e6 (patch)
tree3a73ad0f96972595a5662b533ed589f1cc9dee84 /devel/ustl
parentdc91ddc6dfb06df8f060f6aade778dc49b2199a8 (diff)
downloadports-e3d809db438e29e820f71ee5668e4be833c4a0e6.tar.gz
ports-e3d809db438e29e820f71ee5668e4be833c4a0e6.zip
Notes
Diffstat (limited to 'devel/ustl')
-rw-r--r--devel/ustl/Makefile10
-rw-r--r--devel/ustl/pkg-plist48
2 files changed, 9 insertions, 49 deletions
diff --git a/devel/ustl/Makefile b/devel/ustl/Makefile
index fa6235da8706..9bc0862a760b 100644
--- a/devel/ustl/Makefile
+++ b/devel/ustl/Makefile
@@ -25,9 +25,17 @@ HAS_CONFIGURE= yes
USE_GMAKE= yes
ALL_TARGET= # empty
+PLIST_FILES= lib/libustl.a
+
post-patch:
@${REINPLACE_CMD} -e "s,/bin/bash,${LOCALBASE}/bin/bash," ${WRKSRC}/configure
@${REINPLACE_CMD} -e "s|SIZE_MAX|UINT_MAX|" ${WRKSRC}/memblock.h
- @${REINPLACE_CMD} -e "s|-Werror||" ${WRKSRC}/Common.mk.in
+ @${REINPLACE_CMD} -e "s|-Werror||;s|-O3||" ${WRKSRC}/Common.mk.in
+
+post-install:
+ @${FIND} ${PREFIX}/include/ustl* ! -type d | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${FIND} ${PREFIX}/include/ustl* -type d | ${SORT} -r | \
+ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.include <bsd.port.mk>
diff --git a/devel/ustl/pkg-plist b/devel/ustl/pkg-plist
deleted file mode 100644
index 80ec61584003..000000000000
--- a/devel/ustl/pkg-plist
+++ /dev/null
@@ -1,48 +0,0 @@
-include/ustl/cmemlink.h
-include/ustl/config.h
-include/ustl/fdostream.h
-include/ustl/memblock.h
-include/ustl/memlink.h
-include/ustl/mistream.h
-include/ustl/mostream.h
-include/ustl/simd.h
-include/ustl/sistream.h
-include/ustl/sostream.h
-include/ustl/strmsize.h
-include/ustl/ualgo.h
-include/ustl/ualgobase.h
-include/ustl/ubitset.h
-include/ustl/uctralgo.h
-include/ustl/uexception.h
-include/ustl/ufunction.h
-include/ustl/uios.h
-include/ustl/uiosfunc.h
-include/ustl/uiterator.h
-include/ustl/ulaalgo.h
-include/ustl/ulimits.h
-include/ustl/ulist.h
-include/ustl/umap.h
-include/ustl/umatrix.h
-include/ustl/umemory.h
-include/ustl/umultimap.h
-include/ustl/umultiset.h
-include/ustl/unew.h
-include/ustl/unumeric.h
-include/ustl/upair.h
-include/ustl/upredalgo.h
-include/ustl/uqueue.h
-include/ustl/uset.h
-include/ustl/uspecial.h
-include/ustl/ustack.h
-include/ustl/ustdxept.h
-include/ustl/ustl.h
-include/ustl/ustl.tbff
-include/ustl/ustring.h
-include/ustl/utf8.h
-include/ustl/utuple.h
-include/ustl/utypes.h
-include/ustl/uutility.h
-include/ustl/uvector.h
-@dirrm include/ustl
-include/ustl.h
-lib/libustl.a