blob: 5cfdd5ede37db4c23f001946311968531e45351d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Created by: Ganael Laplanche <ganael.laplanche@martymac.org>
# $FreeBSD$
PORTNAME= pencil
PORTVERSION= 0.4.4b
PORTREVISION= 13
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}-planner/Pencil/${PORTVERSION}eta
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= martymac@FreeBSD.org
COMMENT= Pencil - a traditional 2D animation software
LICENSE= GPLv2
LIB_DEPENDS= libming.so:graphics/ming \
libpng.so:graphics/png
USES= qmake zip
USE_QT4= gui opengl xml moc_build rcc_build
USE_GL= gl
QMAKE_ARGS= INCLUDEPATH+=${LOCALBASE}/include/ming
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source
PLIST_FILES= bin/pencil
PORTDOCS= README TODO
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 ${STAGEDIR}${PREFIX}/bin/pencil
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|