freebsd-ports/graphics/pencil/Makefile
Rene Ladan 99d6d12a38 Mark QT4 ports/functionality for removal on 2019-03-15
While here, chase some KDE4 ports and functionality, these are scheduled for
removal on 2018-12-31. Change the default option/flavor to QT5 where applicable
or use alternative toolkits like GTK.

Submitted by:	tcberner
Reviewed by:	adridg, jhale, rene, tcberner
Approved by:	portmgr (implicit, flavor hook)
Differential Revision:	https://reviews.freebsd.org/D17741
2018-12-02 15:41:47 +00:00

47 lines
1.2 KiB
Makefile

# Created by: Ganael Laplanche <ganael.laplanche@martymac.org>
# $FreeBSD$
PORTNAME= pencil
PORTVERSION= 0.4.4b
PORTREVISION= 14
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
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE= 2019-03-15
BROKEN_armv6= fails to compile: no matching function for call to 'qMax'
BROKEN_armv7= fails to compile: no matching function for call to 'qMax'
LIB_DEPENDS= libming.so:graphics/ming \
libpng.so:graphics/png
USES= gl qmake qt:4 zip
USE_QT= 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
OPTIONS_DEFINE= DOCS
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>