freebsd-ports/devel/obby/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

40 lines
890 B
Makefile

# Ports collection makefile for: obby
# Date created: 2005-10-14
# Whom: Andreas Kohn <andreas@syndrom23.de>
#
# $FreeBSD$
#
PORTNAME= obby
PORTVERSION= 0.4.7
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://releases.0x539.de/obby/ \
http://www.atarininja.org/~wxs/distfiles/
MAINTAINER= ports@FreeBSD.org
COMMENT= A library for synced document buffers
LIB_DEPENDS= sigc-2.0.0:${PORTSDIR}/devel/libsigc++20 \
net6:${PORTSDIR}/net/net6
MAKE_JOBS_SAFE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-howl
USE_LDCONFIG= yes
.if !defined(WITHOUT_NLS)
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${REINPLACE_CMD} 's,^pkgconfigdir = .*,pkgconfigdir=$${prefix}/libdata/pkgconfig,' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>