diff options
author | miwi <miwi@FreeBSD.org> | 2008-04-30 10:03:40 +0000 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-04-30 10:03:40 +0000 |
commit | ccc868fceb1b8e8ea49f781f9f5b9cc8685a9b37 (patch) | |
tree | 11164a740a2740b780282ec614ba57f0d7b4322b /graphics/pencil | |
parent | b4807cc7048994b2825e104284d049ede9b4237e (diff) | |
download | FreeBSD-ports-ccc868fceb1b8e8ea49f781f9f5b9cc8685a9b37.zip FreeBSD-ports-ccc868fceb1b8e8ea49f781f9f5b9cc8685a9b37.tar.gz |
Pencil is an animation/drawing software. It lets you
create traditional hand-drawn animation (cartoon) using
both bitmap and vector graphics.
WWW: http://www.les-stooges.org/pascal/pencil
PR: ports/122827
Submitted by: Ganael Laplanche <ganael.laplanche at martymac.com>
Diffstat (limited to 'graphics/pencil')
-rw-r--r-- | graphics/pencil/Makefile | 57 | ||||
-rw-r--r-- | graphics/pencil/distinfo | 3 | ||||
-rw-r--r-- | graphics/pencil/files/patch-pencil.pro | 12 | ||||
-rw-r--r-- | graphics/pencil/files/src-external-freebsd-freebsd.cpp | 26 | ||||
-rw-r--r-- | graphics/pencil/pkg-descr | 6 | ||||
-rw-r--r-- | graphics/pencil/pkg-plist | 5 |
6 files changed, 109 insertions, 0 deletions
diff --git a/graphics/pencil/Makefile b/graphics/pencil/Makefile new file mode 100644 index 0000000..459d004 --- /dev/null +++ b/graphics/pencil/Makefile @@ -0,0 +1,57 @@ +# New ports collection makefile for: pencil +# Date created: 2008-04-16 +# Whom: Ganael Laplanche <ganael.laplanche@martymac.com> +# +# $FreeBSD$ +# + +PORTNAME= pencil +PORTVERSION= 0.4.4b +CATEGORIES= graphics +MASTER_SITES= SF/pencil-planner +DISTNAME= ${PORTNAME}-${PORTVERSION}-src${EXTRACT_SUFFIX} + +MAINTAINER= ganael.laplanche@martymac.com +COMMENT= Pencil - a traditional 2D animation software + +LIB_DEPENDS+= ming:${PORTSDIR}/graphics/ming \ + png:${PORTSDIR}/graphics/png \ + freetype:${PORTSDIR}/print/freetype2 \ + fontconfig:${PORTSDIR}/x11-fonts/fontconfig \ + iconv:${PORTSDIR}/converters/libiconv \ + ungif:${PORTSDIR}/graphics/libungif \ + expat:${PORTSDIR}/textproc/expat2 \ + pcre:${PORTSDIR}/devel/pcre \ + drm:${PORTSDIR}/graphics/libdrm + +USE_ZIP= yes +USE_GETTEXT= yes +USE_GNOME= glib20 +USE_QT_VER= 4 +QT_COMPONENTS= gui moc_build qmake_build rcc_build xml_build opengl_build +USE_XORG= xi xrender xrandr xfixes xcursor xinerama xext x11 xau xdmcp \ + xxf86vm xdamage +USE_GL= gl glu +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source + +do-configure: + @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ + ${QMAKE} -unix PREFIX=${PREFIX} \ + INCLUDEPATH+=${LOCALBASE}/include/ming \ + ${PORTNAME}.pro + +post-patch: + @${MKDIR} ${WRKSRC}/src/external/freebsd + @${CP} ${FILESDIR}/src-external-freebsd-freebsd.cpp \ + ${WRKSRC}/src/external/freebsd/freebsd.cpp + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/Pencil ${PREFIX}/bin/pencil +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for file in LICENSE.TXT README TODO + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/graphics/pencil/distinfo b/graphics/pencil/distinfo new file mode 100644 index 0000000..2842555 --- /dev/null +++ b/graphics/pencil/distinfo @@ -0,0 +1,3 @@ +MD5 (pencil-0.4.4b-src.zip) = 5b7b7222fa4856b1eebe8c03358b54f8 +SHA256 (pencil-0.4.4b-src.zip) = 8a1373e745d9c039e15c7b3f0c1846190fcc4621306b2dd507c31ac31de64303 +SIZE (pencil-0.4.4b-src.zip) = 1147003 diff --git a/graphics/pencil/files/patch-pencil.pro b/graphics/pencil/files/patch-pencil.pro new file mode 100644 index 0000000..cf65c10 --- /dev/null +++ b/graphics/pencil/files/patch-pencil.pro @@ -0,0 +1,12 @@ +--- pencil.pro.orig 2008-04-16 14:23:57.000000000 +0000 ++++ pencil.pro 2008-04-16 14:19:45.000000000 +0000 +@@ -86,5 +86,9 @@ + SOURCES += src/external/linux/linux.cpp + LIBS += -Lliblinux -lming -lpng + } ++freebsd-g++ { ++ SOURCES += src/external/freebsd/freebsd.cpp ++ LIBS += -lming -lpng ++} + RESOURCES += pencil.qrc + QT += xml opengl diff --git a/graphics/pencil/files/src-external-freebsd-freebsd.cpp b/graphics/pencil/files/src-external-freebsd-freebsd.cpp new file mode 100644 index 0000000..64bc068 --- /dev/null +++ b/graphics/pencil/files/src-external-freebsd-freebsd.cpp @@ -0,0 +1,26 @@ +/* + +Pencil - Traditional Animation Software +Copyright (C) 2005-2007 Patrick Corrieri & Pascal Naidon + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation; + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +*/ +#include "object.h" + +void initialise() { + // nothing, for now +} + +void Object::exportMovie(int startFrame, int endFrame, QMatrix view, Layer* currentLayer, QSize exportSize, QString filePath, int fps) { + QMessageBox assembling("Export",tr("Not supported yet on this platform..."),QMessageBox::Information,0,0,0); + assembling.show(); + // nothing +} diff --git a/graphics/pencil/pkg-descr b/graphics/pencil/pkg-descr new file mode 100644 index 0000000..c0d4031 --- /dev/null +++ b/graphics/pencil/pkg-descr @@ -0,0 +1,6 @@ +Pencil is an animation/drawing software. It lets you +create traditional hand-drawn animation (cartoon) using +both bitmap and vector graphics. Pencil is free and open +source. + +WWW: http://www.les-stooges.org/pascal/pencil diff --git a/graphics/pencil/pkg-plist b/graphics/pencil/pkg-plist new file mode 100644 index 0000000..9710d82 --- /dev/null +++ b/graphics/pencil/pkg-plist @@ -0,0 +1,5 @@ +bin/pencil +%%PORTDOCS%%%%DOCSDIR%%/LICENSE.TXT +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%@dirrm %%DOCSDIR%% |