summaryrefslogtreecommitdiff
path: root/audio/herrie/Makefile
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2006-08-31 12:12:05 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2006-08-31 12:12:05 +0000
commit21c59b838a2a96f27282a68059408477d7bae435 (patch)
tree44354fd73fb1162ab1cfd16e7a977befa95784d7 /audio/herrie/Makefile
parent- Update to 3.9 (diff)
Update to 0.3
PR: 102273 Submitted by: Ed Schouten <ed@fxq.nl> (maintainer)
Diffstat (limited to 'audio/herrie/Makefile')
-rw-r--r--audio/herrie/Makefile35
1 files changed, 27 insertions, 8 deletions
diff --git a/audio/herrie/Makefile b/audio/herrie/Makefile
index 43fd15d84fbf..f2f787a64e62 100644
--- a/audio/herrie/Makefile
+++ b/audio/herrie/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= herrie
-PORTVERSION= 0.1
+PORTVERSION= 0.3
CATEGORIES= audio
MASTER_SITES= http://www.il.fontys.nl/~ed/projects/herrie/distfiles/ \
http://www.stack.nl/~ed/projects/herrie/distfiles/
@@ -14,19 +14,38 @@ MASTER_SITES= http://www.il.fontys.nl/~ed/projects/herrie/distfiles/ \
MAINTAINER= ed@fxq.nl
COMMENT= A small command line interface music player
-LIB_DEPENDS= vorbis.3:${PORTSDIR}/audio/libvorbis \
- mad.2:${PORTSDIR}/audio/mad \
- sndfile.1:${PORTSDIR}/audio/libsndfile
+LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
-GNU_CONFIGURE= yes
-CONFIGURE_ENV+= CFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+USE_OPENSSL= yes
+USE_GNOME= glib20
+USE_GMAKE= yes
+MAKEFILE= GNUmakefile
+ALL_TARGET= herrie
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
+OPTIONS= MAD "MAD MP3 support" on \
+ VORBIS "Ogg Vorbis support" on \
+ SNDFILE "libsndfile support" off
PLIST_FILES= bin/herrie
+MAN1= herrie.1
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
-IGNORE= doesn't like 4.x thread libs
+.if !defined(WITHOUT_MAD)
+LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/mad
+.else
+MAKE_ENV+= NO_MP3=yes
+.endif
+.if !defined(WITHOUT_VORBIS)
+LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis
+.else
+MAKE_ENV+= NO_VORBIS=yes
+.endif
+.if !defined(WITHOUT_SNDFILE)
+LIB_DEPENDS+= sndfile.1:${PORTSDIR}/audio/libsndfile
+.else
+MAKE_ENV+= NO_SNDFILE=yes
.endif
.include <bsd.port.post.mk>