mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
7ece2aeb0b
2. Change gross kluge for klaptopdaemon to use DO_NOT_COMPILE. 3. Added WITH_KFLOPPY knob, defaults to undefined. 3A. If WITH_KFLOPPY is not defined, then we add kfloppy to DO_NOT_COMPILE. 4. Anything that got put in DO_NOT_COMPILE then gets passed in the env to the configure script, which dutifully sets things up to not compile it. Approved by: kris
46 lines
995 B
Makefile
46 lines
995 B
Makefile
# New ports collection makefile for: kdeutils3
|
|
# Date created: 3 November 2001
|
|
# Whom: will@cvs.kde.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= kdeutils
|
|
PORTVERSION= ${KDE_VERSION}
|
|
PORTREVISION= 1
|
|
CATEGORIES?= misc kde
|
|
MASTER_SITES= ${MASTER_SITE_KDE}
|
|
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
|
|
DIST_SUBDIR= KDE
|
|
|
|
MAINTAINER?= kde@FreeBSD.org
|
|
|
|
USE_KDELIBS_VER=3
|
|
USE_BZIP2= yes
|
|
INSTALLS_SHLIB= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
MAN1= efax.1 efix.1 fax.1
|
|
|
|
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
|
|
|
|
#klaptop doesn't like alpha because alpha doesn't support apm
|
|
.if ${MACHINE_ARCH} == "alpha"
|
|
DO_NOT_COMPILE+=klaptopdaemon
|
|
PLIST_SUB+= ALPHA_NA="@comment "
|
|
.else
|
|
PLIST_SUB+= ALPHA_NA=""
|
|
.endif
|
|
# kfloppy is a mostly broken, non-standard, linux-centric pain...
|
|
.if !defined(WITH_KFLOPPY)
|
|
DO_NOT_COMPILE+=kfloppy
|
|
PLIST_SUB+= KFLOPPY="@comment "
|
|
.else
|
|
PLIST_SUB+= KFLOPPY=""
|
|
.endif
|
|
.if defined(DO_NOT_COMPILE)
|
|
CONFIGURE_ENV+= DO_NOT_COMPILE="${DO_NOT_COMPILE}"
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|