2001-05-20 05:01:55 +02:00
|
|
|
# New ports collection makefile for: xosd
|
|
|
|
# Date created: 2 May 2001
|
|
|
|
# Whom: Hye-Shik Chang <perky@python.or.kr>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xosd
|
2004-11-30 16:19:58 +01:00
|
|
|
PORTVERSION= 2.2.12
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 5
|
2001-05-20 05:01:55 +02:00
|
|
|
CATEGORIES= misc
|
2003-01-21 19:26:43 +01:00
|
|
|
MASTER_SITES= http://www.ignavus.net/ \
|
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= perky
|
2001-05-20 05:01:55 +02:00
|
|
|
|
2002-06-25 09:50:58 +02:00
|
|
|
MAINTAINER= perky@FreeBSD.org
|
2003-02-25 07:25:35 +01:00
|
|
|
COMMENT= X On-Screen-Display Library and XMMS plug-in
|
2001-05-20 05:01:55 +02:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
XMMS_CONFIG?= ${LOCALBASE}/bin/xmms-config
|
2004-06-04 07:05:34 +02:00
|
|
|
USE_BZIP2= yes
|
2001-05-20 05:01:55 +02:00
|
|
|
USE_GMAKE= yes
|
2008-06-01 00:04:39 +02:00
|
|
|
USE_XORG= x11 xext xt sm ice
|
2007-03-23 21:16:40 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
|
|
|
USE_LDCONFIG= yes
|
2003-07-14 04:53:03 +02:00
|
|
|
CONFIGURE_ENV= LIBS=${PTHREAD_LIBS}' -L${LOCALBASE}/lib' \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
CFLAGS='${CFLAGS}' LOCALBASE='${LOCALBASE}' \
|
2002-10-26 00:06:03 +02:00
|
|
|
GTK_CONFIG='${GTK_CONFIG}' GLIB_CONFIG='${GLIB_CONFIG}' \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
XMMS_PLUGINDIR=${LOCALBASE}/lib/xmms
|
2004-06-04 07:05:34 +02:00
|
|
|
|
|
|
|
MAN1= osd_cat.1 xosd-config.1
|
|
|
|
MAN3= xosd.3 xosd_create.3 xosd_destroy.3 xosd_display.3 \
|
|
|
|
xosd_get_number_lines.3 xosd_hide.3 xosd_is_onscreen.3 \
|
|
|
|
xosd_set_align.3 xosd_set_bar_length.3 \
|
|
|
|
xosd_set_horizontal_offset.3 xosd_set_pos.3 \
|
|
|
|
xosd_set_shadow_offset.3 xosd_set_vertical_offset.3 \
|
|
|
|
xosd_show.3 xosd_uninit.3
|
|
|
|
|
|
|
|
OPTIONS= XMMS "Install XMMS-OSD plugin" on
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_XMMS)
|
2006-02-09 16:49:06 +01:00
|
|
|
LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms \
|
|
|
|
gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
|
2004-06-04 07:05:34 +02:00
|
|
|
PLIST_SUB= WITH_XMMS=""
|
|
|
|
.else
|
2003-05-06 14:40:24 +02:00
|
|
|
CONFIGURE_ARGS= --disable-new-plugin
|
|
|
|
PLIST_SUB= WITH_XMMS="@comment "
|
|
|
|
.endif
|
2001-05-20 05:01:55 +02:00
|
|
|
|
2003-04-09 14:09:37 +02:00
|
|
|
pre-patch:
|
2006-02-09 16:49:06 +01:00
|
|
|
@${REINPLACE_CMD} -e 's,-lc_r,-lblahblah,g' ${WRKSRC}/ltmain.sh
|
2007-03-23 21:16:40 +01:00
|
|
|
@${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},g ; s,echo aout,echo elf,' ${WRKSRC}/configure
|
2003-04-09 14:09:37 +02:00
|
|
|
.for f in src/libxosd/Makefile.in src/xmms_plugin/Makefile.in
|
2006-02-09 16:49:06 +01:00
|
|
|
@${REINPLACE_CMD} -e 's,^\(CFLAGS =\)\(.*\)$$,\1 -I.. \2,g' ${WRKSRC}/$f
|
2003-04-09 14:09:37 +02:00
|
|
|
.endfor
|
2001-05-20 05:01:55 +02:00
|
|
|
|
2004-06-04 07:05:34 +02:00
|
|
|
.include <bsd.port.post.mk>
|