summaryrefslogblamecommitdiff
path: root/audio/grip/Makefile
blob: facf86ee73e47c4963984b17d25b3c5295e19ed1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10







                                                       

                     
                     
                                          
                       
 
                                  
 


                                                     


                           
                   
                   
                   

                   
 
                                                 
 

                                   

                       

                  
      




                                                 
 

                                                             



                             
                      
# New ports collection makefile for:	grip
# Date created:				31 May 2000
# Whom:					kbyanc@posi.net
#
# $FreeBSD$
#

PORTNAME=	grip
PORTVERSION=	3.0.1
# PORTREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=grip

MAINTAINER=	ports@geeksrus.net

LIB_DEPENDS=	id3-3.7.13:${PORTSDIR}/audio/id3lib \
		ghttp.1:${PORTSDIR}/www/libghttp

USE_AUTOMAKE_VER=	14
USE_AUTOCONF_VER=	213

USE_GMAKE=	yes
USE_X_PREFIX=	yes
USE_GTK=	yes
USE_GNOMELIBS=	yes
GNU_CONFIGURE=	yes

CONFIGURE_ARGS+=	--datadir=${PREFIX}/share

CFLAGS+=	${PTHREAD_CFLAGS}
LDFLAGS=	-L${LOCALBASE}/lib 

.if defined(WITH_DEBUG)
CFLAGS+=	-g
LDFLAGS+=	-g
.endif
CONFIGURE_ENV+=	CFLAGS="${CFLAGS}" 
CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ENV+=	CXXFLAGS="${CXXFLAGS}"
CONFIGURE_ENV+=	LDFLAGS="${LDFLAGS}"
CONFIGURE_ENV+= LIBS=${PTHREAD_LIBS}

pre-configure:
	cd ${WRKSRC}; ${AUTOHEADER}; ${AUTOMAKE}; ${AUTOCONF}

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>