2012-11-10 13:08:00 +01:00
|
|
|
# Created by: Hye-Shik Chang <perky@python.or.kr>
|
2001-05-20 05:01:55 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xosd
|
2010-06-08 03:18:08 +02:00
|
|
|
PORTVERSION= 2.2.14
|
2014-05-27 13:17:41 +02:00
|
|
|
PORTREVISION= 3
|
2001-05-20 05:01:55 +02:00
|
|
|
CATEGORIES= misc
|
2012-11-10 13:08:00 +01:00
|
|
|
MASTER_SITES= SF/libxosd/libxosd/${PORTNAME}-${PORTVERSION}
|
2001-05-20 05:01:55 +02:00
|
|
|
|
2010-05-23 23:16:16 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2012-11-10 13:08:00 +01:00
|
|
|
COMMENT= X11 on-screen-display program and library
|
2001-05-20 05:01:55 +02:00
|
|
|
|
2016-03-28 20:43:58 +02:00
|
|
|
LICENSE= GPLv2+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2012-11-10 13:08:00 +01:00
|
|
|
|
2014-05-27 13:17:41 +02:00
|
|
|
USES= gmake pkgconfig libtool
|
2012-11-10 13:08:00 +01:00
|
|
|
USE_CSTD= gnu89
|
2016-10-31 10:04:18 +01:00
|
|
|
USE_XORG= x11 xext xt sm ice xinerama
|
2007-03-23 21:16:40 +01:00
|
|
|
USE_LDCONFIG= yes
|
2014-05-27 13:17:41 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2014-06-11 16:49:59 +02:00
|
|
|
CONFIGURE_ENV= GTK_CONFIG='${GTK_CONFIG}' GLIB_CONFIG='${GLIB_CONFIG}'
|
2014-03-22 11:06:10 +01:00
|
|
|
CONFIGURE_ARGS= --disable-beep_media_player_plugin --disable-new-plugin
|
2012-11-13 14:56:37 +01:00
|
|
|
PATCH_STRIP= -p1
|
2014-05-27 13:17:41 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2004-06-04 07:05:34 +02:00
|
|
|
|
2012-11-10 13:08:00 +01:00
|
|
|
PORTDOCS= AUTHORS ChangeLog TODO
|
2004-06-04 07:05:34 +02:00
|
|
|
|
2014-03-22 11:06:10 +01:00
|
|
|
OPTIONS_DEFINE= MSEC XFT DOCS
|
2012-11-10 13:08:00 +01:00
|
|
|
MSEC_DESC= Use milliseconds timeout (breaks compatibility!)
|
2012-11-10 17:30:46 +01:00
|
|
|
XFT_DESC= Unofficial Xft support
|
2004-06-04 07:05:34 +02:00
|
|
|
|
2013-12-09 15:19:40 +01:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
MSEC_EXTRA_PATCHES= ${FILESDIR}/extra-patch-msec-timeout
|
2016-03-28 20:43:58 +02:00
|
|
|
MSEC_VARS= DELAY_UNITS=milliseconds
|
|
|
|
MSEC_VARS_OFF= DELAY_UNITS=seconds
|
2013-12-09 15:19:40 +01:00
|
|
|
|
|
|
|
XFT_EXTRA_PATCHES= ${FILESDIR}/extra-patch-xft
|
|
|
|
XFT_USE= GNOME=pango XORG=xft
|
|
|
|
|
2012-11-10 13:08:00 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's,^\(CFLAGS =\)\(.*\)$$,\1 -I..\2,' \
|
|
|
|
${WRKSRC}/src/libxosd/Makefile.in \
|
|
|
|
${WRKSRC}/src/xmms_plugin/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e 's,specified time,& (${DELAY_UNITS}),' \
|
|
|
|
${WRKSRC}/src/osd_cat.c
|
2016-03-28 20:43:58 +02:00
|
|
|
|
|
|
|
post-patch-XFT-on:
|
|
|
|
# unbreak against Clang
|
2012-11-14 15:41:42 +01:00
|
|
|
@${REINPLACE_CMD} -e '52s,^,void xosd_xypos(xosd *osd);,' \
|
|
|
|
${WRKSRC}/src/libxosd/xosd.c
|
2012-11-10 13:08:00 +01:00
|
|
|
|
2016-03-28 20:43:58 +02:00
|
|
|
post-install-DOCS-on:
|
2013-12-09 15:19:40 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
2001-05-20 05:01:55 +02:00
|
|
|
|
2012-06-29 14:42:04 +02:00
|
|
|
.include <bsd.port.mk>
|