aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2005-01-22 17:20:53 +0800
committerkrion <krion@FreeBSD.org>2005-01-22 17:20:53 +0800
commit12c18edeba31d56cb1ad2f393e9e7fa0965aca16 (patch)
tree99896fd621ef074b4cffee3620321dd7eb66ce3d /devel
parentf573b48b6e529a751b1d543ff19495df524df3b9 (diff)
downloadfreebsd-ports-gnome-12c18edeba31d56cb1ad2f393e9e7fa0965aca16.tar.gz
freebsd-ports-gnome-12c18edeba31d56cb1ad2f393e9e7fa0965aca16.tar.zst
freebsd-ports-gnome-12c18edeba31d56cb1ad2f393e9e7fa0965aca16.zip
Fix package build.
Diffstat (limited to 'devel')
-rw-r--r--devel/libdict/files/patch-GNUmakefile20
-rw-r--r--devel/libdict/pkg-plist18
2 files changed, 29 insertions, 9 deletions
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%%/