Files
ports/comms/anyremote/Makefile
T
Jason E. Hale 14f7c29430 */*: De-orbit alias.mk
Mk/Uses/alias.mk was an attempt for compat with DPorts, but has rotted.
This feature was never documented in the PHB, so there is no work to
be done by the docs@ team.

Nothing against DragonFly, but if DPorts still needs FreeBSD 9
support, they really should work that out with upstream projects.

Ultimately, we don't need to keep carrying this outdated feature that
doesn't affect us.
2025-12-30 07:00:05 -05:00

43 lines
1.1 KiB
Makefile

PORTNAME= anyremote
PORTVERSION= 6.7.3
PORTREVISION= 2
CATEGORIES= comms
MASTER_SITES= SF
MAINTAINER= samm@FreeBSD.org
COMMENT= Remote control service over Bluetooth, infrared, or TCP/IP networking
WWW= https://anyremote.sourceforge.net/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libdbus-1.so:devel/dbus \
libavahi-client.so:net/avahi-app
USES= iconv pkgconfig python shebangfix gnome xorg
USE_GNOME= glib20
SHEBANG_FILES= cfg-data/Utils/all-in-1.py
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
OPTIONS_DEFINE= DOCS DBUS X11
OPTIONS_DEFAULT= DBUS X11
DBUS_CONFIGURE_ENABLE=dbus
DBUS_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib
X11_CONFIGURE_ENABLE=xtest
X11_USE= XORG=x11,xtst
MAKE_ARGS+= LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
@${REINPLACE_CMD} -e 's|(datadir)/man/man1|(mandir)/man1|g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|xtext|xtest|g' ${WRKSRC}/configure
post-patch-DOCS-on:
@${REINPLACE_CMD} -e '/doc\/${PORTNAME}/d' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>