summaryrefslogtreecommitdiffstats
path: root/audio/gspeakers/Makefile
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-02 23:29:58 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-02 23:29:58 +0800
commit3abd49bf55108e57ab4db593409a7a80d67bf6c7 (patch)
treed0fe3460c5c9d4f67399e1179659ae986aa836f3 /audio/gspeakers/Makefile
parente7a58ba740a4441551309648c5da4a2837cf4533 (diff)
downloadmarcuscom-ports-3abd49bf55108e57ab4db593409a7a80d67bf6c7.tar.gz
marcuscom-ports-3abd49bf55108e57ab4db593409a7a80d67bf6c7.tar.zst
marcuscom-ports-3abd49bf55108e57ab4db593409a7a80d67bf6c7.zip
share/gnome -> share
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8754 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio/gspeakers/Makefile')
-rw-r--r--audio/gspeakers/Makefile53
1 files changed, 53 insertions, 0 deletions
diff --git a/audio/gspeakers/Makefile b/audio/gspeakers/Makefile
new file mode 100644
index 000000000..758801fa8
--- /dev/null
+++ b/audio/gspeakers/Makefile
@@ -0,0 +1,53 @@
+# New ports collection makefile for: gspeakers
+# Date created: 10th December 2003
+# Whom: Vincent Tantardini <vinc@freebsd-fr.org>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= gspeakers
+PORTVERSION= 0.11
+PORTREVISION= 5
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Gnome-based loudspeaker design program
+
+LIB_DEPENDS= gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24
+
+USE_XLIB= yes
+USE_GCC= 3.4
+USE_GNOME= gnomeprefix gnometarget libxml2
+USE_GMAKE= yes
+USE_AUTOTOOLS= automake:19:env
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+CFLAGS+= -O0
+
+.if defined(WITH_SPICE)
+RUN_DEPENDS+= spice3:${PORTSDIR}/cad/spice
+.else
+RUN_DEPENDS+= gnucap:${PORTSDIR}/cad/gnucap
+.endif
+
+post-extract:
+ @${FIND} ${WRKSRC} -type l -delete
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/gnome/apps/|/apps/|g' \
+ ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|$$(datadir)/pixmaps|$$(pkgdatadir)/pixmaps|g' \
+ ${WRKSRC}/pixmaps/Makefile.in
+ @${REINPLACE_CMD} -e 's|-Wall -O0|@CXXFLAGS@|g' \
+ ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's|$$(datadir)/xml|$$(pkgdatadir)/xml|g' \
+ ${WRKSRC}/xml/Makefile.in
+
+pre-configure:
+ @${CP} ${AUTOMAKE_DIR}/depcomp ${WRKSRC}
+
+.include <bsd.port.mk>