blob: 2f64a3fc61edb5f5091d009e771fd9ccfcca09be (
plain) (
blame)
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
40
41
42
43
44
|
# New ports collection makefile for: lopster
# Date created: 19 Oct 2000
# Whom: Roman Shterenzon <roman@xpert.com>
#
# $FreeBSD$
#
PORTNAME= lopster
PORTVERSION= 1.2.0
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= roman@xpert.com
COMMENT= GTK+ client for Napster
LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= gtk12
USE_X_PREFIX= yes
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.5:${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.post.mk>
|