1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/devel/p5-perlqt/Makefile
Max Brazhnikov 65b2b253dc KDE/FreeBSD team presents KDE SC 4.12.4 and KDE Workspace 4.11.8!
KDE ports:
- Convert to USES=tar:xz

devel/p5-perlqt, multimedia/kdemultimedia4-ffmpegthumbs:
- Convert LIB_DEPENDS to new style

devel/p5-perlqt, devel/p5-perlkde:
- Don't remove directories installed by perl port

net/kdnssd:
- moved to net/zeroconf-ioslave (renamed upstream)

x11/kdelibs4:
- Clean up non-standard shared mime files and directories after deinstall

The area51 repository features commits by Alonso Schaich
<alonsoschaich@fastmail.fm> and makc.
2014-04-03 09:49:10 +00:00

35 lines
1011 B
Makefile

# $FreeBSD$
PORTNAME= perlqt
PORTVERSION= ${KDE4_VERSION}
CATEGORIES= devel kde perl5
MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src
PKGNAMEPREFIX= p5-
DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= Perl bindings for Qt
LIB_DEPENDS= libqscintilla2.so:${PORTSDIR}/devel/qscintilla2 \
libqwt.so:${PORTSDIR}/x11-toolkits/qwt5
USE_KDE4= kdehier kdeprefix smokeqt qimageblitz
USE_QT4= corelib dbus gui network xml \
qmake_build moc_build uic_build rcc_build
USES= cmake:outsource perl5 tar:xz
# Respect PREFIX
CMAKE_ARGS+= -DCUSTOM_PERL_SITE_ARCH_DIR=${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH}
# Fix build PREFIX != KDE4_PREFIX
CMAKE_ARGS+= -DSmoke_DIR=${KDE4_PREFIX}/lib/cmake/smoke
SUB_FILES= perl-kdebindings-env.sh pkg-message
SUB_LIST+= PERL5LIBDIR="${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH}:\
${PREFIX}/${SITE_PERL_REL}"
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/env
${INSTALL_SCRIPT} ${WRKDIR}/perl-kdebindings-env.sh ${STAGEDIR}${PREFIX}/env
.include <bsd.port.mk>