summaryrefslogtreecommitdiffstats
path: root/audio/goobox/Makefile
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-04-03 08:54:37 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-04-03 08:54:37 +0800
commitcd2de3068971c87be53e72f392066046a4f4a42d (patch)
treed15f9f10c6db0430096527caab9390b810b4260f /audio/goobox/Makefile
parent5cdf2c2358d1ee9371d9c8a8a3b85b1e09a31348 (diff)
downloadmarcuscom-ports-cd2de3068971c87be53e72f392066046a4f4a42d.tar
marcuscom-ports-cd2de3068971c87be53e72f392066046a4f4a42d.tar.gz
marcuscom-ports-cd2de3068971c87be53e72f392066046a4f4a42d.tar.bz2
marcuscom-ports-cd2de3068971c87be53e72f392066046a4f4a42d.tar.lz
marcuscom-ports-cd2de3068971c87be53e72f392066046a4f4a42d.tar.xz
marcuscom-ports-cd2de3068971c87be53e72f392066046a4f4a42d.tar.zst
marcuscom-ports-cd2de3068971c87be53e72f392066046a4f4a42d.zip
Sync w/ FreeBSD ports tree.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6004 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio/goobox/Makefile')
-rw-r--r--audio/goobox/Makefile24
1 files changed, 20 insertions, 4 deletions
diff --git a/audio/goobox/Makefile b/audio/goobox/Makefile
index f8a03f634..417f30075 100644
--- a/audio/goobox/Makefile
+++ b/audio/goobox/Makefile
@@ -3,11 +3,12 @@
# Whom: Alexander Nedotsukov <bland@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/audio/goobox/Makefile,v 1.12 2006/03/02 20:17:12 mezz Exp $
+# $MCom: ports/audio/goobox/Makefile,v 1.13 2006/03/13 19:31:36 mezz Exp $
+#
PORTNAME= goobox
PORTVERSION= 0.9.93
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\.([0-9]+).*/\1.\2/}
@@ -19,9 +20,9 @@ COMMENT= CD player and ripper for GNOME Desktop environment
RUN_DEPENDS= cddb-slave2-properties:${PORTSDIR}/audio/gnomemedia2
USE_X_PREFIX= yes
+USE_GETTEXT= yes
USE_BZIP2= yes
USE_GMAKE= yes
-USE_GETTEXT= yes
USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui libglade2 libbonobo \
gnomedocutils
USE_GSTREAMER80= cdparanoia gconf
@@ -32,4 +33,19 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
GCONF_SCHEMAS= goobox.schemas
-.include <bsd.port.mk>
+OPTIONS= NOTIFY "Enable libnotify support" on
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= does not build on 4.X
+.endif
+
+.if !defined(WITHOUT_NOTIFY)
+LIB_DEPENDS+= notify.1:${PORTSDIR}/devel/libnotify
+CONFIGURE_ARGS+= --enable-notification
+.else
+CONFIGURE_ARGS+= --disable-notification
+.endif
+
+.include <bsd.port.post.mk>