From b51c5714acf64a2d32d0aeed7a8f7d4428fb930f Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Sat, 22 Jan 2005 09:20:53 +0000 Subject: [PATCH] Fix package build. --- devel/libdict/files/patch-GNUmakefile | 20 ++++++++++++++++++++ devel/libdict/pkg-plist | 18 +++++++++--------- 2 files changed, 29 insertions(+), 9 deletions(-) create mode 100644 devel/libdict/files/patch-GNUmakefile diff --git a/devel/libdict/files/patch-GNUmakefile b/devel/libdict/files/patch-GNUmakefile new file mode 100644 index 000000000000..beee66c0c90c --- /dev/null +++ b/devel/libdict/files/patch-GNUmakefile @@ -0,0 +1,20 @@ + +$FreeBSD$ + +--- GNUmakefile.orig ++++ GNUmakefile +@@ -58,10 +58,10 @@ + + install : $(A_LIB) $(P_LIB) $(S_LIB) + [ -d $(INCDIR) ] || mkdir -m 755 $(INCDIR) +- $(INSTALL) -o $(USER) -g $(GROUP) -m 644 $(HDR) $(INCDIR) +- $(INSTALL) -s -o $(USER) -g $(GROUP) -m 644 $(A_LIB) $(LIBDIR) +- $(INSTALL) -s -o $(USER) -g $(GROUP) -m 644 $(P_LIB) $(LIBDIR) +- $(INSTALL) -s -o $(USER) -g $(GROUP) -m 755 $(S_LIB) $(LIBDIR)/$(SHLIB) ++ $(INSTALL) -m 644 $(HDR) $(INCDIR) ++ $(INSTALL) -s -m 644 $(A_LIB) $(LIBDIR) ++ $(INSTALL) -s -m 644 $(P_LIB) $(LIBDIR) ++ $(INSTALL) -s -m 755 $(S_LIB) $(LIBDIR)/$(SHLIB) + $(SHELL) -ec 'cd $(LIBDIR) && ln -sf $(SHLIB) $(S_LIB)' + + uninstall : diff --git a/devel/libdict/pkg-plist b/devel/libdict/pkg-plist index ba4a77e7544c..8a570772e00c 100644 --- a/devel/libdict/pkg-plist +++ b/devel/libdict/pkg-plist @@ -10,12 +10,12 @@ include/dict/rb_tree.h include/dict/sp_tree.h include/dict/tr_tree.h include/dict/wb_tree.h -share/doc/libdict/avl_insert.dvi -share/doc/libdict/avl_insert.pdf -share/doc/libdict/empty.dvi -share/doc/libdict/empty.pdf -share/doc/libdict/libdict.html -share/doc/libdict/treap_insert.dvi -share/doc/libdict/treap_insert.pdf -@dirrm include/dict -@dirrm share/doc/libdict/ +%%PORTDOCS%%%%DOCSDIR%%/avl_insert.dvi +%%PORTDOCS%%%%DOCSDIR%%/avl_insert.pdf +%%PORTDOCS%%%%DOCSDIR%%/empty.dvi +%%PORTDOCS%%%%DOCSDIR%%/empty.pdf +%%PORTDOCS%%%%DOCSDIR%%/libdict.html +%%PORTDOCS%%%%DOCSDIR%%/treap_insert.dvi +%%PORTDOCS%%%%DOCSDIR%%/treap_insert.pdf +@dirrm include/dict +%%PORTDOCS%%@dirrm %%DOCSDIR%%/