blob: 871e9c82a43b5758c89190a87ca2355c8489e978 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# New ports collection makefile for: bebocd
# Date created: 02 July 2003
# Whom: Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= bebocd
PORTVERSION= 0.4
PORTREVISION= 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
USE_GMAKE= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
.if defined(CDROM) && exists(${CDROM})
@${REINPLACE_CMD} -e "s|/dev/cdrom|${CDROM}|" ${WRKSRC}/src/main.h
.else
@${ECHO_MSG} ""
@${ECHO_MSG} "You can specify the default CD-ROM device by defining CDROM."
@${ECHO_MSG} "For example, CDROM=\"/dev/acd0c\" make"
@${ECHO_MSG} ""
.endif
@${REINPLACE_CMD} -e "s|gpointer data|gpointer arg|" ${WRKSRC}/src/callbacks.c
.include <bsd.port.mk>
|