Fix package build.

This commit is contained in:
Kirill Ponomarev 2005-01-22 09:20:53 +00:00
parent 30c75f205c
commit b51c5714ac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127081
2 changed files with 29 additions and 9 deletions

View File

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

View File

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