# New ports collection makefile for: glame # Date created: 26 September 2000 # Whom: Maxim Sobolev # # $FreeBSD$ # PORTNAME= glame PORTVERSION= 0.6.3 CATEGORIES= audio gnome MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= sobomax@FreeBSD.org LIB_DEPENDS= ltdl.1:${PORTSDIR}/devel/libtool USE_GNOMENG= yes USE_GNOME= gnomeprefix gnomehack libglade USE_X_PREFIX= yes USE_GMAKE= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -lltdl ${PTHREAD_LIBS}" .include post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \ 's|-lpthread|${PTHREAD_LIBS}|g' @find ${WRKSRC} -name "*.[ch]" | xargs ${REINPLACE_CMD} -e \ 's|||' post-install: @install-info ${PREFIX}/info/glame.info \ --section="Audio Processing" \ --entry="* glame: (glame). audio processing tool for GNOME" \ ${PREFIX}/info/dir .include