ac4ef3820b
Official KDE 3.1.3 announcement: http://www.kde.org/announcements/announce-3.1.3.php (may not work until a few hours after this commit - we jumped the gun a little in order to have the update in place at the time the security notifications for KDE 3.1.2 will be released together with the announcement of KDE 3.1.3). Changelog from 3.1.2 to 3.1.3 release: http://www.kde.org/announcements/changelogs/changelog3_1_2to3_1_3.php Thanks and credits need to go to the whole KDE-FreeBSD team, as well as everyone on kde@freebsd.org for providing feedback, reporting bugs and just using the KDE ports. Approved by: will (real mentor asleep)
85 lines
2.3 KiB
Makefile
85 lines
2.3 KiB
Makefile
# -*-mode: makefile-*-
|
|
# New ports collection makefile for: KDE3 Graphics
|
|
# Date created: Saturday 2 September 2000
|
|
# Whom: Will Andrews <will@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= kdegraphics
|
|
PORTVERSION= ${KDE_VERSION}
|
|
CATEGORIES= graphics kde
|
|
MASTER_SITES= ${MASTER_SITE_KDE}
|
|
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
|
|
DIST_SUBDIR= KDE
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Graphics utilities for the KDE3 integrated X11 desktop
|
|
|
|
USE_KDELIBS_VER=3
|
|
PREFIX= ${KDE_PREFIX}
|
|
KDE_BUILD_PLIST=yes
|
|
|
|
USE_BZIP2= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_REINPLACE= yes
|
|
|
|
INSTALLS_SHLIB= yes
|
|
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
|
|
|
|
.if defined(WITH_IMLIB) || defined(KDE_WITH_IMLIB)
|
|
USE_GNOME= imlib
|
|
PLIST_APPEND+= plist.imlib
|
|
CONFIGURE_ARGS+=--with-imlib-config=${X11BASE}/bin
|
|
.else
|
|
WITHOUT_IMLIB= yes
|
|
CONFIGURE_ARGS+=--without-imlib-config
|
|
.endif # defined(WITH_IMLIB) || defined(KDE_WITH_IMLIB)
|
|
|
|
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
|
|
.include <bsd.port.pre.mk>
|
|
|
|
GPHOTO2_CONFIG= ${LOCALBASE}/bin/gphoto2-config
|
|
|
|
.if exists(${GPHOTO2_CONFIG})
|
|
WITH_GPHOTO2?= yes
|
|
.endif # exists(${GPHOTO2_CONFIG})
|
|
|
|
.if defined(WITH_GPHOTO2)
|
|
LIB_DEPENDS+= gphoto2.2:${PORTSDIR}/graphics/gphoto2
|
|
PLIST_APPEND+= plist.gphoto2
|
|
.else
|
|
pre-everything::
|
|
@${ECHO_MSG}
|
|
@${ECHO_MSG} "======================================================="
|
|
@${ECHO_MSG} "If you want to compile with digital camera support,"
|
|
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_GPHOTO2=yes\""
|
|
@${ECHO_MSG} "======================================================="
|
|
@${ECHO_MSG}
|
|
.endif # defined(WITH_GPHOTO2)
|
|
|
|
SANE_CONFIG= ${LOCALBASE}/bin/sane-config
|
|
|
|
.if exists(${SANE_CONFIG})
|
|
WITH_SANE?= yes
|
|
.endif # exists(${SANE_CONFIG})
|
|
|
|
.if defined(WITH_SANE)
|
|
LIB_DEPENDS+= sane.1:${PORTSDIR}/graphics/sane-backends
|
|
PLIST_APPEND+= plist.sane
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/gocr:${PORTSDIR}/graphics/gocr
|
|
.else
|
|
pre-everything::
|
|
@${ECHO_MSG}
|
|
@${ECHO_MSG} "======================================================="
|
|
@${ECHO_MSG} "If you want to compile with scanner (SANE) support,"
|
|
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_SANE=yes\""
|
|
@${ECHO_MSG} "======================================================="
|
|
@${ECHO_MSG}
|
|
.endif # defined(WITH_SANE)
|
|
|
|
pre-configure::
|
|
${REINPLACE_CMD} -e 's@-pedantic @@g' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.post.mk>
|