summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/xosd/Makefile27
1 files changed, 15 insertions, 12 deletions
diff --git a/misc/xosd/Makefile b/misc/xosd/Makefile
index 4aaefd11a758..c3dece4d3a4e 100644
--- a/misc/xosd/Makefile
+++ b/misc/xosd/Makefile
@@ -13,31 +13,34 @@ COMMENT= X11 on-screen-display program and library
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake pkgconfig libtool xorg
+USES= gmake libtool pkgconfig xorg
USE_CSTD= gnu89
-USE_XORG= x11 xext xt sm ice xinerama
USE_LDCONFIG= yes
+USE_XORG= ice sm x11 xext xinerama xt
GNU_CONFIGURE= yes
-CONFIGURE_ENV= GTK_CONFIG='${GTK_CONFIG}' GLIB_CONFIG='${GLIB_CONFIG}'
-CONFIGURE_ARGS= --disable-beep_media_player_plugin --disable-new-plugin
-PATCH_STRIP= -p1
+CONFIGURE_ARGS= --disable-beep_media_player_plugin \
+ --disable-new-plugin
+CONFIGURE_ENV= GLIB_CONFIG='${GLIB_CONFIG}' \
+ GTK_CONFIG='${GTK_CONFIG}'
INSTALL_TARGET= install-strip
+PATCH_STRIP= -p1
PORTDOCS= AUTHORS ChangeLog TODO
-OPTIONS_DEFINE= MSEC XFT DOCS
+OPTIONS_DEFINE= DOCS MSEC XFT
+OPTIONS_SUB= yes
+
MSEC_DESC= Use milliseconds timeout (breaks compatibility!)
XFT_DESC= Unofficial Xft support
-OPTIONS_SUB= yes
-
MSEC_EXTRA_PATCHES= ${FILESDIR}/extra-patch-msec-timeout
-MSEC_VARS= DELAY_UNITS=milliseconds
-MSEC_VARS_OFF= DELAY_UNITS=seconds
+MSEC_VARS= DELAY_UNITS=milliseconds
+MSEC_VARS_OFF= DELAY_UNITS=seconds
-XFT_EXTRA_PATCHES= ${FILESDIR}/extra-patch-xft
XFT_USES= gnome
-XFT_USE= GNOME=pango XORG=xft
+XFT_USE= GNOME=pango \
+ XORG=xft
+XFT_EXTRA_PATCHES= ${FILESDIR}/extra-patch-xft
post-patch:
@${REINPLACE_CMD} -e 's,^\(CFLAGS =\)\(.*\)$$,\1 -I..\2,' \