freebsd-ports/graphics/libksane/Makefile
Tobias C. Berner 1d16d53e19 Introduce new extensible virtual categories for KDE
A lot of KDE Ports share MASTERSITES, LICENSE and so one, as they are
released as a bundle upstream, however, there was not really a clean
way to share this information.

Using these new categories, we can simplify the Makefiles for the diverse
KDE ports.
At the moment we support the virtual category
	* kde-kde4
In the future, this will be extended to
	* kde-frameworks
	* kde-plasma
	* kde-applications

PR:						213406
Differential Revision:	https://reviews.freebsd.org/D7645
Exp-run by :			antoine
Reviewed by:			mat, rakuco
Approved by: 			portmgr (mat), rakuco (mentor)
2016-10-18 17:22:35 +00:00

22 lines
495 B
Makefile

# $FreeBSD$
PORTNAME= libksane
PORTVERSION= ${KDE4_VERSION}
PORTREVISION= 1
CATEGORIES= graphics kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= SANE library interface for KDE
LIB_DEPENDS= libsane.so:graphics/sane-backends
USES= cmake:outsource kde:4 tar:xz
USE_KDE= kdelibs automoc4
USE_QT4= moc_build qmake_build rcc_build uic_build
USE_LDCONFIG= yes
pre-configure:
${REINPLACE_CMD} -e '/pkgconfig/ s/$${LIB_INSTALL_DIR}/libdata/' \
${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>