mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
bc47cccc84
ports that depend on GNOME and need to change for 1.4
38 lines
948 B
Makefile
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>
|