diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2003-07-11 04:07:26 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2003-07-11 04:07:26 +0000 |
commit | 43aa9eea6625247d080360ff80aa7ccedb76ff04 (patch) | |
tree | fb4f70d2110ae58c8b0c66a7516d4435c9199cde /audio/bebocd/Makefile | |
parent | o Updated documentation (diff) |
Bebocd is a simple CD-player that requires only
GTK 2 and libcdaudio.
Notes
Notes:
svn path=/head/; revision=84629
Diffstat (limited to 'audio/bebocd/Makefile')
-rw-r--r-- | audio/bebocd/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/audio/bebocd/Makefile b/audio/bebocd/Makefile new file mode 100644 index 000000000000..472458549a26 --- /dev/null +++ b/audio/bebocd/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: bebocd +# Date created: 02 July 2003 +# Whom: Adam Weinberger <adamw@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= bebocd +PORTVERSION= 0.3 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org +COMMENT= GTK2 CD Player + +LIB_DEPENDS= cdaudio.1:${PORTSDIR}/audio/libcdaudio + +USE_X_PREFIX= yes +USE_GNOME= gnomehack gtk20 gnomeprefix +USE_GMAKE= yes +GNU_CONFIGURE= yes +USE_REINPLACE= yes +CONFIGURE_ARGS= CPPFLAGS=-I${LOCALBASE}/include \ + LIBS=-L${LOCALBASE}/lib + +post-patch: +.if defined(CDROM) && exists(${CDROM}) + @${REINPLACE_CMD} -e "s|/dev/cdrom|${CDROM}|" ${WRKSRC}/src/main.h +.else + @${ECHO} "" + @${ECHO} "You can specify the default CD-ROM device by defining CDROM." + @${ECHO} "For example, CDROM=\"/dev/acd0c\" make" + @${ECHO} "" +.endif + +.include <bsd.port.mk> |