diff options
author | alane <alane@FreeBSD.org> | 2002-10-01 18:21:21 +0000 |
---|---|---|
committer | alane <alane@FreeBSD.org> | 2002-10-01 18:21:21 +0000 |
commit | 8cf7c0ccadfff968b55b9195a468003e62b6fe5f (patch) | |
tree | 8e45146609a6d737cd8ee82b3740f7407ca1ec51 /misc/kdeutils4/Makefile | |
parent | 4527ec78bdf35bf5390303cc7038878fded40b11 (diff) | |
download | FreeBSD-ports-8cf7c0ccadfff968b55b9195a468003e62b6fe5f.zip FreeBSD-ports-8cf7c0ccadfff968b55b9195a468003e62b6fe5f.tar.gz |
1. Bump PORTREVISION to 1.
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
Diffstat (limited to 'misc/kdeutils4/Makefile')
-rw-r--r-- | misc/kdeutils4/Makefile | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/misc/kdeutils4/Makefile b/misc/kdeutils4/Makefile index 3ce4d66..1725a3a 100644 --- a/misc/kdeutils4/Makefile +++ b/misc/kdeutils4/Makefile @@ -7,6 +7,7 @@ PORTNAME= kdeutils PORTVERSION= ${KDE_VERSION} +PORTREVISION= 1 CATEGORIES?= misc kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src @@ -25,13 +26,20 @@ MAN1= efax.1 efix.1 fax.1 #klaptop doesn't like alpha because alpha doesn't support apm .if ${MACHINE_ARCH} == "alpha" -post-extract: - mv ${WRKSRC}/subdirs ${WRKSRC}/subdirs.orig - grep -v klaptopdaemon ${WRKSRC}/subdirs.orig > ${WRKSRC}/subdirs - +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> |