Lines 22-27
Link Here
|
22 |
USE_GNOME= libxml2 |
22 |
USE_GNOME= libxml2 |
23 |
USE_ICONV= yes |
23 |
USE_ICONV= yes |
|
|
24 |
USE_RC_SUBR= ${PORTNAME} |
24 |
GNU_CONFIGURE= yes |
25 |
GNU_CONFIGURE= yes |
25 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
26 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
Lines 31-37
Link Here
|
31 |
ezstream_reencode_mp3.xml ezstream_reencode_theora.xml \ |
32 |
ezstream_reencode_mp3.xml ezstream_reencode_theora.xml \ |
32 |
ezstream_reencode_vorbis.xml ezstream_stdin_vorbis.xml \ |
33 |
ezstream_reencode_vorbis.xml ezstream_stdin_vorbis.xml \ |
33 |
ezstream_vorbis.xml meta.sh play.sh |
34 |
ezstream_vorbis.xml meta.sh play.sh |
34 |
PLIST_FILES= bin/ezstream bin/ezstream-file.sh |
35 |
PLIST_FILES= bin/ezstream bin/ezstream-file.sh etc/ezstream/ezstream.xml '@dirrm etc/ezstream' |
35 |
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} |
36 |
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} |
36 |
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} |
37 |
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} |
Lines 41-53
Link Here
|
41 |
.if defined(WITHOUT_TAGLIB) |
42 |
.if defined(WITHOUT_TAGLIB) |
42 |
CONFIGURE_ARGS+= --without-taglib |
43 |
CONFIGURE_ARGS+= --without-taglib |
43 |
.else |
44 |
.else |
44 |
LIB_DEPENDS+= tag.1:${PORTSDIR}/audio/taglib |
45 |
LIB_DEPENDS+= tag.1:${PORTSDIR}/audio/taglib |
45 |
CONFIGURE_ARGS+= --with-taglib=${LOCALBASE} |
46 |
CONFIGURE_ARGS+= --with-taglib=${LOCALBASE} |
46 |
.endif |
47 |
.endif |
47 |
post-patch: |
48 |
post-patch: |
48 |
@${REINPLACE_CMD} -e '/^SUBDIRS =/s|examples||g ; \ |
49 |
@${REINPLACE_CMD} -e '/^SUBDIRS =/s|examples||g ; \ |
49 |
s|: install-dist_docDATA|:|g' ${WRKSRC}/Makefile.in |
50 |
s|: install-dist_docDATA|:|g' ${WRKSRC}/Makefile.in |
50 |
post-install: |
51 |
post-install: |
51 |
.if !defined(NOPORTDOCS) |
52 |
.if !defined(NOPORTDOCS) |
Lines 62-66
Link Here
|
62 |
${INSTALL_DATA} ${WRKSRC}/examples/${file} ${EXAMPLESDIR} |
63 |
${INSTALL_DATA} ${WRKSRC}/examples/${file} ${EXAMPLESDIR} |
63 |
.endfor |
64 |
.endfor |
64 |
.endif |
65 |
.endif |
|
|
66 |
@${MKDIR} ${ETCDIR} |
67 |
@${INSTALL_DATA} ${WRKSRC}/examples/ezstream_vorbis.xml ${ETCDIR}/ezstream.xml |
65 |
.include <bsd.port.post.mk> |
68 |
.include <bsd.port.post.mk> |