diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2003-05-12 14:44:04 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2003-05-12 14:44:04 +0000 |
commit | b2d5d19f1c58ca62fc010963ea582b2cdf14f5de (patch) | |
tree | c51f7883a4ab6d53fe0178e2861b1d24481a72af /net-p2p/lopster/Makefile | |
parent | e6cd92ad99368c3c4ad244b563956b79a19a06e5 (diff) |
Notes
Diffstat (limited to 'net-p2p/lopster/Makefile')
-rw-r--r-- | net-p2p/lopster/Makefile | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/net-p2p/lopster/Makefile b/net-p2p/lopster/Makefile index 26a4c45b65c5..2b82dda2e406 100644 --- a/net-p2p/lopster/Makefile +++ b/net-p2p/lopster/Makefile @@ -7,7 +7,7 @@ PORTNAME= lopster PORTVERSION= 1.2.0 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -25,7 +25,20 @@ USE_REINPLACE= yes CONFIGURE_ARGS= --with-pthread=yes --with-zlib=yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/lib/libogg.so.4) +WITH_LIBOGG= yes +.endif + +.if defined(WITH_LIBOGG) +LIB_DEPENDS+= ogg.4:${PORTSDIR}/audio/libogg +.endif + +pre-everything:: + @${ECHO_MSG} "You can specify WITH_LIBOGG to include Ogg support" + post-patch: @${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure -.include <bsd.port.mk> +.include <bsd.port.post.mk> |