aboutsummaryrefslogtreecommitdiff
path: root/audio/cheesetracker/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/cheesetracker/Makefile')
-rw-r--r--audio/cheesetracker/Makefile20
1 files changed, 12 insertions, 8 deletions
diff --git a/audio/cheesetracker/Makefile b/audio/cheesetracker/Makefile
index 88760ead187e..d494ebc9397f 100644
--- a/audio/cheesetracker/Makefile
+++ b/audio/cheesetracker/Makefile
@@ -14,20 +14,24 @@ MASTER_SITES= http://www.reduz.com.ar/cheesetracker/
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/share/automake14/install-sh:${PORTSDIR}/devel/automake14
-LIB_DEPENDS= sigc:${PORTSDIR}/devel/libsigc++ \
- gtkmm:${PORTSDIR}/x11-toolkits/gtk--
+LIB_DEPENDS= gtkmm.2:${PORTSDIR}/x11-toolkits/gtk--
-GNU_CONFIGURE= yes
-USE_GMAKE= yes
USE_REINPLACE= yes
+USE_GNOMENG= yes
+USE_GNOME= gtk12
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
+ AUTOHEADER="${TRUE}"
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|[$$]CXXFLAGS_OPT |\$$CXXFLAGS |g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|AFMT_S16_NE|AFMT_S16_LE|g' ${WRKSRC}/waveout/sound_driver_oss.cpp
pre-configure:
.for file in install-sh missing mkinstalldirs
- @${LN} -sf ${LOCALBASE}/share/automake14/automake/${file} ${WRKSRC}
+ @${LN} -sf ${LOCALBASE}/share/automake14/${file} ${WRKSRC}
.endfor
@${RM} -f ${WRKSRC}/config.cache
-post-patch:
- @${REINPLACE_CMD} -e "s,AFMT_S16_NE,AFMT_S16_LE,g" ${WRKSRC}/waveout/sound_driver_oss.cpp
-
.include <bsd.port.mk>