freebsd-ports/graphics/pencil/Makefile

40 lines
1 KiB
Makefile
Raw Normal View History

# Created by: Ganael Laplanche <ganael.laplanche@martymac.org>
# $FreeBSD$
PORTNAME= pencil
PORTVERSION= 0.4.4b
PORTREVISION= 11
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}-planner/Pencil/${PORTVERSION}eta
DISTNAME= ${PORTNAME}-${PORTVERSION}-src${EXTRACT_SUFFIX}
MAINTAINER= martymac@FreeBSD.org
COMMENT= Pencil - a traditional 2D animation software
LICENSE= GPLv2
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
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source
PLIST_FILES= bin/pencil
2013-11-27 08:38:08 +01:00
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
2013-11-27 08:38:08 +01:00
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>