2013-06-28 15:50:25 +02:00
|
|
|
# Created by: Ganael Laplanche <ganael.laplanche@martymac.org>
|
2008-04-30 12:03:40 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pencil
|
|
|
|
PORTVERSION= 0.4.4b
|
2014-08-22 21:08:37 +02:00
|
|
|
PORTREVISION= 11
|
2008-04-30 12:03:40 +02:00
|
|
|
CATEGORIES= graphics
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}-planner/Pencil/${PORTVERSION}eta
|
2008-04-30 12:03:40 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src${EXTRACT_SUFFIX}
|
|
|
|
|
2010-09-27 14:08:23 +02:00
|
|
|
MAINTAINER= martymac@FreeBSD.org
|
2008-04-30 12:03:40 +02:00
|
|
|
COMMENT= Pencil - a traditional 2D animation software
|
|
|
|
|
2011-08-10 04:37:11 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2014-08-22 21:08:37 +02:00
|
|
|
LIB_DEPENDS= libming.so:${PORTSDIR}/graphics/ming \
|
|
|
|
libpng.so:${PORTSDIR}/graphics/png
|
|
|
|
|
|
|
|
USES= qmake zip
|
|
|
|
USE_QT4= gui opengl xml moc_build rcc_build
|
|
|
|
USE_GL= gl
|
|
|
|
QMAKE_ARGS= INCLUDEPATH+=${LOCALBASE}/include/ming
|
2008-04-30 12:03:40 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source
|
|
|
|
|
2010-11-18 10:16:38 +01:00
|
|
|
PLIST_FILES= bin/pencil
|
2013-11-27 08:38:08 +01:00
|
|
|
|
2010-11-18 10:16:38 +01:00
|
|
|
PORTDOCS= README TODO
|
|
|
|
|
2008-04-30 12:03:40 +02:00
|
|
|
post-patch:
|
|
|
|
@${MKDIR} ${WRKSRC}/src/external/freebsd
|
|
|
|
@${CP} ${FILESDIR}/src-external-freebsd-freebsd.cpp \
|
|
|
|
${WRKSRC}/src/external/freebsd/freebsd.cpp
|
|
|
|
|
|
|
|
do-install:
|
2013-11-22 13:55:00 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Pencil ${STAGEDIR}${PREFIX}/bin/pencil
|
2013-11-27 08:38:08 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
2008-04-30 12:03:40 +02:00
|
|
|
|
2009-01-05 21:36:33 +01:00
|
|
|
.include <bsd.port.mk>
|