blob: ce7ee526e9ad0973fbf22dc9cefa6df37e12c0ba (
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
|
# New ports collection makefile for: gspeakers
# Date created: 10th December 2003
# Whom: Vincent Tantardini <vinc@freebsd-fr.org>
#
# $FreeBSD$
PORTNAME= gspeakers
PORTVERSION= 0.10.1
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Gnome-based loudspeaker design program
LIB_DEPENDS= gtkmm:${PORTSDIR}/x11-toolkits/gtk--2
RUN_DEPENDS= spice3:${PORTSDIR}/cad/spice
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= gnomehack libxml2 gnomeprefix
USE_LIBTOOL_VER= 13
USE_REINPLACE= yes
CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
LIBS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
post-patch:
@${REINPLACE_CMD} -e \
"s,/share/pixmaps/,/share/gnome/pixmaps/${PORTNAME}/," \
-e "s,/share/xml/,/share/gnome/xml/${PORTNAME}/," \
${WRKSRC}/src/*.cc
@${REINPLACE_CMD} -e \
"s,/usr/local/share/xml/,${PREFIX}/share/gnome/xml/${PORTNAME}/,g" \
${WRKSRC}/xml/*.xml
.include <bsd.port.mk>
|