ports/173208: [PATCH] graphics/box: update to 0.3.4, take maintainership, OptionsNG
nemysis
nemysis at gmx.ch
Tue Oct 30 11:00:00 UTC 2012
>Number: 173208
>Category: ports
>Synopsis: [PATCH] graphics/box: update to 0.3.4, take maintainership, OptionsNG
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 30 11:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: nemysis
>Release: FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC
>Description:
- Update to 0.3.4
- Take maintainership
Removed file(s):
- files/patch-tests__dylib__Makefile.dev
Makefile changed:
+DIST_SUBDIR= box
+PORTDOCS=
+.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MDOCS}
+.if ${PORT_OPTIONS:MEXAMPLES}
Generated and tested manually, tested with port test and with RedPorts (all RELEASES, CLANG), sent with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
>How-To-Repeat:
portlint -A
looks fine.
port test: clean
Build log
https://redports.org/buildarchive/20121030022352-5349/
Can't be builded with FreeBSD 7.4 and CLANG as compiler
>Fix:
--- box-0.3.4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/box/Makefile ./Makefile
--- /usr/ports/graphics/box/Makefile 2012-06-01 07:19:39.000000000 +0200
+++ ./Makefile 2012-10-30 03:01:08.000000000 +0100
@@ -6,12 +6,12 @@
#
PORTNAME= box
-PORTVERSION= 0.3.3
-PORTREVISION= 1
+PORTVERSION= 0.3.4
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}c/Box%20-%20the%20compiler/${DISTNAME}/
+DIST_SUBDIR= box
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= nemysis at gmx.ch
COMMENT= Compiler for box, the figure description language
LICENSE= GPLv2 LGPL3
@@ -30,18 +30,27 @@
MAN1= ${PORTNAME}.1
+PORTDOCS= AUTHORS ChangeLog README STYLE TODO
+
PLIST_SUB+= PLIST_VER="0.3"
+.include <bsd.port.options.mk>
+
post-patch:
${TOUCH} ${WRKSRC}/man/${PORTNAME}.sgml
check regression-test: build
- (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} check)
+ @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} check)
post-install:
-.if !defined(NOPORTEXAMPLES)
- @${MKDIR} ${EXAMPLESDIR}
- @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
+.if ${PORT_OPTIONS:MEXAMPLES}
+ ${MKDIR} ${EXAMPLESDIR}
+ @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
.endif
.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/graphics/box/distinfo ./distinfo
--- /usr/ports/graphics/box/distinfo 2012-04-27 23:04:37.000000000 +0200
+++ ./distinfo 2012-10-30 10:54:23.000000000 +0100
@@ -1,2 +1,2 @@
-SHA256 (box-0.3.3.tar.gz) = cc02ff2f7efb03d63fff0865ed949c9ec60f954a20d6120d73ee69ae6e62dc4c
-SIZE (box-0.3.3.tar.gz) = 1068961
+SHA256 (box/box-0.3.4.tar.gz) = c80ccfcf34eb2afc484943d5a2ab46ad42c51a79a3135b06c840e9db16aa6dcc
+SIZE (box/box-0.3.4.tar.gz) = 1065106
diff -ruN --exclude=CVS /usr/ports/graphics/box/files/patch-tests__dylib__Makefile.dev ./files/patch-tests__dylib__Makefile.dev
--- /usr/ports/graphics/box/files/patch-tests__dylib__Makefile.dev 2011-04-08 16:51:28.000000000 +0200
+++ ./files/patch-tests__dylib__Makefile.dev 1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- ./tests/dylib/Makefile.dev.orig 2011-04-06 13:42:46.000000000 -0700
-+++ ./tests/dylib/Makefile.dev 2011-04-06 13:42:59.000000000 -0700
-@@ -6,7 +6,7 @@
- $(DESTDIR)/libmylib.la: mylib.c
- $(LIBTOOL) --mode=compile gcc -c -I../.. mylib.c
- $(LIBTOOL) --mode=link gcc -module -o libmylib.la mylib.lo -rpath $(DESTDIR)
-- $(LIBTOOL) --mode=install cp libmylib.la $(DESTDIR)/libmylib.la
-+ $(LIBTOOL) --mode=install cp libmylib.la $(DESTDIR)/libmylib.la
- #gcc -I../.. -fPIC -shared -o libmylib.so mylib.c
-
- clean:
diff -ruN --exclude=CVS /usr/ports/graphics/box/pkg-plist ./pkg-plist
--- /usr/ports/graphics/box/pkg-plist 2012-04-27 23:04:37.000000000 +0200
+++ ./pkg-plist 2012-10-30 11:18:42.000000000 +0100
@@ -13,12 +13,17 @@
include/box%%PLIST_VER%%/box/occupation.h
include/box%%PLIST_VER%%/box/print.h
include/box%%PLIST_VER%%/box/srcpos.h
+include/box%%PLIST_VER%%/box/stream.h
include/box%%PLIST_VER%%/box/strutils.h
include/box%%PLIST_VER%%/box/types.h
include/box%%PLIST_VER%%/box/version.h
-include/box%%PLIST_VER%%/box/virtmach.h
+include/box%%PLIST_VER%%/box/vm2txt.h
+include/box%%PLIST_VER%%/box/vm_private.h
include/box%%PLIST_VER%%/box/vmalloc.h
+include/box%%PLIST_VER%%/box/vmdasm.h
include/box%%PLIST_VER%%/box/vmproc.h
+include/box%%PLIST_VER%%/box/vmserial.h
+include/box%%PLIST_VER%%/box/vmstore.h
include/box%%PLIST_VER%%/box/vmsym.h
include/box%%PLIST_VER%%/box/vmsymstuff.h
lib/box%%PLIST_VER%%/lib/libg.a
@@ -30,52 +35,53 @@
lib/box%%PLIST_VER%%/pkg/bounce.bxh
lib/box%%PLIST_VER%%/pkg/caps.box
lib/box%%PLIST_VER%%/pkg/core.dox
-lib/box%%PLIST_VER%%/pkg/electric.bxh
-lib/box%%PLIST_VER%%/pkg/g/obj.box
+lib/box%%PLIST_VER%%/pkg/electric.box
+lib/box%%PLIST_VER%%/pkg/g/_circle.bxh
+lib/box%%PLIST_VER%%/pkg/g/_gradient.bxh
+lib/box%%PLIST_VER%%/pkg/g/_line.bxh
+lib/box%%PLIST_VER%%/pkg/g/_pointlist.bxh
+lib/box%%PLIST_VER%%/pkg/g/_poly.bxh
+lib/box%%PLIST_VER%%/pkg/g/_put.bxh
+lib/box%%PLIST_VER%%/pkg/g/_text.bxh
+lib/box%%PLIST_VER%%/pkg/g/area.box
+lib/box%%PLIST_VER%%/pkg/g/axes.box
+lib/box%%PLIST_VER%%/pkg/g/bbox.box
+lib/box%%PLIST_VER%%/pkg/g/circle.box
+lib/box%%PLIST_VER%%/pkg/g/circles.box
+lib/box%%PLIST_VER%%/pkg/g/clip.box
+lib/box%%PLIST_VER%%/pkg/g/cmdstream.box
+lib/box%%PLIST_VER%%/pkg/g/color.box
lib/box%%PLIST_VER%%/pkg/g/const.box
+lib/box%%PLIST_VER%%/pkg/g/constraints.box
+lib/box%%PLIST_VER%%/pkg/g/fill.box
+lib/box%%PLIST_VER%%/pkg/g/g2.box
lib/box%%PLIST_VER%%/pkg/g/gcore.box
+lib/box%%PLIST_VER%%/pkg/g/gradcore.box
+lib/box%%PLIST_VER%%/pkg/g/gradient.box
+lib/box%%PLIST_VER%%/pkg/g/hot.box
+lib/box%%PLIST_VER%%/pkg/g/image.box
+lib/box%%PLIST_VER%%/pkg/g/init.box
+lib/box%%PLIST_VER%%/pkg/g/line.box
+lib/box%%PLIST_VER%%/pkg/g/lines.box
lib/box%%PLIST_VER%%/pkg/g/matrix.box
-lib/box%%PLIST_VER%%/pkg/g/transform.box
+lib/box%%PLIST_VER%%/pkg/g/obj.box
+lib/box%%PLIST_VER%%/pkg/g/oldstyle.box
lib/box%%PLIST_VER%%/pkg/g/option.box
-lib/box%%PLIST_VER%%/pkg/g/raw.box
-lib/box%%PLIST_VER%%/pkg/g/cmdstream.box
-lib/box%%PLIST_VER%%/pkg/g/points.box
lib/box%%PLIST_VER%%/pkg/g/path.box
-lib/box%%PLIST_VER%%/pkg/g/fill.box
+lib/box%%PLIST_VER%%/pkg/g/pattern.box
+lib/box%%PLIST_VER%%/pkg/g/points.box
+lib/box%%PLIST_VER%%/pkg/g/poly.box
+lib/box%%PLIST_VER%%/pkg/g/put.box
+lib/box%%PLIST_VER%%/pkg/g/raw.box
+lib/box%%PLIST_VER%%/pkg/g/save.box
lib/box%%PLIST_VER%%/pkg/g/stroke.box
lib/box%%PLIST_VER%%/pkg/g/style.box
-lib/box%%PLIST_VER%%/pkg/g/poly.box
lib/box%%PLIST_VER%%/pkg/g/text.box
lib/box%%PLIST_VER%%/pkg/g/texts.box
-lib/box%%PLIST_VER%%/pkg/g/circle.box
-lib/box%%PLIST_VER%%/pkg/g/circles.box
-lib/box%%PLIST_VER%%/pkg/g/line.box
-lib/box%%PLIST_VER%%/pkg/g/lines.box
-lib/box%%PLIST_VER%%/pkg/g/gradcore.box
-lib/box%%PLIST_VER%%/pkg/g/gradient.box
-lib/box%%PLIST_VER%%/pkg/g/clip.box
-lib/box%%PLIST_VER%%/pkg/g/hot.box
-lib/box%%PLIST_VER%%/pkg/g/constraints.box
-lib/box%%PLIST_VER%%/pkg/g/put.box
-lib/box%%PLIST_VER%%/pkg/g/window.box
-lib/box%%PLIST_VER%%/pkg/g/bbox.box
-lib/box%%PLIST_VER%%/pkg/g/save.box
-lib/box%%PLIST_VER%%/pkg/g/g2.box
-lib/box%%PLIST_VER%%/pkg/g/init.box
-lib/box%%PLIST_VER%%/pkg/g/color.box
-lib/box%%PLIST_VER%%/pkg/g/oldstyle.box
-lib/box%%PLIST_VER%%/pkg/g/_gradient.bxh
-lib/box%%PLIST_VER%%/pkg/g/pattern.box
-lib/box%%PLIST_VER%%/pkg/g/_line.bxh
-lib/box%%PLIST_VER%%/pkg/g/_circle.bxh
-lib/box%%PLIST_VER%%/pkg/g/_poly.bxh
-lib/box%%PLIST_VER%%/pkg/g/_put.bxh
-lib/box%%PLIST_VER%%/pkg/g/_pointlist.bxh
-lib/box%%PLIST_VER%%/pkg/g/_text.bxh
-lib/box%%PLIST_VER%%/pkg/g/area.box
-lib/box%%PLIST_VER%%/pkg/g/axes.box
lib/box%%PLIST_VER%%/pkg/g/thickline.box
-lib/box%%PLIST_VER%%/pkg/g/image.box
+lib/box%%PLIST_VER%%/pkg/g/transform.box
+lib/box%%PLIST_VER%%/pkg/g/window.box
+lib/box%%PLIST_VER%%/pkg/guitools.box
lib/box%%PLIST_VER%%/pkg/label.bxh
lib/box%%PLIST_VER%%/pkg/math.box
lib/box%%PLIST_VER%%/pkg/rectangle.box
--- box-0.3.4.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list