|
Lines 7-13
Link Here
|
| 7 |
|
7 |
|
| 8 |
PORTNAME= lopster |
8 |
PORTNAME= lopster |
| 9 |
PORTVERSION= 1.2.0 |
9 |
PORTVERSION= 1.2.0 |
| 10 |
PORTREVISION= 0 |
10 |
PORTREVISION= 1 |
| 11 |
CATEGORIES= audio |
11 |
CATEGORIES= audio |
| 12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
| 13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
|
Lines 25-31
Link Here
|
| 25 |
CONFIGURE_ARGS= --with-pthread=yes --with-zlib=yes |
25 |
CONFIGURE_ARGS= --with-pthread=yes --with-zlib=yes |
| 26 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" |
26 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" |
| 27 |
|
27 |
|
|
|
28 |
.include <bsd.port.pre.mk> |
| 29 |
|
| 30 |
# Make ogg optional |
| 31 |
.if exists(${LOCALBASE}/lib/libogg.so.4) |
| 32 |
WITH_LIBOGG= yes |
| 33 |
.endif |
| 34 |
|
| 35 |
.if defined(WITH_LIBOGG) |
| 36 |
LIB_DEPENDS+= ogg.4:${PORTSDIR}/audio/libogg |
| 37 |
.endif |
| 38 |
|
| 39 |
.if defined(WITH_ARTS) |
| 40 |
.endif |
| 41 |
|
| 42 |
pre-everything: |
| 43 |
@${ECHO_MSG} "You can specify WITH_LIBOGG to include Ogg support" |
| 44 |
|
| 28 |
post-patch: |
45 |
post-patch: |
| 29 |
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure |
46 |
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure |
| 30 |
|
47 |
|
| 31 |
.include <bsd.port.mk> |
48 |
.include <bsd.port.post.mk> |