blob: 869d994585dc7ec20b40771cbc7b6f239facde4f (
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
38
39
40
41
42
43
44
45
46
47
|
# New ports collection makefile for: gai-visual-audio
# Date created: 2005-02-10
# Whom: David Thiel <lx@redundancy.redundancy.org>
#
# $FreeBSD$
#
PORTNAME= gai-visual-audio
PORTVERSION= 0.3
PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gai
MAINTAINER= lx@redundancy.redundancy.org
COMMENT= A GAI dockapp for displaying xmms visualizations
LIB_DEPENDS= gai:${PORTSDIR}/x11-toolkits/gai \
xmms:${PORTSDIR}/multimedia/xmms
GNU_CONFIGURE= yes
USE_X_PREFIX= yes
USE_BZIP2= yes
USE_GNOME= gnomehack gnomeprefix
post-patch:
@${REINPLACE_CMD} -e 's|\(GNOMEDIR=\).*|\1"${PREFIX}"|' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|:GNOME_|:GAI-|g; \
s|\(@APPLET_NAME@\)\(Applet\)|\1-\2|g; \
s|\(Applet\)_\(Factory\)|\1-\2|' \
${WRKSRC}/GNOME_DefaultApplet.server.in
@${REINPLACE_CMD} -e \
's|lib\(/bonobo\)|libdata\1|; \
s|share\(/pixmaps\)|share/gnome\1|; \
s|-O3||' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/plugin/Makefile
post-build:
@cd ${WRKSRC}/plugin && ${MAKE_ENV} ${MAKE} ${MAKE_ARGS}
post-install:
@cd ${WRKSRC}/plugin && ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} ${INSTALL_TARGET}
.include <bsd.port.mk>
|