ports/177284: [PATCH] graphics/libboard: [SUMMARIZE CHANGES]
nemysis
nemysis at gmx.ch
Fri Mar 22 20:20:02 UTC 2013
>Number: 177284
>Category: ports
>Synopsis: [PATCH] graphics/libboard: [SUMMARIZE CHANGES]
>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: Fri Mar 22 20:20:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: nemysis
>Release: FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10
>Description:
- Convert to OptionsNG
- Makefile tweaks
- EXAMPLES removed from pkg-plist
Port maintainer (thierry at FreeBSD.org) is cc'd.
Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:
--- libboard-0.9.0_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/libboard/Makefile ./Makefile
--- /usr/ports/graphics/libboard/Makefile 2013-01-14 17:57:03.000000000 +0100
+++ ./Makefile 2013-03-22 20:58:38.000000000 +0100
@@ -1,9 +1,5 @@
-# New ports collection makefile for: libboard
-# Date created: Fri 24 aug 2007
-# Whom: thierry at pompo.net
-#
+# Created by: thierry at pompo.net
# $FreeBSD: head/graphics/libboard/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
PORTNAME= libboard
DISTVERSION= 0.9.0
@@ -12,7 +8,7 @@
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
MAINTAINER= thierry at FreeBSD.org
-COMMENT= A vector graphics C++ library
+COMMENT= Vector graphics C++ library
LICENSE= LGPL3
@@ -28,6 +24,7 @@
WRKSRC= ${WRKDIR}/${DISTNAME:C/-.$//}
PORTDOCS= *
+PORTEXAMPLES= *
.include <bsd.port.pre.mk>
@@ -41,16 +38,16 @@
post-install:
${MV} ${PREFIX}/lib/libboard.so ${PREFIX}/lib/libboard.so.0
${LN} -sf ${PREFIX}/lib/libboard.so.0 ${PREFIX}/lib/libboard.so
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- cd ${WRKSRC}/doc/html/ && ${COPYTREE_SHARE} . ${DOCSDIR}/
- ${RM} -rf ${DOCSDIR}/.svn
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+ (cd ${WRKSRC}/doc/html/ && ${COPYTREE_SHARE} . ${DOCSDIR})
+ @${RM} -rf ${DOCSDIR}/.svn
.endif
-.if !defined(NOPORTEXAMPLES)
- ${MKDIR} ${EXAMPLESDIR}
- cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/
- cd ${WRKSRC}/bin/ && ${COPYTREE_BIN} . ${EXAMPLESDIR}/
- ${RM} -rf ${EXAMPLESDIR}/.svn
+.if ${PORT_OPTIONS:MEXAMPLES}
+ @${MKDIR} ${EXAMPLESDIR}
+ (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
+ (cd ${WRKSRC}/bin/ && ${COPYTREE_BIN} . ${EXAMPLESDIR})
+ @${RM} -rf ${EXAMPLESDIR}/.svn
.endif
regression-test:
diff -ruN --exclude=CVS /usr/ports/graphics/libboard/pkg-descr ./pkg-descr
--- /usr/ports/graphics/libboard/pkg-descr 2013-01-14 17:57:03.000000000 +0100
+++ ./pkg-descr 2013-03-22 21:02:25.000000000 +0100
@@ -1,7 +1,7 @@
The board library allows simple drawings in:
- * Encapsulated Postcript files (EPS);
- * XFig files (FIG);
- * Scalable Vector Graphics files (SVG).
+ * Encapsulated Postcript files (EPS);
+ * XFig files (FIG);
+ * Scalable Vector Graphics files (SVG).
WWW: http://www.greyc.ensicaen.fr/~seb/board/
diff -ruN --exclude=CVS /usr/ports/graphics/libboard/pkg-plist ./pkg-plist
--- /usr/ports/graphics/libboard/pkg-plist 2013-01-14 17:57:03.000000000 +0100
+++ ./pkg-plist 2013-03-22 20:24:54.000000000 +0100
@@ -15,35 +15,4 @@
lib/libboard.a
lib/libboard.so
lib/libboard.so.0
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/arithmetic
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/arithmetic.cpp
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/arrows
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/arrows.cpp
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clipping
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clipping.cpp
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ellipse
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ellipse.cpp
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1.cpp
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example2
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example2.cpp
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example3
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example3.cpp
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example4
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example4.cpp
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/flag
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/flag.cpp
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/graph
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/graph.cpp
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/koch
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/koch.cpp
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/logo
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/logo.cpp
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ruler
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ruler.cpp
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/scale_ellipse
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/scale_ellipse.cpp
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
@dirrm include/board
--- libboard-0.9.0_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list