1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/devel/anjuta-devel/Makefile
2002-07-11 15:31:46 +00:00

36 lines
953 B
Makefile

# New ports collection makefile for: anjuta
# Date created: 31 March 2001
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= anjuta
PORTVERSION= 0.1.9
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= anjuta
MAINTAINER= gnome@FreeBSD.org
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
LIB_DEPENDS= scintilla.1:${PORTSDIR}/x11-toolkits/scintilla
RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
pre-patch:
@${REINPLACE_CMD} -e 's#-lpthread#${PTHREAD_LIBS}#g ; \
s#DATADIRNAME=lib#DATADIRNAME=share#g' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \
's|[(]datadir[)]/gnome/|(datadir)/|g ; \
s|[(]datadir[)]/locale|(prefix)/share/locale|g'
.include <bsd.port.mk>