summaryrefslogtreecommitdiff
path: root/devel/libslang
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2001-02-21 10:42:02 +0000
committerPeter Pentchev <roam@FreeBSD.org>2001-02-21 10:42:02 +0000
commita4140617222dd14bfb10728dc86d3f2f5a3f367c (patch)
tree3c3cb24f8a906b29fedf6f63ab1c9f90a5795767 /devel/libslang
parentUpdate to look for c-client 4.8 libs. (diff)
Update to 1.4.4, add NOPORTDOCS handling.
PR: 25246 Submitted by: maintainer
Diffstat (limited to 'devel/libslang')
-rw-r--r--devel/libslang/Makefile7
-rw-r--r--devel/libslang/distinfo2
-rw-r--r--devel/libslang/files/patch-ae15
-rw-r--r--devel/libslang/pkg-plist22
4 files changed, 30 insertions, 16 deletions
diff --git a/devel/libslang/Makefile b/devel/libslang/Makefile
index 5c74f8c67522..7f7a8a5e6b9d 100644
--- a/devel/libslang/Makefile
+++ b/devel/libslang/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libslang
-PORTVERSION= 1.4.3
+PORTVERSION= 1.4.4
CATEGORIES= devel
MASTER_SITES= ftp://space.mit.edu/pub/davis/slang/v1.4/
DISTNAME= slang-${PORTVERSION}
@@ -20,4 +20,9 @@ INSTALLS_SHLIB= yes
ALL_TARGET= all elf
INSTALL_TARGET= install install-elf
+.if !defined(NOPORTDOCS)
+post-install:
+ cd ${WRKSRC}/src && ${MAKE} install_docs
+.endif
+
.include <bsd.port.mk>
diff --git a/devel/libslang/distinfo b/devel/libslang/distinfo
index 72f433b525f1..9dae79be6226 100644
--- a/devel/libslang/distinfo
+++ b/devel/libslang/distinfo
@@ -1 +1 @@
-MD5 (slang-1.4.3.tar.bz2) = 3ccadbb4fbd8154049f4c73dab899d92
+MD5 (slang-1.4.4.tar.bz2) = a79b7e57efb8d56a80048144a73ba909
diff --git a/devel/libslang/files/patch-ae b/devel/libslang/files/patch-ae
index 80bbaeca8f17..c57f97ebd093 100644
--- a/devel/libslang/files/patch-ae
+++ b/devel/libslang/files/patch-ae
@@ -1,5 +1,5 @@
---- src/Makefile.in.orig Mon Jan 24 13:38:33 2000
-+++ src/Makefile.in Mon Jan 24 13:38:41 2000
+--- src/Makefile.in.old Wed Feb 21 11:57:28 2001
++++ src/Makefile.in Wed Feb 21 11:57:58 2001
@@ -36,7 +36,7 @@
exec_prefix = @exec_prefix@
install_lib_dir = @libdir@
@@ -7,5 +7,14 @@
-install_doc_dir = $(prefix)/doc/slang
+install_doc_dir = $(prefix)/share/doc/slang
DOC_FILES = ../changes.txt ../COPY* ../doc/slangdoc.html ../doc/text/*.txt
+ MODULE_INSTALL_DIR = @libdir@/slang/modules
#---------------------------------------------------------------------------
- # Misc commands (safe to leave these untouched)
+@@ -138,7 +138,7 @@
+ #---------------------------------------------------------------------------
+ # Intallation rules
+ #---------------------------------------------------------------------------
+-install: install_basic_lib install_docs
++install: install_basic_lib
+ install_basic_lib: $(DEST_LIBDIR) $(DEST_INCDIR) $(OBJDIR_NORMAL_LIB)
+ @echo installing $(OBJDIR_NORMAL_LIB) in $(DEST_LIBDIR)
+ $(INSTALL_DATA) $(OBJDIR_NORMAL_LIB) $(DEST_LIBDIR)
diff --git a/devel/libslang/pkg-plist b/devel/libslang/pkg-plist
index 5c20fad21a5a..527682c3a5a5 100644
--- a/devel/libslang/pkg-plist
+++ b/devel/libslang/pkg-plist
@@ -3,14 +3,14 @@ include/slcurses.h
lib/libslang.a
lib/libslang.so
lib/libslang.so.1.4
-share/doc/slang/COPYING
-share/doc/slang/COPYING.ART
-share/doc/slang/COPYING.GPL
-share/doc/slang/COPYRIGHT
-share/doc/slang/changes.txt
-share/doc/slang/cref.txt
-share/doc/slang/cslang.txt
-share/doc/slang/slang.txt
-share/doc/slang/slangdoc.html
-share/doc/slang/slangfun.txt
-@dirrm share/doc/slang
+%%PORTDOCS%%share/doc/slang/COPYING
+%%PORTDOCS%%share/doc/slang/COPYING.ART
+%%PORTDOCS%%share/doc/slang/COPYING.GPL
+%%PORTDOCS%%share/doc/slang/COPYRIGHT
+%%PORTDOCS%%share/doc/slang/changes.txt
+%%PORTDOCS%%share/doc/slang/cref.txt
+%%PORTDOCS%%share/doc/slang/cslang.txt
+%%PORTDOCS%%share/doc/slang/slang.txt
+%%PORTDOCS%%share/doc/slang/slangdoc.html
+%%PORTDOCS%%share/doc/slang/slangfun.txt
+%%PORTDOCS%%@dirrm share/doc/slang