freebsd-ports/audio/denemo/Makefile

56 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: denemo
# Date created: 2001-02-24
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= denemo
2007-01-25 21:13:17 +01:00
PORTVERSION= 0.7.6
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= multimedia@FreeBSD.org
2003-03-01 15:34:33 +01:00
COMMENT= Graphical score editor
2007-01-25 21:13:17 +01:00
USE_XLIB= yes
USE_GNOME= gnometarget gtk20 libxml2
USE_GCC= 3.4+
USE_BISON= yes
USE_GETOPT_LONG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CPPFLAGS= ${CFLAGS} -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
2004-04-12 06:03:55 +02:00
.include <bsd.port.pre.mk>
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
post-patch:
@${GREP} -lR "<malloc.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|<malloc\.h>|<stdlib.h>|g'
@${REINPLACE_CMD} -e \
's|CXXFLAGS="$$CFLAGS|CXXFLAGS="$$DENEMO_CFLAGS|g ; \
s|-Wall -O2|-Wall $$CXXFLAGS|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|/icons|/pixmaps|g' ${WRKSRC}/pixmaps/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in AUTHORS ChangeLog DESIGN GOALS NEWS README TODO
2007-01-25 21:13:17 +01:00
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
2004-04-12 06:03:55 +02:00
.include <bsd.port.post.mk>