# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # pencil # pencil/pkg-plist # pencil/files # pencil/files/patch-pencil.pro # pencil/files/src-external-freebsd-freebsd.cpp # pencil/Makefile # pencil/pkg-descr # pencil/distinfo # echo c - pencil mkdir -p pencil > /dev/null 2>&1 echo x - pencil/pkg-plist sed 's/^X//' >pencil/pkg-plist << 'END-of-pencil/pkg-plist' Xbin/pencil X%%PORTDOCS%%%%DOCSDIR%%/LICENSE.TXT X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%%%DOCSDIR%%/TODO X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-pencil/pkg-plist echo c - pencil/files mkdir -p pencil/files > /dev/null 2>&1 echo x - pencil/files/patch-pencil.pro sed 's/^X//' >pencil/files/patch-pencil.pro << 'END-of-pencil/files/patch-pencil.pro' X--- pencil.pro.orig 2008-04-16 14:23:57.000000000 +0000 X+++ pencil.pro 2008-04-16 14:19:45.000000000 +0000 X@@ -86,5 +86,9 @@ X SOURCES += src/external/linux/linux.cpp X LIBS += -Lliblinux -lming -lpng X } X+freebsd-g++ { X+ SOURCES += src/external/freebsd/freebsd.cpp X+ LIBS += -lming -lpng X+} X RESOURCES += pencil.qrc X QT += xml opengl END-of-pencil/files/patch-pencil.pro echo x - pencil/files/src-external-freebsd-freebsd.cpp sed 's/^X//' >pencil/files/src-external-freebsd-freebsd.cpp << 'END-of-pencil/files/src-external-freebsd-freebsd.cpp' X/* X XPencil - Traditional Animation Software XCopyright (C) 2005-2007 Patrick Corrieri & Pascal Naidon X XThis program is free software; you can redistribute it and/or Xmodify it under the terms of the GNU General Public License Xas published by the Free Software Foundation; X XThis program is distributed in the hope that it will be useful, Xbut WITHOUT ANY WARRANTY; without even the implied warranty of XMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the XGNU General Public License for more details. X X*/ X#include "object.h" X Xvoid initialise() { X // nothing, for now X} X Xvoid Object::exportMovie(int startFrame, int endFrame, QMatrix view, Layer* currentLayer, QSize exportSize, QString filePath, int fps) { X QMessageBox assembling("Export",tr("Not supported yet on this platform..."),QMessageBox::Information,0,0,0); X assembling.show(); X // nothing X} END-of-pencil/files/src-external-freebsd-freebsd.cpp echo x - pencil/Makefile sed 's/^X//' >pencil/Makefile << 'END-of-pencil/Makefile' X# New ports collection makefile for: pencil X# Date created: 2008-04-16 X# Whom: Ganael Laplanche X# X# $FreeBSD$ X# X XPORTNAME= pencil XPORTVERSION= 0.4.4b XCATEGORIES= graphics XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= pencil-planner XDISTNAME= ${PORTNAME}-${PORTVERSION}-src${EXTRACT_SUFFIX} X XMAINTAINER= ganael.laplanche@martymac.com XCOMMENT= Pencil - a traditional 2D animation software X XLIB_DEPENDS+= ming:${PORTSDIR}/graphics/ming \ X png:${PORTSDIR}/graphics/png \ X freetype:${PORTSDIR}/print/freetype2 \ X fontconfig:${PORTSDIR}/x11-fonts/fontconfig \ X iconv:${PORTSDIR}/converters/libiconv \ X ungif:${PORTSDIR}/graphics/libungif \ X expat:${PORTSDIR}/textproc/expat2 \ X pcre:${PORTSDIR}/devel/pcre \ X drm:${PORTSDIR}/graphics/libdrm X XUSE_ZIP= yes XUSE_GETTEXT= yes XUSE_GNOME= glib20 XUSE_QT_VER= 4 XQT_COMPONENTS= gui moc_build qmake_build rcc_build xml_build opengl_build XUSE_XORG= xi xrender xrandr xfixes xcursor xinerama xext x11 xau xdmcp \ X xxf86vm xdamage XUSE_GL= gl glu XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source X Xdo-configure: X @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ X ${QMAKE} -unix PREFIX=${PREFIX} \ X INCLUDEPATH+=${LOCALBASE}/include/ming \ X ${PORTNAME}.pro X Xpost-patch: X @${MKDIR} ${WRKSRC}/src/external/freebsd X @${CP} ${FILESDIR}/src-external-freebsd-freebsd.cpp \ X ${WRKSRC}/src/external/freebsd/freebsd.cpp X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/Pencil ${PREFIX}/bin/pencil X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X.for file in LICENSE.TXT README TODO X ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} X.endfor X.endif X X.include END-of-pencil/Makefile echo x - pencil/pkg-descr sed 's/^X//' >pencil/pkg-descr << 'END-of-pencil/pkg-descr' XPencil is an animation/drawing software for Mac OS X, XWindows, and Linux. It lets you create traditional hand-drawn Xanimation (cartoon) using both bitmap and vector graphics. XPencil is free and open source. X XWWW: http://www.les-stooges.org/pascal/pencil END-of-pencil/pkg-descr echo x - pencil/distinfo sed 's/^X//' >pencil/distinfo << 'END-of-pencil/distinfo' XMD5 (pencil-0.4.4b-src.zip) = 5b7b7222fa4856b1eebe8c03358b54f8 XSHA256 (pencil-0.4.4b-src.zip) = 8a1373e745d9c039e15c7b3f0c1846190fcc4621306b2dd507c31ac31de64303 XSIZE (pencil-0.4.4b-src.zip) = 1147003 END-of-pencil/distinfo exit