aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/openbox
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2014-01-27 17:44:39 +0800
committerdanfe <danfe@FreeBSD.org>2014-01-27 17:44:39 +0800
commit7fd2a9b6995aa9a55223f16ce8cc83030acca032 (patch)
treec75bd74205d83b57357671d85fc19a87844c2146 /x11-wm/openbox
parentbf5081f3a6a5cf3120fab8c4b119b42532659836 (diff)
downloadfreebsd-ports-gnome-7fd2a9b6995aa9a55223f16ce8cc83030acca032.tar.gz
freebsd-ports-gnome-7fd2a9b6995aa9a55223f16ce8cc83030acca032.tar.zst
freebsd-ports-gnome-7fd2a9b6995aa9a55223f16ce8cc83030acca032.zip
Stagify, convert to OptionsNG, sort pkg-plist.
Diffstat (limited to 'x11-wm/openbox')
-rw-r--r--x11-wm/openbox/Makefile43
-rw-r--r--x11-wm/openbox/pkg-plist128
2 files changed, 83 insertions, 88 deletions
diff --git a/x11-wm/openbox/Makefile b/x11-wm/openbox/Makefile
index 3c0137106e70..f464cec86e0a 100644
--- a/x11-wm/openbox/Makefile
+++ b/x11-wm/openbox/Makefile
@@ -18,40 +18,31 @@ USE_GNOME= glib20 libxml2 gnomehack ltverhack
USE_XORG= xft
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
-CONFIGURE_ENV= CFLAGS+="-I${LOCALBASE}/include" \
- LDFLAGS+="-L${LOCALBASE}/lib"
-MAN1= openbox.1 openbox-session.1 obxprop.1 \
- openbox-gnome-session.1 openbox-kde-session.1
+
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
PLIST_SUB= VERSION=${PORTVERSION:C/.[0-9]+\$//}
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= NLS IMLIB PANGO NOTIFY
+OPTIONS_DEFAULT= IMLIB PANGO NOTIFY
+OPTIONS_SUB= yes
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+NLS_USES= gettext
+NLS_CONFIGURE_OFF= --disable-nls
-.if !defined(WITHOUT_IMLIB)
-USE_EFL= imlib2
-.else
-CONFIGURE_ARGS+= --disable-imlib2
-.endif
+PANGO_USE= GNOME=pango
+PANG_CONFIGURE_OFF= --disable-pango
-.if !defined(WITHOUT_PANGO)
-USE_GNOME+= pango
-.else
-CONFIGURE_ARGS+= --disable-pango
-.endif
+NOTIFY_LIB_DEPENDS= libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification
+NOTIFY_CONFIGURE_OFF= --disable-startup-notification
-.if !defined(WITHOUT_STARTUP_NOTIFICATION)
-LIB_DEPENDS+= startup-notification-1:${PORTSDIR}/x11/startup-notification
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MIMLIB}
+USE_EFL= imlib2
.else
-CONFIGURE_ARGS+= --disable-startup-notification
+CONFIGURE_ARGS+= --disable-imlib2
.endif
post-configure:
diff --git a/x11-wm/openbox/pkg-plist b/x11-wm/openbox/pkg-plist
index 516a6eb340e4..67d2f98e8d6e 100644
--- a/x11-wm/openbox/pkg-plist
+++ b/x11-wm/openbox/pkg-plist
@@ -1,13 +1,3 @@
-include/openbox/%%VERSION%%/obt/link.h
-include/openbox/%%VERSION%%/obt/display.h
-include/openbox/%%VERSION%%/obt/keyboard.h
-include/openbox/%%VERSION%%/obt/xml.h
-include/openbox/%%VERSION%%/obt/paths.h
-include/openbox/%%VERSION%%/obt/prop.h
-include/openbox/%%VERSION%%/obt/signal.h
-include/openbox/%%VERSION%%/obt/util.h
-include/openbox/%%VERSION%%/obt/version.h
-include/openbox/%%VERSION%%/obt/xqueue.h
include/openbox/%%VERSION%%/obrender/color.h
include/openbox/%%VERSION%%/obrender/font.h
include/openbox/%%VERSION%%/obrender/geom.h
@@ -18,8 +8,18 @@ include/openbox/%%VERSION%%/obrender/mask.h
include/openbox/%%VERSION%%/obrender/render.h
include/openbox/%%VERSION%%/obrender/theme.h
include/openbox/%%VERSION%%/obrender/version.h
-bin/gnome-panel-control
+include/openbox/%%VERSION%%/obt/display.h
+include/openbox/%%VERSION%%/obt/keyboard.h
+include/openbox/%%VERSION%%/obt/link.h
+include/openbox/%%VERSION%%/obt/paths.h
+include/openbox/%%VERSION%%/obt/prop.h
+include/openbox/%%VERSION%%/obt/signal.h
+include/openbox/%%VERSION%%/obt/util.h
+include/openbox/%%VERSION%%/obt/version.h
+include/openbox/%%VERSION%%/obt/xml.h
+include/openbox/%%VERSION%%/obt/xqueue.h
bin/gdm-control
+bin/gnome-panel-control
bin/obxprop
bin/openbox
bin/openbox-gnome-session
@@ -41,12 +41,29 @@ libdata/pkgconfig/obrender-%%VERSION%%.pc
libdata/pkgconfig/obt-%%VERSION%%.pc
libexec/openbox-autostart
libexec/openbox-xdg-autostart
+man/man1/obxprop.1.gz
+man/man1/openbox-gnome-session.1.gz
+man/man1/openbox-kde-session.1.gz
+man/man1/openbox-session.1.gz
+man/man1/openbox.1.gz
share/applications/openbox.desktop
-share/gnome/wm-properties/openbox.desktop
-share/gnome-session/sessions/openbox-gnome.session
share/gnome-session/sessions/openbox-gnome-fallback.session
+share/gnome-session/sessions/openbox-gnome.session
+share/gnome/wm-properties/openbox.desktop
share/pixmaps/openbox.png
share/themes/Artwiz-boxed/openbox-3/themerc
+share/themes/Bear2/openbox-3/close.xbm
+share/themes/Bear2/openbox-3/close_pressed.xbm
+share/themes/Bear2/openbox-3/desk.xbm
+share/themes/Bear2/openbox-3/desk_toggled.xbm
+share/themes/Bear2/openbox-3/iconify.xbm
+share/themes/Bear2/openbox-3/iconify_pressed.xbm
+share/themes/Bear2/openbox-3/max.xbm
+share/themes/Bear2/openbox-3/max_pressed.xbm
+share/themes/Bear2/openbox-3/max_toggled.xbm
+share/themes/Bear2/openbox-3/shade.xbm
+share/themes/Bear2/openbox-3/shade_pressed.xbm
+share/themes/Bear2/openbox-3/themerc
share/themes/Clearlooks-3.4/openbox-3/themerc
share/themes/Clearlooks-Olive/openbox-3/themerc
share/themes/Clearlooks/openbox-3/themerc
@@ -69,46 +86,36 @@ share/themes/Natura/openbox-3/max_toggled.xbm
share/themes/Natura/openbox-3/shade.xbm
share/themes/Natura/openbox-3/shade_hover.xbm
share/themes/Natura/openbox-3/themerc
-share/themes/Onyx/openbox-3/themerc
share/themes/Onyx-Citrus/openbox-3/themerc
+share/themes/Onyx/openbox-3/themerc
share/themes/Orang/openbox-3/themerc
+share/themes/Syscrash/openbox-3/max.xbm
share/themes/Syscrash/openbox-3/max_disabled.xbm
share/themes/Syscrash/openbox-3/max_pressed.xbm
share/themes/Syscrash/openbox-3/max_toggled.xbm
-share/themes/Syscrash/openbox-3/max.xbm
share/themes/Syscrash/openbox-3/themerc
-share/themes/Bear2/openbox-3/close.xbm
-share/themes/Bear2/openbox-3/close_pressed.xbm
-share/themes/Bear2/openbox-3/desk.xbm
-share/themes/Bear2/openbox-3/desk_toggled.xbm
-share/themes/Bear2/openbox-3/iconify.xbm
-share/themes/Bear2/openbox-3/iconify_pressed.xbm
-share/themes/Bear2/openbox-3/max.xbm
-share/themes/Bear2/openbox-3/max_pressed.xbm
-share/themes/Bear2/openbox-3/max_toggled.xbm
-share/themes/Bear2/openbox-3/shade.xbm
-share/themes/Bear2/openbox-3/shade_pressed.xbm
-share/themes/Bear2/openbox-3/themerc
-share/xsessions/openbox.desktop
share/xsessions/openbox-gnome.desktop
share/xsessions/openbox-kde.desktop
-%%DOCSDIR%%/COMPLIANCE
-%%DOCSDIR%%/README
+share/xsessions/openbox.desktop
%%DOCSDIR%%/AUTHORS
%%DOCSDIR%%/CHANGELOG
+%%DOCSDIR%%/COMPLIANCE
%%DOCSDIR%%/COPYING
-%%DOCSDIR%%/rc.xsd
+%%DOCSDIR%%/README
%%DOCSDIR%%/menu.xsd
%%DOCSDIR%%/rc-mouse-focus.xml
+%%DOCSDIR%%/rc.xsd
%%DOCSDIR%%/xbm/bullet.xbm
%%DOCSDIR%%/xbm/close.xbm
-%%DOCSDIR%%/xbm/desk_toggled.xbm
%%DOCSDIR%%/xbm/desk.xbm
+%%DOCSDIR%%/xbm/desk_toggled.xbm
%%DOCSDIR%%/xbm/iconify.xbm
-%%DOCSDIR%%/xbm/max_toggled.xbm
%%DOCSDIR%%/xbm/max.xbm
-%%DOCSDIR%%/xbm/shade_toggled.xbm
+%%DOCSDIR%%/xbm/max_toggled.xbm
%%DOCSDIR%%/xbm/shade.xbm
+%%DOCSDIR%%/xbm/shade_toggled.xbm
+@dirrm %%DOCSDIR%%/xbm
+@dirrm %%DOCSDIR%%
%%NLS%%share/locale/af/LC_MESSAGES/openbox.mo
%%NLS%%share/locale/ar/LC_MESSAGES/openbox.mo
%%NLS%%share/locale/be/LC_MESSAGES/openbox.mo
@@ -148,40 +155,40 @@ share/xsessions/openbox-kde.desktop
%%NLS%%share/locale/vi/LC_MESSAGES/openbox.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/openbox.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/openbox.mo
-%%NLS%%@dirrmtry share/locale/bn_IN/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/bn_IN
-%%NLS%%@dirrmtry share/locale/en@boldquot/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/en@boldquot
-%%NLS%%@dirrmtry share/locale/en@quot/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/en@quot
%%NLS%%@dirrmtry share/locale/ia/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/ia
-@dirrm %%DOCSDIR%%/xbm
-@dirrm %%DOCSDIR%%
-@dirrm share/themes/Artwiz-boxed/openbox-3
-@dirrm share/themes/Artwiz-boxed
-@dirrm share/themes/Bear2/openbox-3
-@dirrm share/themes/Bear2
-@dirrm share/themes/Clearlooks-3.4/openbox-3
-@dirrm share/themes/Clearlooks-3.4
-@dirrm share/themes/Clearlooks/openbox-3
-@dirrmtry share/themes/Clearlooks
-@dirrm share/themes/Clearlooks-Olive/openbox-3
-@dirrmtry share/themes/Clearlooks-Olive
-@dirrm share/themes/Mikachu/openbox-3
-@dirrm share/themes/Mikachu
-@dirrm share/themes/Natura/openbox-3
-@dirrm share/themes/Natura
+%%NLS%%@dirrmtry share/locale/en@quot/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/en@quot
+%%NLS%%@dirrmtry share/locale/en@boldquot/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/en@boldquot
+%%NLS%%@dirrmtry share/locale/bn_IN/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/bn_IN
+@dirrmtry share/xsessions
+@dirrm share/themes/Syscrash/openbox-3
+@dirrm share/themes/Syscrash
@dirrm share/themes/Orang/openbox-3
@dirrm share/themes/Orang
@dirrm share/themes/Onyx/openbox-3
@dirrm share/themes/Onyx-Citrus/openbox-3
@dirrm share/themes/Onyx-Citrus
@dirrm share/themes/Onyx
-@dirrm share/themes/Syscrash/openbox-3
-@dirrm share/themes/Syscrash
+@dirrm share/themes/Natura/openbox-3
+@dirrm share/themes/Natura
+@dirrm share/themes/Mikachu/openbox-3
+@dirrm share/themes/Mikachu
+@dirrm share/themes/Clearlooks/openbox-3
+@dirrm share/themes/Clearlooks-Olive/openbox-3
+@dirrmtry share/themes/Clearlooks-Olive
+@dirrm share/themes/Clearlooks-3.4/openbox-3
+@dirrm share/themes/Clearlooks-3.4
+@dirrmtry share/themes/Clearlooks
+@dirrm share/themes/Bear2/openbox-3
+@dirrm share/themes/Bear2
+@dirrm share/themes/Artwiz-boxed/openbox-3
+@dirrm share/themes/Artwiz-boxed
@dirrmtry share/themes
-@comment @dirrm %%DATADIR%%
+@dirrmtry share/gnome-session/sessions
+@dirrmtry share/gnome-session
@dirrmtry libdata/pkgconfig
@dirrm include/openbox/%%VERSION%%/obt
@dirrm include/openbox/%%VERSION%%/obrender
@@ -189,6 +196,3 @@ share/xsessions/openbox-kde.desktop
@dirrm include/openbox
@dirrm etc/xdg/openbox
@dirrmtry etc/xdg
-@dirrmtry share/gnome-session/sessions
-@dirrmtry share/gnome-session
-@dirrmtry share/xsessions