1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/audio/glame/Makefile
Ade Lovett bc47cccc84 Various patches (mainly shared library revision changes) for those
ports that depend on GNOME and need to change for 1.4
2001-05-04 21:41:30 +00:00

38 lines
948 B
Makefile

# New ports collection makefile for: glame
# Date created: 26 September 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= glame
PORTVERSION= 0.2.0
PORTREVISION= 1
CATEGORIES= audio gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= sobomax@FreeBSD.org
USE_GNOME= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g ; \
s|-lpthread|${PTHREAD_LIBS}|g'
post-install:
@install-info ${PREFIX}/info/glame.info \
--section="Audio Processing" \
--entry="* glame: (glame). audio processing tool for GNOME" \
${PREFIX}/info/dir
.include <bsd.port.mk>