1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/comms/anyremote/Makefile
Steve Wills 307bae7239 - Update to 5.2
- Add license

PR:		ports/153500
Submitted by:	Alex Samorukov <samm at os2.kiev.ua> (maintainer)
Approved by:	wxs (mentor)
Feature safe:	yes
2011-01-15 14:25:29 +00:00

52 lines
1.1 KiB
Makefile

# New ports collection makefile for: anyremote
# Date created: 2008-11-05
# Whom: Alex Samorukov <samm@os2.kiev.ua>
#
# $FreeBSD$
#
PORTNAME= anyremote
PORTVERSION= 5.3
CATEGORIES= comms
MASTER_SITES= SF
MAINTAINER= samm@os2.kiev.ua
COMMENT= Remote control service over Bluetooth, infrared or tcp/ip networking
USE_GNOME= glib20
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
LICENSE= GPLv2
OPTIONS= DBUS "Build with DBUS support" on \
X11 "Build with X11 library" on
.include <bsd.port.pre.mk>
.if defined(WITHOUT_DBUS)
CONFIGURE_ARGS+=--disable-dbus
.else
LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
.endif
.if defined(WITHOUT_X11)
CONFIGURE_ARGS+=--disable-xtest
.else
USE_XORG= x11 xtst
.endif
MAKE_ARGS+= LDFLAGS="-L${LOCALBASE}/lib"
MAN1= anyremote.1
MANCOMPRESSED= yes
post-patch:
@${REINPLACE_CMD} -e 's|(datadir)/man/man1|(mandir)/man1|g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|xtext|xtest|g' ${WRKSRC}/configure
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e '/doc\/${PORTNAME}/d' ${WRKSRC}/Makefile.in
.endif
.include <bsd.port.post.mk>