mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
a31a7121d3
PR: 174150 Submitted by: maintainer Feature safe: yes
52 lines
1.1 KiB
Makefile
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= 6.1.1
|
|
CATEGORIES= comms
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= samm@os2.kiev.ua
|
|
COMMENT= Remote control service over Bluetooth, infrared, or TCP/IP networking
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_GNOME= glib20
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
OPTIONS_DEFINE= DBUS X11
|
|
OPTIONS_DEFAULT= DBUS X11
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if empty(PORT_OPTIONS:MDBUS)
|
|
CONFIGURE_ARGS+=--disable-dbus
|
|
.else
|
|
LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
|
|
.endif
|
|
|
|
.if empty(PORT_OPTIONS:MX11)
|
|
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 ${PORT_OPTIONS:MDOCS}
|
|
@${REINPLACE_CMD} -e '/doc\/${PORTNAME}/d' ${WRKSRC}/Makefile.in
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|