Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= bebocd |
8 |
PORTNAME= bebocd |
9 |
PORTVERSION= 0.3 |
9 |
PORTVERSION= 0.4 |
10 |
CATEGORIES= audio |
10 |
CATEGORIES= audio |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 17-37
Link Here
|
17 |
LIB_DEPENDS= cdaudio.1:${PORTSDIR}/audio/libcdaudio |
17 |
LIB_DEPENDS= cdaudio.1:${PORTSDIR}/audio/libcdaudio |
18 |
|
18 |
|
19 |
USE_X_PREFIX= yes |
19 |
USE_X_PREFIX= yes |
20 |
USE_GNOME= gnomehack gtk20 gnomeprefix |
20 |
USE_GNOME= gnomehack gtk20 |
21 |
USE_GMAKE= yes |
21 |
USE_GMAKE= yes |
22 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
23 |
USE_REINPLACE= yes |
23 |
CONFIGURE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \ |
24 |
CONFIGURE_ARGS= CPPFLAGS=-I${LOCALBASE}/include \ |
24 |
LDFLAGS="-L${LOCALBASE}/lib" |
25 |
LIBS=-L${LOCALBASE}/lib |
|
|
26 |
|
25 |
|
27 |
post-patch: |
26 |
post-patch: |
28 |
.if defined(CDROM) && exists(${CDROM}) |
27 |
.if defined(CDROM) && exists(${CDROM}) |
29 |
@${REINPLACE_CMD} -e "s|/dev/cdrom|${CDROM}|" ${WRKSRC}/src/main.h |
28 |
@${REINPLACE_CMD} -e "s|/dev/cdrom|${CDROM}|" ${WRKSRC}/src/main.h |
30 |
.else |
29 |
.else |
31 |
@${ECHO} "" |
30 |
@${ECHO_MSG} "" |
32 |
@${ECHO} "You can specify the default CD-ROM device by defining CDROM." |
31 |
@${ECHO_MSG} "You can specify the default CD-ROM device by defining CDROM." |
33 |
@${ECHO} "For example, CDROM=\"/dev/acd0c\" make" |
32 |
@${ECHO_MSG} "For example, CDROM=\"/dev/acd0c\" make" |
34 |
@${ECHO} "" |
33 |
@${ECHO_MSG} "" |
35 |
.endif |
34 |
.endif |
36 |
|
35 |
|
37 |
.include <bsd.port.mk> |
36 |
.include <bsd.port.mk> |