ports/81129: [PATCH] devel/libslang: Conflicts with libslang2, use PORTDOCS
Renato Botelho
freebsd at galle.com.br
Mon May 16 19:30:13 UTC 2005
>Number: 81129
>Category: ports
>Synopsis: [PATCH] devel/libslang: Conflicts with libslang2, use PORTDOCS
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon May 16 19:30:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Renato Botelho
>Release: FreeBSD 5.4-RELEASE i386
>Organization:
Galle Folheados - http://www.galle.com.br
>Environment:
System: FreeBSD data.galle.com.br 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Tue May 10 09:20:42 BRST 2005
>Description:
- Add CONFLICTS with libslang2
- Use PORTDOCS
- Add $FreeBSD$ tag to pkg-plist
Port maintainer (xaa+ports at timewasters.nl) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- libslang-1.4.9.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/libslang/Makefile,v
retrieving revision 1.32
diff -u -r1.32 Makefile
--- Makefile 19 May 2003 11:29:30 -0000 1.32
+++ Makefile 16 May 2005 19:23:00 -0000
@@ -18,12 +18,22 @@
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
+CONFLICTS= libslang2-[0-9]*
+
ALL_TARGET= all elf
INSTALL_TARGET= install install-elf
-.if !defined(NOPORTDOCS)
+DOCSDIR= ${PREFIX}/share/doc/slang
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= *
+.endif
+
+.include <bsd.port.pre.mk>
+
post-install:
- cd ${WRKSRC}/src && ${MAKE} install_docs
+.if !defined(NOPORTDOCS)
+ @cd ${WRKSRC}/src && ${MAKE} install_docs
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/libslang/pkg-plist,v
retrieving revision 1.17
diff -u -r1.17 pkg-plist
--- pkg-plist 17 Feb 2002 20:45:49 -0000 1.17
+++ pkg-plist 16 May 2005 19:23:00 -0000
@@ -1,16 +1,6 @@
+ at comment $FreeBSD$
include/slang.h
include/slcurses.h
lib/libslang.a
lib/libslang.so
lib/libslang.so.1
-%%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
--- libslang-1.4.9.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list