freebsd-ports/deskutils/ganyremote/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

46 lines
1 KiB
Makefile

# New ports collection makefile for: ganyremote
# Date created: 08 November 2008
# Whom: Alexander Logvinov <ports@logvinov.com>
#
# $FreeBSD$
#
PORTNAME= ganyremote
PORTVERSION= 5.11.7
CATEGORIES= deskutils comms gnome
MASTER_SITES= SF/anyremote/${PORTNAME}/${PORTVERSION}
MAINTAINER= avl@FreeBSD.org
COMMENT= GNOME frontend for anyRemote
RUN_DEPENDS= anyremote:${PORTSDIR}/comms/anyremote
GNU_CONFIGURE= yes
USE_PYTHON= yes
USE_GNOME= pygtk2
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= AUTHORS COPYING README ChangeLog
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|usepybluez = True|usepybluez = False|' \
-e '/initVerify()$$/d' ${WRKSRC}/${PORTNAME}
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e '/doc\/${PORTNAME}/d' ${WRKSRC}/Makefile.in
.endif
.include <bsd.port.post.mk>