diff options
author | Alan Eldridge <alane@FreeBSD.org> | 2002-10-01 18:21:21 +0000 |
---|---|---|
committer | Alan Eldridge <alane@FreeBSD.org> | 2002-10-01 18:21:21 +0000 |
commit | 7ece2aeb0b244ca00c5e182c134fd0e0dc493847 (patch) | |
tree | 8f40d9cf63c53af474031c70489d609bb24236c7 | |
parent | b222c9e68579c96f49259a0809f3053ef80acfb9 (diff) | |
download | ports-7ece2aeb0b244ca00c5e182c134fd0e0dc493847.tar.gz ports-7ece2aeb0b244ca00c5e182c134fd0e0dc493847.zip |
Notes
-rw-r--r-- | archivers/ark/Makefile | 16 | ||||
-rw-r--r-- | archivers/ark/pkg-plist | 17 | ||||
-rw-r--r-- | comms/kremotecontrol/Makefile | 16 | ||||
-rw-r--r-- | comms/kremotecontrol/pkg-plist | 17 | ||||
-rw-r--r-- | deskutils/kcharselect/Makefile | 16 | ||||
-rw-r--r-- | deskutils/kcharselect/pkg-plist | 17 | ||||
-rw-r--r-- | math/kcalc/Makefile | 16 | ||||
-rw-r--r-- | math/kcalc/pkg-plist | 17 | ||||
-rw-r--r-- | misc/kdeutils3/Makefile | 16 | ||||
-rw-r--r-- | misc/kdeutils3/pkg-plist | 17 | ||||
-rw-r--r-- | misc/kdeutils4/Makefile | 16 | ||||
-rw-r--r-- | misc/kdeutils4/pkg-plist | 17 | ||||
-rw-r--r-- | security/kgpg-kde4/Makefile | 16 | ||||
-rw-r--r-- | security/kgpg-kde4/pkg-plist | 17 | ||||
-rw-r--r-- | security/kwallet/Makefile | 16 | ||||
-rw-r--r-- | security/kwallet/pkg-plist | 17 | ||||
-rw-r--r-- | sysutils/kdf/Makefile | 16 | ||||
-rw-r--r-- | sysutils/kdf/pkg-plist | 17 | ||||
-rw-r--r-- | sysutils/kfloppy/Makefile | 16 | ||||
-rw-r--r-- | sysutils/kfloppy/pkg-plist | 17 | ||||
-rw-r--r-- | sysutils/sweeper/Makefile | 16 | ||||
-rw-r--r-- | sysutils/sweeper/pkg-plist | 17 |
22 files changed, 253 insertions, 110 deletions
diff --git a/archivers/ark/Makefile b/archivers/ark/Makefile index 3ce4d66bd60b..1725a3ae4156 100644 --- a/archivers/ark/Makefile +++ b/archivers/ark/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> diff --git a/archivers/ark/pkg-plist b/archivers/ark/pkg-plist index 57012cabf90a..cd21df37d621 100644 --- a/archivers/ark/pkg-plist +++ b/archivers/ark/pkg-plist @@ -1,3 +1,4 @@ +@comment files bin/ark bin/efax bin/efix @@ -8,7 +9,7 @@ bin/kdepasswd bin/kdessh bin/kdf bin/kedit -bin/kfloppy +%%KFLOPPY%%bin/kfloppy bin/khexedit bin/kjots %%ALPHA_NA%%bin/klaptopdaemon @@ -51,7 +52,7 @@ share/applnk/Settings/Information/kcmdf.desktop share/applnk/System/kdf.desktop share/applnk/System/kwikdisk.desktop share/applnk/Utilities/KCharSelect.desktop -share/applnk/Utilities/KFloppy.desktop +%%KFLOPPY%%share/applnk/Utilities/KFloppy.desktop share/applnk/Utilities/KLJetTool.desktop share/applnk/Utilities/KLpq.desktop share/applnk/Utilities/Kjots.desktop @@ -182,7 +183,7 @@ share/icons/hicolor/16x16/apps/kcharselect.png share/icons/hicolor/16x16/apps/kcmdf.png share/icons/hicolor/16x16/apps/kdf.png share/icons/hicolor/16x16/apps/kedit.png -share/icons/hicolor/16x16/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/16x16/apps/kfloppy.png share/icons/hicolor/16x16/apps/khexedit.png share/icons/hicolor/16x16/apps/kjots.png %%ALPHA_NA%%share/icons/hicolor/16x16/apps/klaptopdaemon.png @@ -197,7 +198,7 @@ share/icons/hicolor/32x32/apps/kcalc.png share/icons/hicolor/32x32/apps/kcmdf.png share/icons/hicolor/32x32/apps/kdf.png share/icons/hicolor/32x32/apps/kedit.png -share/icons/hicolor/32x32/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/32x32/apps/kfloppy.png share/icons/hicolor/32x32/apps/khexedit.png share/icons/hicolor/32x32/apps/kjots.png share/icons/hicolor/32x32/apps/kljettool.png @@ -210,7 +211,7 @@ share/icons/hicolor/48x48/apps/ark.png share/icons/hicolor/48x48/apps/kcalc.png share/icons/hicolor/48x48/apps/kcharselect.png share/icons/hicolor/48x48/apps/kedit.png -share/icons/hicolor/48x48/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/48x48/apps/kfloppy.png share/icons/hicolor/48x48/apps/khexedit.png share/icons/hicolor/48x48/apps/kjots.png share/icons/hicolor/48x48/apps/kljettool.png @@ -222,15 +223,19 @@ share/icons/locolor/32x32/apps/klprfax.png share/services/arkpart.desktop %%ALPHA_NA%%share/services/klaptopdaemon.desktop share/services/kregexpeditorgui.desktop +@comment empty dirs @exec /bin/mkdir -p %D/share/apps/kcalc/pics -@exec /bin/mkdir -p %D/share/apps/kcalc/pics +@comment remove dirs @dirrm share/icons/locolor/32x32/apps @dirrm share/icons/locolor/32x32 @dirrm share/icons/locolor/16x16/apps @dirrm share/icons/locolor/16x16 @dirrm share/icons/locolor @dirrm share/icons/hicolor/48x48/apps +@dirrm share/icons/hicolor/48x48 @dirrm share/icons/hicolor/32x32/apps +@dirrm share/icons/hicolor/32x32 +@dirrm share/icons/hicolor @dirrm share/doc/HTML/en/klprfax @dirrm share/doc/HTML/en/klpq @dirrm share/doc/HTML/en/kljettool diff --git a/comms/kremotecontrol/Makefile b/comms/kremotecontrol/Makefile index 3ce4d66bd60b..1725a3ae4156 100644 --- a/comms/kremotecontrol/Makefile +++ b/comms/kremotecontrol/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> diff --git a/comms/kremotecontrol/pkg-plist b/comms/kremotecontrol/pkg-plist index 57012cabf90a..cd21df37d621 100644 --- a/comms/kremotecontrol/pkg-plist +++ b/comms/kremotecontrol/pkg-plist @@ -1,3 +1,4 @@ +@comment files bin/ark bin/efax bin/efix @@ -8,7 +9,7 @@ bin/kdepasswd bin/kdessh bin/kdf bin/kedit -bin/kfloppy +%%KFLOPPY%%bin/kfloppy bin/khexedit bin/kjots %%ALPHA_NA%%bin/klaptopdaemon @@ -51,7 +52,7 @@ share/applnk/Settings/Information/kcmdf.desktop share/applnk/System/kdf.desktop share/applnk/System/kwikdisk.desktop share/applnk/Utilities/KCharSelect.desktop -share/applnk/Utilities/KFloppy.desktop +%%KFLOPPY%%share/applnk/Utilities/KFloppy.desktop share/applnk/Utilities/KLJetTool.desktop share/applnk/Utilities/KLpq.desktop share/applnk/Utilities/Kjots.desktop @@ -182,7 +183,7 @@ share/icons/hicolor/16x16/apps/kcharselect.png share/icons/hicolor/16x16/apps/kcmdf.png share/icons/hicolor/16x16/apps/kdf.png share/icons/hicolor/16x16/apps/kedit.png -share/icons/hicolor/16x16/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/16x16/apps/kfloppy.png share/icons/hicolor/16x16/apps/khexedit.png share/icons/hicolor/16x16/apps/kjots.png %%ALPHA_NA%%share/icons/hicolor/16x16/apps/klaptopdaemon.png @@ -197,7 +198,7 @@ share/icons/hicolor/32x32/apps/kcalc.png share/icons/hicolor/32x32/apps/kcmdf.png share/icons/hicolor/32x32/apps/kdf.png share/icons/hicolor/32x32/apps/kedit.png -share/icons/hicolor/32x32/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/32x32/apps/kfloppy.png share/icons/hicolor/32x32/apps/khexedit.png share/icons/hicolor/32x32/apps/kjots.png share/icons/hicolor/32x32/apps/kljettool.png @@ -210,7 +211,7 @@ share/icons/hicolor/48x48/apps/ark.png share/icons/hicolor/48x48/apps/kcalc.png share/icons/hicolor/48x48/apps/kcharselect.png share/icons/hicolor/48x48/apps/kedit.png -share/icons/hicolor/48x48/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/48x48/apps/kfloppy.png share/icons/hicolor/48x48/apps/khexedit.png share/icons/hicolor/48x48/apps/kjots.png share/icons/hicolor/48x48/apps/kljettool.png @@ -222,15 +223,19 @@ share/icons/locolor/32x32/apps/klprfax.png share/services/arkpart.desktop %%ALPHA_NA%%share/services/klaptopdaemon.desktop share/services/kregexpeditorgui.desktop +@comment empty dirs @exec /bin/mkdir -p %D/share/apps/kcalc/pics -@exec /bin/mkdir -p %D/share/apps/kcalc/pics +@comment remove dirs @dirrm share/icons/locolor/32x32/apps @dirrm share/icons/locolor/32x32 @dirrm share/icons/locolor/16x16/apps @dirrm share/icons/locolor/16x16 @dirrm share/icons/locolor @dirrm share/icons/hicolor/48x48/apps +@dirrm share/icons/hicolor/48x48 @dirrm share/icons/hicolor/32x32/apps +@dirrm share/icons/hicolor/32x32 +@dirrm share/icons/hicolor @dirrm share/doc/HTML/en/klprfax @dirrm share/doc/HTML/en/klpq @dirrm share/doc/HTML/en/kljettool diff --git a/deskutils/kcharselect/Makefile b/deskutils/kcharselect/Makefile index 3ce4d66bd60b..1725a3ae4156 100644 --- a/deskutils/kcharselect/Makefile +++ b/deskutils/kcharselect/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> diff --git a/deskutils/kcharselect/pkg-plist b/deskutils/kcharselect/pkg-plist index 57012cabf90a..cd21df37d621 100644 --- a/deskutils/kcharselect/pkg-plist +++ b/deskutils/kcharselect/pkg-plist @@ -1,3 +1,4 @@ +@comment files bin/ark bin/efax bin/efix @@ -8,7 +9,7 @@ bin/kdepasswd bin/kdessh bin/kdf bin/kedit -bin/kfloppy +%%KFLOPPY%%bin/kfloppy bin/khexedit bin/kjots %%ALPHA_NA%%bin/klaptopdaemon @@ -51,7 +52,7 @@ share/applnk/Settings/Information/kcmdf.desktop share/applnk/System/kdf.desktop share/applnk/System/kwikdisk.desktop share/applnk/Utilities/KCharSelect.desktop -share/applnk/Utilities/KFloppy.desktop +%%KFLOPPY%%share/applnk/Utilities/KFloppy.desktop share/applnk/Utilities/KLJetTool.desktop share/applnk/Utilities/KLpq.desktop share/applnk/Utilities/Kjots.desktop @@ -182,7 +183,7 @@ share/icons/hicolor/16x16/apps/kcharselect.png share/icons/hicolor/16x16/apps/kcmdf.png share/icons/hicolor/16x16/apps/kdf.png share/icons/hicolor/16x16/apps/kedit.png -share/icons/hicolor/16x16/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/16x16/apps/kfloppy.png share/icons/hicolor/16x16/apps/khexedit.png share/icons/hicolor/16x16/apps/kjots.png %%ALPHA_NA%%share/icons/hicolor/16x16/apps/klaptopdaemon.png @@ -197,7 +198,7 @@ share/icons/hicolor/32x32/apps/kcalc.png share/icons/hicolor/32x32/apps/kcmdf.png share/icons/hicolor/32x32/apps/kdf.png share/icons/hicolor/32x32/apps/kedit.png -share/icons/hicolor/32x32/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/32x32/apps/kfloppy.png share/icons/hicolor/32x32/apps/khexedit.png share/icons/hicolor/32x32/apps/kjots.png share/icons/hicolor/32x32/apps/kljettool.png @@ -210,7 +211,7 @@ share/icons/hicolor/48x48/apps/ark.png share/icons/hicolor/48x48/apps/kcalc.png share/icons/hicolor/48x48/apps/kcharselect.png share/icons/hicolor/48x48/apps/kedit.png -share/icons/hicolor/48x48/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/48x48/apps/kfloppy.png share/icons/hicolor/48x48/apps/khexedit.png share/icons/hicolor/48x48/apps/kjots.png share/icons/hicolor/48x48/apps/kljettool.png @@ -222,15 +223,19 @@ share/icons/locolor/32x32/apps/klprfax.png share/services/arkpart.desktop %%ALPHA_NA%%share/services/klaptopdaemon.desktop share/services/kregexpeditorgui.desktop +@comment empty dirs @exec /bin/mkdir -p %D/share/apps/kcalc/pics -@exec /bin/mkdir -p %D/share/apps/kcalc/pics +@comment remove dirs @dirrm share/icons/locolor/32x32/apps @dirrm share/icons/locolor/32x32 @dirrm share/icons/locolor/16x16/apps @dirrm share/icons/locolor/16x16 @dirrm share/icons/locolor @dirrm share/icons/hicolor/48x48/apps +@dirrm share/icons/hicolor/48x48 @dirrm share/icons/hicolor/32x32/apps +@dirrm share/icons/hicolor/32x32 +@dirrm share/icons/hicolor @dirrm share/doc/HTML/en/klprfax @dirrm share/doc/HTML/en/klpq @dirrm share/doc/HTML/en/kljettool diff --git a/math/kcalc/Makefile b/math/kcalc/Makefile index 3ce4d66bd60b..1725a3ae4156 100644 --- a/math/kcalc/Makefile +++ b/math/kcalc/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> diff --git a/math/kcalc/pkg-plist b/math/kcalc/pkg-plist index 57012cabf90a..cd21df37d621 100644 --- a/math/kcalc/pkg-plist +++ b/math/kcalc/pkg-plist @@ -1,3 +1,4 @@ +@comment files bin/ark bin/efax bin/efix @@ -8,7 +9,7 @@ bin/kdepasswd bin/kdessh bin/kdf bin/kedit -bin/kfloppy +%%KFLOPPY%%bin/kfloppy bin/khexedit bin/kjots %%ALPHA_NA%%bin/klaptopdaemon @@ -51,7 +52,7 @@ share/applnk/Settings/Information/kcmdf.desktop share/applnk/System/kdf.desktop share/applnk/System/kwikdisk.desktop share/applnk/Utilities/KCharSelect.desktop -share/applnk/Utilities/KFloppy.desktop +%%KFLOPPY%%share/applnk/Utilities/KFloppy.desktop share/applnk/Utilities/KLJetTool.desktop share/applnk/Utilities/KLpq.desktop share/applnk/Utilities/Kjots.desktop @@ -182,7 +183,7 @@ share/icons/hicolor/16x16/apps/kcharselect.png share/icons/hicolor/16x16/apps/kcmdf.png share/icons/hicolor/16x16/apps/kdf.png share/icons/hicolor/16x16/apps/kedit.png -share/icons/hicolor/16x16/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/16x16/apps/kfloppy.png share/icons/hicolor/16x16/apps/khexedit.png share/icons/hicolor/16x16/apps/kjots.png %%ALPHA_NA%%share/icons/hicolor/16x16/apps/klaptopdaemon.png @@ -197,7 +198,7 @@ share/icons/hicolor/32x32/apps/kcalc.png share/icons/hicolor/32x32/apps/kcmdf.png share/icons/hicolor/32x32/apps/kdf.png share/icons/hicolor/32x32/apps/kedit.png -share/icons/hicolor/32x32/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/32x32/apps/kfloppy.png share/icons/hicolor/32x32/apps/khexedit.png share/icons/hicolor/32x32/apps/kjots.png share/icons/hicolor/32x32/apps/kljettool.png @@ -210,7 +211,7 @@ share/icons/hicolor/48x48/apps/ark.png share/icons/hicolor/48x48/apps/kcalc.png share/icons/hicolor/48x48/apps/kcharselect.png share/icons/hicolor/48x48/apps/kedit.png -share/icons/hicolor/48x48/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/48x48/apps/kfloppy.png share/icons/hicolor/48x48/apps/khexedit.png share/icons/hicolor/48x48/apps/kjots.png share/icons/hicolor/48x48/apps/kljettool.png @@ -222,15 +223,19 @@ share/icons/locolor/32x32/apps/klprfax.png share/services/arkpart.desktop %%ALPHA_NA%%share/services/klaptopdaemon.desktop share/services/kregexpeditorgui.desktop +@comment empty dirs @exec /bin/mkdir -p %D/share/apps/kcalc/pics -@exec /bin/mkdir -p %D/share/apps/kcalc/pics +@comment remove dirs @dirrm share/icons/locolor/32x32/apps @dirrm share/icons/locolor/32x32 @dirrm share/icons/locolor/16x16/apps @dirrm share/icons/locolor/16x16 @dirrm share/icons/locolor @dirrm share/icons/hicolor/48x48/apps +@dirrm share/icons/hicolor/48x48 @dirrm share/icons/hicolor/32x32/apps +@dirrm share/icons/hicolor/32x32 +@dirrm share/icons/hicolor @dirrm share/doc/HTML/en/klprfax @dirrm share/doc/HTML/en/klpq @dirrm share/doc/HTML/en/kljettool diff --git a/misc/kdeutils3/Makefile b/misc/kdeutils3/Makefile index 3ce4d66bd60b..1725a3ae4156 100644 --- a/misc/kdeutils3/Makefile +++ b/misc/kdeutils3/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> diff --git a/misc/kdeutils3/pkg-plist b/misc/kdeutils3/pkg-plist index 57012cabf90a..cd21df37d621 100644 --- a/misc/kdeutils3/pkg-plist +++ b/misc/kdeutils3/pkg-plist @@ -1,3 +1,4 @@ +@comment files bin/ark bin/efax bin/efix @@ -8,7 +9,7 @@ bin/kdepasswd bin/kdessh bin/kdf bin/kedit -bin/kfloppy +%%KFLOPPY%%bin/kfloppy bin/khexedit bin/kjots %%ALPHA_NA%%bin/klaptopdaemon @@ -51,7 +52,7 @@ share/applnk/Settings/Information/kcmdf.desktop share/applnk/System/kdf.desktop share/applnk/System/kwikdisk.desktop share/applnk/Utilities/KCharSelect.desktop -share/applnk/Utilities/KFloppy.desktop +%%KFLOPPY%%share/applnk/Utilities/KFloppy.desktop share/applnk/Utilities/KLJetTool.desktop share/applnk/Utilities/KLpq.desktop share/applnk/Utilities/Kjots.desktop @@ -182,7 +183,7 @@ share/icons/hicolor/16x16/apps/kcharselect.png share/icons/hicolor/16x16/apps/kcmdf.png share/icons/hicolor/16x16/apps/kdf.png share/icons/hicolor/16x16/apps/kedit.png -share/icons/hicolor/16x16/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/16x16/apps/kfloppy.png share/icons/hicolor/16x16/apps/khexedit.png share/icons/hicolor/16x16/apps/kjots.png %%ALPHA_NA%%share/icons/hicolor/16x16/apps/klaptopdaemon.png @@ -197,7 +198,7 @@ share/icons/hicolor/32x32/apps/kcalc.png share/icons/hicolor/32x32/apps/kcmdf.png share/icons/hicolor/32x32/apps/kdf.png share/icons/hicolor/32x32/apps/kedit.png -share/icons/hicolor/32x32/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/32x32/apps/kfloppy.png share/icons/hicolor/32x32/apps/khexedit.png share/icons/hicolor/32x32/apps/kjots.png share/icons/hicolor/32x32/apps/kljettool.png @@ -210,7 +211,7 @@ share/icons/hicolor/48x48/apps/ark.png share/icons/hicolor/48x48/apps/kcalc.png share/icons/hicolor/48x48/apps/kcharselect.png share/icons/hicolor/48x48/apps/kedit.png -share/icons/hicolor/48x48/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/48x48/apps/kfloppy.png share/icons/hicolor/48x48/apps/khexedit.png share/icons/hicolor/48x48/apps/kjots.png share/icons/hicolor/48x48/apps/kljettool.png @@ -222,15 +223,19 @@ share/icons/locolor/32x32/apps/klprfax.png share/services/arkpart.desktop %%ALPHA_NA%%share/services/klaptopdaemon.desktop share/services/kregexpeditorgui.desktop +@comment empty dirs @exec /bin/mkdir -p %D/share/apps/kcalc/pics -@exec /bin/mkdir -p %D/share/apps/kcalc/pics +@comment remove dirs @dirrm share/icons/locolor/32x32/apps @dirrm share/icons/locolor/32x32 @dirrm share/icons/locolor/16x16/apps @dirrm share/icons/locolor/16x16 @dirrm share/icons/locolor @dirrm share/icons/hicolor/48x48/apps +@dirrm share/icons/hicolor/48x48 @dirrm share/icons/hicolor/32x32/apps +@dirrm share/icons/hicolor/32x32 +@dirrm share/icons/hicolor @dirrm share/doc/HTML/en/klprfax @dirrm share/doc/HTML/en/klpq @dirrm share/doc/HTML/en/kljettool diff --git a/misc/kdeutils4/Makefile b/misc/kdeutils4/Makefile index 3ce4d66bd60b..1725a3ae4156 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> diff --git a/misc/kdeutils4/pkg-plist b/misc/kdeutils4/pkg-plist index 57012cabf90a..cd21df37d621 100644 --- a/misc/kdeutils4/pkg-plist +++ b/misc/kdeutils4/pkg-plist @@ -1,3 +1,4 @@ +@comment files bin/ark bin/efax bin/efix @@ -8,7 +9,7 @@ bin/kdepasswd bin/kdessh bin/kdf bin/kedit -bin/kfloppy +%%KFLOPPY%%bin/kfloppy bin/khexedit bin/kjots %%ALPHA_NA%%bin/klaptopdaemon @@ -51,7 +52,7 @@ share/applnk/Settings/Information/kcmdf.desktop share/applnk/System/kdf.desktop share/applnk/System/kwikdisk.desktop share/applnk/Utilities/KCharSelect.desktop -share/applnk/Utilities/KFloppy.desktop +%%KFLOPPY%%share/applnk/Utilities/KFloppy.desktop share/applnk/Utilities/KLJetTool.desktop share/applnk/Utilities/KLpq.desktop share/applnk/Utilities/Kjots.desktop @@ -182,7 +183,7 @@ share/icons/hicolor/16x16/apps/kcharselect.png share/icons/hicolor/16x16/apps/kcmdf.png share/icons/hicolor/16x16/apps/kdf.png share/icons/hicolor/16x16/apps/kedit.png -share/icons/hicolor/16x16/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/16x16/apps/kfloppy.png share/icons/hicolor/16x16/apps/khexedit.png share/icons/hicolor/16x16/apps/kjots.png %%ALPHA_NA%%share/icons/hicolor/16x16/apps/klaptopdaemon.png @@ -197,7 +198,7 @@ share/icons/hicolor/32x32/apps/kcalc.png share/icons/hicolor/32x32/apps/kcmdf.png share/icons/hicolor/32x32/apps/kdf.png share/icons/hicolor/32x32/apps/kedit.png -share/icons/hicolor/32x32/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/32x32/apps/kfloppy.png share/icons/hicolor/32x32/apps/khexedit.png share/icons/hicolor/32x32/apps/kjots.png share/icons/hicolor/32x32/apps/kljettool.png @@ -210,7 +211,7 @@ share/icons/hicolor/48x48/apps/ark.png share/icons/hicolor/48x48/apps/kcalc.png share/icons/hicolor/48x48/apps/kcharselect.png share/icons/hicolor/48x48/apps/kedit.png -share/icons/hicolor/48x48/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/48x48/apps/kfloppy.png share/icons/hicolor/48x48/apps/khexedit.png share/icons/hicolor/48x48/apps/kjots.png share/icons/hicolor/48x48/apps/kljettool.png @@ -222,15 +223,19 @@ share/icons/locolor/32x32/apps/klprfax.png share/services/arkpart.desktop %%ALPHA_NA%%share/services/klaptopdaemon.desktop share/services/kregexpeditorgui.desktop +@comment empty dirs @exec /bin/mkdir -p %D/share/apps/kcalc/pics -@exec /bin/mkdir -p %D/share/apps/kcalc/pics +@comment remove dirs @dirrm share/icons/locolor/32x32/apps @dirrm share/icons/locolor/32x32 @dirrm share/icons/locolor/16x16/apps @dirrm share/icons/locolor/16x16 @dirrm share/icons/locolor @dirrm share/icons/hicolor/48x48/apps +@dirrm share/icons/hicolor/48x48 @dirrm share/icons/hicolor/32x32/apps +@dirrm share/icons/hicolor/32x32 +@dirrm share/icons/hicolor @dirrm share/doc/HTML/en/klprfax @dirrm share/doc/HTML/en/klpq @dirrm share/doc/HTML/en/kljettool diff --git a/security/kgpg-kde4/Makefile b/security/kgpg-kde4/Makefile index 3ce4d66bd60b..1725a3ae4156 100644 --- a/security/kgpg-kde4/Makefile +++ b/security/kgpg-kde4/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> diff --git a/security/kgpg-kde4/pkg-plist b/security/kgpg-kde4/pkg-plist index 57012cabf90a..cd21df37d621 100644 --- a/security/kgpg-kde4/pkg-plist +++ b/security/kgpg-kde4/pkg-plist @@ -1,3 +1,4 @@ +@comment files bin/ark bin/efax bin/efix @@ -8,7 +9,7 @@ bin/kdepasswd bin/kdessh bin/kdf bin/kedit -bin/kfloppy +%%KFLOPPY%%bin/kfloppy bin/khexedit bin/kjots %%ALPHA_NA%%bin/klaptopdaemon @@ -51,7 +52,7 @@ share/applnk/Settings/Information/kcmdf.desktop share/applnk/System/kdf.desktop share/applnk/System/kwikdisk.desktop share/applnk/Utilities/KCharSelect.desktop -share/applnk/Utilities/KFloppy.desktop +%%KFLOPPY%%share/applnk/Utilities/KFloppy.desktop share/applnk/Utilities/KLJetTool.desktop share/applnk/Utilities/KLpq.desktop share/applnk/Utilities/Kjots.desktop @@ -182,7 +183,7 @@ share/icons/hicolor/16x16/apps/kcharselect.png share/icons/hicolor/16x16/apps/kcmdf.png share/icons/hicolor/16x16/apps/kdf.png share/icons/hicolor/16x16/apps/kedit.png -share/icons/hicolor/16x16/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/16x16/apps/kfloppy.png share/icons/hicolor/16x16/apps/khexedit.png share/icons/hicolor/16x16/apps/kjots.png %%ALPHA_NA%%share/icons/hicolor/16x16/apps/klaptopdaemon.png @@ -197,7 +198,7 @@ share/icons/hicolor/32x32/apps/kcalc.png share/icons/hicolor/32x32/apps/kcmdf.png share/icons/hicolor/32x32/apps/kdf.png share/icons/hicolor/32x32/apps/kedit.png -share/icons/hicolor/32x32/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/32x32/apps/kfloppy.png share/icons/hicolor/32x32/apps/khexedit.png share/icons/hicolor/32x32/apps/kjots.png share/icons/hicolor/32x32/apps/kljettool.png @@ -210,7 +211,7 @@ share/icons/hicolor/48x48/apps/ark.png share/icons/hicolor/48x48/apps/kcalc.png share/icons/hicolor/48x48/apps/kcharselect.png share/icons/hicolor/48x48/apps/kedit.png -share/icons/hicolor/48x48/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/48x48/apps/kfloppy.png share/icons/hicolor/48x48/apps/khexedit.png share/icons/hicolor/48x48/apps/kjots.png share/icons/hicolor/48x48/apps/kljettool.png @@ -222,15 +223,19 @@ share/icons/locolor/32x32/apps/klprfax.png share/services/arkpart.desktop %%ALPHA_NA%%share/services/klaptopdaemon.desktop share/services/kregexpeditorgui.desktop +@comment empty dirs @exec /bin/mkdir -p %D/share/apps/kcalc/pics -@exec /bin/mkdir -p %D/share/apps/kcalc/pics +@comment remove dirs @dirrm share/icons/locolor/32x32/apps @dirrm share/icons/locolor/32x32 @dirrm share/icons/locolor/16x16/apps @dirrm share/icons/locolor/16x16 @dirrm share/icons/locolor @dirrm share/icons/hicolor/48x48/apps +@dirrm share/icons/hicolor/48x48 @dirrm share/icons/hicolor/32x32/apps +@dirrm share/icons/hicolor/32x32 +@dirrm share/icons/hicolor @dirrm share/doc/HTML/en/klprfax @dirrm share/doc/HTML/en/klpq @dirrm share/doc/HTML/en/kljettool diff --git a/security/kwallet/Makefile b/security/kwallet/Makefile index 3ce4d66bd60b..1725a3ae4156 100644 --- a/security/kwallet/Makefile +++ b/security/kwallet/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> diff --git a/security/kwallet/pkg-plist b/security/kwallet/pkg-plist index 57012cabf90a..cd21df37d621 100644 --- a/security/kwallet/pkg-plist +++ b/security/kwallet/pkg-plist @@ -1,3 +1,4 @@ +@comment files bin/ark bin/efax bin/efix @@ -8,7 +9,7 @@ bin/kdepasswd bin/kdessh bin/kdf bin/kedit -bin/kfloppy +%%KFLOPPY%%bin/kfloppy bin/khexedit bin/kjots %%ALPHA_NA%%bin/klaptopdaemon @@ -51,7 +52,7 @@ share/applnk/Settings/Information/kcmdf.desktop share/applnk/System/kdf.desktop share/applnk/System/kwikdisk.desktop share/applnk/Utilities/KCharSelect.desktop -share/applnk/Utilities/KFloppy.desktop +%%KFLOPPY%%share/applnk/Utilities/KFloppy.desktop share/applnk/Utilities/KLJetTool.desktop share/applnk/Utilities/KLpq.desktop share/applnk/Utilities/Kjots.desktop @@ -182,7 +183,7 @@ share/icons/hicolor/16x16/apps/kcharselect.png share/icons/hicolor/16x16/apps/kcmdf.png share/icons/hicolor/16x16/apps/kdf.png share/icons/hicolor/16x16/apps/kedit.png -share/icons/hicolor/16x16/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/16x16/apps/kfloppy.png share/icons/hicolor/16x16/apps/khexedit.png share/icons/hicolor/16x16/apps/kjots.png %%ALPHA_NA%%share/icons/hicolor/16x16/apps/klaptopdaemon.png @@ -197,7 +198,7 @@ share/icons/hicolor/32x32/apps/kcalc.png share/icons/hicolor/32x32/apps/kcmdf.png share/icons/hicolor/32x32/apps/kdf.png share/icons/hicolor/32x32/apps/kedit.png -share/icons/hicolor/32x32/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/32x32/apps/kfloppy.png share/icons/hicolor/32x32/apps/khexedit.png share/icons/hicolor/32x32/apps/kjots.png share/icons/hicolor/32x32/apps/kljettool.png @@ -210,7 +211,7 @@ share/icons/hicolor/48x48/apps/ark.png share/icons/hicolor/48x48/apps/kcalc.png share/icons/hicolor/48x48/apps/kcharselect.png share/icons/hicolor/48x48/apps/kedit.png -share/icons/hicolor/48x48/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/48x48/apps/kfloppy.png share/icons/hicolor/48x48/apps/khexedit.png share/icons/hicolor/48x48/apps/kjots.png share/icons/hicolor/48x48/apps/kljettool.png @@ -222,15 +223,19 @@ share/icons/locolor/32x32/apps/klprfax.png share/services/arkpart.desktop %%ALPHA_NA%%share/services/klaptopdaemon.desktop share/services/kregexpeditorgui.desktop +@comment empty dirs @exec /bin/mkdir -p %D/share/apps/kcalc/pics -@exec /bin/mkdir -p %D/share/apps/kcalc/pics +@comment remove dirs @dirrm share/icons/locolor/32x32/apps @dirrm share/icons/locolor/32x32 @dirrm share/icons/locolor/16x16/apps @dirrm share/icons/locolor/16x16 @dirrm share/icons/locolor @dirrm share/icons/hicolor/48x48/apps +@dirrm share/icons/hicolor/48x48 @dirrm share/icons/hicolor/32x32/apps +@dirrm share/icons/hicolor/32x32 +@dirrm share/icons/hicolor @dirrm share/doc/HTML/en/klprfax @dirrm share/doc/HTML/en/klpq @dirrm share/doc/HTML/en/kljettool diff --git a/sysutils/kdf/Makefile b/sysutils/kdf/Makefile index 3ce4d66bd60b..1725a3ae4156 100644 --- a/sysutils/kdf/Makefile +++ b/sysutils/kdf/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> diff --git a/sysutils/kdf/pkg-plist b/sysutils/kdf/pkg-plist index 57012cabf90a..cd21df37d621 100644 --- a/sysutils/kdf/pkg-plist +++ b/sysutils/kdf/pkg-plist @@ -1,3 +1,4 @@ +@comment files bin/ark bin/efax bin/efix @@ -8,7 +9,7 @@ bin/kdepasswd bin/kdessh bin/kdf bin/kedit -bin/kfloppy +%%KFLOPPY%%bin/kfloppy bin/khexedit bin/kjots %%ALPHA_NA%%bin/klaptopdaemon @@ -51,7 +52,7 @@ share/applnk/Settings/Information/kcmdf.desktop share/applnk/System/kdf.desktop share/applnk/System/kwikdisk.desktop share/applnk/Utilities/KCharSelect.desktop -share/applnk/Utilities/KFloppy.desktop +%%KFLOPPY%%share/applnk/Utilities/KFloppy.desktop share/applnk/Utilities/KLJetTool.desktop share/applnk/Utilities/KLpq.desktop share/applnk/Utilities/Kjots.desktop @@ -182,7 +183,7 @@ share/icons/hicolor/16x16/apps/kcharselect.png share/icons/hicolor/16x16/apps/kcmdf.png share/icons/hicolor/16x16/apps/kdf.png share/icons/hicolor/16x16/apps/kedit.png -share/icons/hicolor/16x16/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/16x16/apps/kfloppy.png share/icons/hicolor/16x16/apps/khexedit.png share/icons/hicolor/16x16/apps/kjots.png %%ALPHA_NA%%share/icons/hicolor/16x16/apps/klaptopdaemon.png @@ -197,7 +198,7 @@ share/icons/hicolor/32x32/apps/kcalc.png share/icons/hicolor/32x32/apps/kcmdf.png share/icons/hicolor/32x32/apps/kdf.png share/icons/hicolor/32x32/apps/kedit.png -share/icons/hicolor/32x32/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/32x32/apps/kfloppy.png share/icons/hicolor/32x32/apps/khexedit.png share/icons/hicolor/32x32/apps/kjots.png share/icons/hicolor/32x32/apps/kljettool.png @@ -210,7 +211,7 @@ share/icons/hicolor/48x48/apps/ark.png share/icons/hicolor/48x48/apps/kcalc.png share/icons/hicolor/48x48/apps/kcharselect.png share/icons/hicolor/48x48/apps/kedit.png -share/icons/hicolor/48x48/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/48x48/apps/kfloppy.png share/icons/hicolor/48x48/apps/khexedit.png share/icons/hicolor/48x48/apps/kjots.png share/icons/hicolor/48x48/apps/kljettool.png @@ -222,15 +223,19 @@ share/icons/locolor/32x32/apps/klprfax.png share/services/arkpart.desktop %%ALPHA_NA%%share/services/klaptopdaemon.desktop share/services/kregexpeditorgui.desktop +@comment empty dirs @exec /bin/mkdir -p %D/share/apps/kcalc/pics -@exec /bin/mkdir -p %D/share/apps/kcalc/pics +@comment remove dirs @dirrm share/icons/locolor/32x32/apps @dirrm share/icons/locolor/32x32 @dirrm share/icons/locolor/16x16/apps @dirrm share/icons/locolor/16x16 @dirrm share/icons/locolor @dirrm share/icons/hicolor/48x48/apps +@dirrm share/icons/hicolor/48x48 @dirrm share/icons/hicolor/32x32/apps +@dirrm share/icons/hicolor/32x32 +@dirrm share/icons/hicolor @dirrm share/doc/HTML/en/klprfax @dirrm share/doc/HTML/en/klpq @dirrm share/doc/HTML/en/kljettool diff --git a/sysutils/kfloppy/Makefile b/sysutils/kfloppy/Makefile index 3ce4d66bd60b..1725a3ae4156 100644 --- a/sysutils/kfloppy/Makefile +++ b/sysutils/kfloppy/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> diff --git a/sysutils/kfloppy/pkg-plist b/sysutils/kfloppy/pkg-plist index 57012cabf90a..cd21df37d621 100644 --- a/sysutils/kfloppy/pkg-plist +++ b/sysutils/kfloppy/pkg-plist @@ -1,3 +1,4 @@ +@comment files bin/ark bin/efax bin/efix @@ -8,7 +9,7 @@ bin/kdepasswd bin/kdessh bin/kdf bin/kedit -bin/kfloppy +%%KFLOPPY%%bin/kfloppy bin/khexedit bin/kjots %%ALPHA_NA%%bin/klaptopdaemon @@ -51,7 +52,7 @@ share/applnk/Settings/Information/kcmdf.desktop share/applnk/System/kdf.desktop share/applnk/System/kwikdisk.desktop share/applnk/Utilities/KCharSelect.desktop -share/applnk/Utilities/KFloppy.desktop +%%KFLOPPY%%share/applnk/Utilities/KFloppy.desktop share/applnk/Utilities/KLJetTool.desktop share/applnk/Utilities/KLpq.desktop share/applnk/Utilities/Kjots.desktop @@ -182,7 +183,7 @@ share/icons/hicolor/16x16/apps/kcharselect.png share/icons/hicolor/16x16/apps/kcmdf.png share/icons/hicolor/16x16/apps/kdf.png share/icons/hicolor/16x16/apps/kedit.png -share/icons/hicolor/16x16/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/16x16/apps/kfloppy.png share/icons/hicolor/16x16/apps/khexedit.png share/icons/hicolor/16x16/apps/kjots.png %%ALPHA_NA%%share/icons/hicolor/16x16/apps/klaptopdaemon.png @@ -197,7 +198,7 @@ share/icons/hicolor/32x32/apps/kcalc.png share/icons/hicolor/32x32/apps/kcmdf.png share/icons/hicolor/32x32/apps/kdf.png share/icons/hicolor/32x32/apps/kedit.png -share/icons/hicolor/32x32/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/32x32/apps/kfloppy.png share/icons/hicolor/32x32/apps/khexedit.png share/icons/hicolor/32x32/apps/kjots.png share/icons/hicolor/32x32/apps/kljettool.png @@ -210,7 +211,7 @@ share/icons/hicolor/48x48/apps/ark.png share/icons/hicolor/48x48/apps/kcalc.png share/icons/hicolor/48x48/apps/kcharselect.png share/icons/hicolor/48x48/apps/kedit.png -share/icons/hicolor/48x48/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/48x48/apps/kfloppy.png share/icons/hicolor/48x48/apps/khexedit.png share/icons/hicolor/48x48/apps/kjots.png share/icons/hicolor/48x48/apps/kljettool.png @@ -222,15 +223,19 @@ share/icons/locolor/32x32/apps/klprfax.png share/services/arkpart.desktop %%ALPHA_NA%%share/services/klaptopdaemon.desktop share/services/kregexpeditorgui.desktop +@comment empty dirs @exec /bin/mkdir -p %D/share/apps/kcalc/pics -@exec /bin/mkdir -p %D/share/apps/kcalc/pics +@comment remove dirs @dirrm share/icons/locolor/32x32/apps @dirrm share/icons/locolor/32x32 @dirrm share/icons/locolor/16x16/apps @dirrm share/icons/locolor/16x16 @dirrm share/icons/locolor @dirrm share/icons/hicolor/48x48/apps +@dirrm share/icons/hicolor/48x48 @dirrm share/icons/hicolor/32x32/apps +@dirrm share/icons/hicolor/32x32 +@dirrm share/icons/hicolor @dirrm share/doc/HTML/en/klprfax @dirrm share/doc/HTML/en/klpq @dirrm share/doc/HTML/en/kljettool diff --git a/sysutils/sweeper/Makefile b/sysutils/sweeper/Makefile index 3ce4d66bd60b..1725a3ae4156 100644 --- a/sysutils/sweeper/Makefile +++ b/sysutils/sweeper/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> diff --git a/sysutils/sweeper/pkg-plist b/sysutils/sweeper/pkg-plist index 57012cabf90a..cd21df37d621 100644 --- a/sysutils/sweeper/pkg-plist +++ b/sysutils/sweeper/pkg-plist @@ -1,3 +1,4 @@ +@comment files bin/ark bin/efax bin/efix @@ -8,7 +9,7 @@ bin/kdepasswd bin/kdessh bin/kdf bin/kedit -bin/kfloppy +%%KFLOPPY%%bin/kfloppy bin/khexedit bin/kjots %%ALPHA_NA%%bin/klaptopdaemon @@ -51,7 +52,7 @@ share/applnk/Settings/Information/kcmdf.desktop share/applnk/System/kdf.desktop share/applnk/System/kwikdisk.desktop share/applnk/Utilities/KCharSelect.desktop -share/applnk/Utilities/KFloppy.desktop +%%KFLOPPY%%share/applnk/Utilities/KFloppy.desktop share/applnk/Utilities/KLJetTool.desktop share/applnk/Utilities/KLpq.desktop share/applnk/Utilities/Kjots.desktop @@ -182,7 +183,7 @@ share/icons/hicolor/16x16/apps/kcharselect.png share/icons/hicolor/16x16/apps/kcmdf.png share/icons/hicolor/16x16/apps/kdf.png share/icons/hicolor/16x16/apps/kedit.png -share/icons/hicolor/16x16/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/16x16/apps/kfloppy.png share/icons/hicolor/16x16/apps/khexedit.png share/icons/hicolor/16x16/apps/kjots.png %%ALPHA_NA%%share/icons/hicolor/16x16/apps/klaptopdaemon.png @@ -197,7 +198,7 @@ share/icons/hicolor/32x32/apps/kcalc.png share/icons/hicolor/32x32/apps/kcmdf.png share/icons/hicolor/32x32/apps/kdf.png share/icons/hicolor/32x32/apps/kedit.png -share/icons/hicolor/32x32/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/32x32/apps/kfloppy.png share/icons/hicolor/32x32/apps/khexedit.png share/icons/hicolor/32x32/apps/kjots.png share/icons/hicolor/32x32/apps/kljettool.png @@ -210,7 +211,7 @@ share/icons/hicolor/48x48/apps/ark.png share/icons/hicolor/48x48/apps/kcalc.png share/icons/hicolor/48x48/apps/kcharselect.png share/icons/hicolor/48x48/apps/kedit.png -share/icons/hicolor/48x48/apps/kfloppy.png +%%KFLOPPY%%share/icons/hicolor/48x48/apps/kfloppy.png share/icons/hicolor/48x48/apps/khexedit.png share/icons/hicolor/48x48/apps/kjots.png share/icons/hicolor/48x48/apps/kljettool.png @@ -222,15 +223,19 @@ share/icons/locolor/32x32/apps/klprfax.png share/services/arkpart.desktop %%ALPHA_NA%%share/services/klaptopdaemon.desktop share/services/kregexpeditorgui.desktop +@comment empty dirs @exec /bin/mkdir -p %D/share/apps/kcalc/pics -@exec /bin/mkdir -p %D/share/apps/kcalc/pics +@comment remove dirs @dirrm share/icons/locolor/32x32/apps @dirrm share/icons/locolor/32x32 @dirrm share/icons/locolor/16x16/apps @dirrm share/icons/locolor/16x16 @dirrm share/icons/locolor @dirrm share/icons/hicolor/48x48/apps +@dirrm share/icons/hicolor/48x48 @dirrm share/icons/hicolor/32x32/apps +@dirrm share/icons/hicolor/32x32 +@dirrm share/icons/hicolor @dirrm share/doc/HTML/en/klprfax @dirrm share/doc/HTML/en/klpq @dirrm share/doc/HTML/en/kljettool |