2002-06-15 18:16:32 +02:00
|
|
|
# New ports collection makefile for: kdeutils3
|
2002-04-22 01:47:50 +02:00
|
|
|
# Date created: 3 November 2001
|
|
|
|
# Whom: will@cvs.kde.org
|
1997-11-02 01:05:06 +01:00
|
|
|
#
|
1999-08-25 09:23:21 +02:00
|
|
|
# $FreeBSD$
|
1997-11-02 01:05:06 +01:00
|
|
|
#
|
|
|
|
|
2000-04-14 10:49:30 +02:00
|
|
|
PORTNAME= kdeutils
|
2002-07-04 21:39:36 +02:00
|
|
|
PORTVERSION= ${KDE_VERSION}
|
2003-01-28 19:36:58 +01:00
|
|
|
PORTREVISION= 0
|
2001-08-30 20:56:50 +02:00
|
|
|
CATEGORIES?= misc kde
|
2002-06-15 18:16:32 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_KDE}
|
|
|
|
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
|
2001-09-10 22:22:28 +02:00
|
|
|
DIST_SUBDIR= KDE
|
1997-11-02 01:05:06 +01:00
|
|
|
|
2001-08-30 20:56:50 +02:00
|
|
|
MAINTAINER?= kde@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Utilities for the KDE integrated X11 desktop
|
1997-11-02 01:05:06 +01:00
|
|
|
|
2002-04-22 01:47:50 +02:00
|
|
|
USE_KDELIBS_VER=3
|
2003-01-28 19:36:58 +01:00
|
|
|
PREFIX= ${KDE_PREFIX}
|
|
|
|
KDE_BUILD_PLIST=yes
|
|
|
|
|
1999-02-28 22:48:09 +01:00
|
|
|
USE_BZIP2= yes
|
1999-02-07 00:22:08 +01:00
|
|
|
USE_GMAKE= yes
|
2003-01-28 19:36:58 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2003-04-09 02:51:55 +02:00
|
|
|
USE_REINPLACE= yes
|
1997-11-02 01:05:06 +01:00
|
|
|
|
2003-01-28 19:36:58 +01:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
|
2002-06-15 18:16:32 +02:00
|
|
|
|
2003-09-30 15:12:51 +02:00
|
|
|
#klaptop doesn't like alpha and ia64 because they don't support apm
|
|
|
|
.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "ia64")
|
2003-01-28 19:36:58 +01:00
|
|
|
WITHOUT_KLAPTOP =yes
|
|
|
|
.endif # ${MACHINE_ARCH} == "alpha"
|
|
|
|
|
|
|
|
.if defined(WITHOUT_KLAPTOP)
|
2002-10-01 20:21:21 +02:00
|
|
|
DO_NOT_COMPILE+=klaptopdaemon
|
2002-05-21 17:03:32 +02:00
|
|
|
.else
|
2003-01-28 19:36:58 +01:00
|
|
|
PLIST_APPEND+= plist.klaptop
|
|
|
|
.endif # defined(WITHOUT_KLAPTOP)
|
|
|
|
|
2002-10-01 20:21:21 +02:00
|
|
|
# kfloppy is a mostly broken, non-standard, linux-centric pain...
|
|
|
|
.if !defined(WITH_KFLOPPY)
|
|
|
|
DO_NOT_COMPILE+=kfloppy
|
|
|
|
.else
|
2003-01-28 19:36:58 +01:00
|
|
|
PLIST_APPEND+= plist.kfloppy
|
|
|
|
.endif # !defined(WITH_KFLOPPY)
|
|
|
|
|
2002-10-01 20:21:21 +02:00
|
|
|
.if defined(DO_NOT_COMPILE)
|
|
|
|
CONFIGURE_ENV+= DO_NOT_COMPILE="${DO_NOT_COMPILE}"
|
2003-01-28 19:36:58 +01:00
|
|
|
.endif # defined(DO_NOT_COMPILE)
|
2002-05-21 17:03:32 +02:00
|
|
|
|
2003-04-09 02:51:55 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 500107
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's,selectdevs,devstat_selectdevs,' ${WRKSRC}/configure
|
|
|
|
.endif
|
|
|
|
|
2003-01-28 19:36:58 +01:00
|
|
|
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
|
2003-07-29 06:26:22 +02:00
|
|
|
|
2003-04-09 02:51:55 +02:00
|
|
|
.include <bsd.port.post.mk>
|