1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/comms/anyremote/Makefile
Martin Wilke e74e7e0f95 - Fix shebangs
Submitted by:	Jochen Neumeister
2017-04-28 12:34:53 +00:00

43 lines
1.0 KiB
Makefile

# Created by: Alex Samorukov <samm@os2.kiev.ua>
# $FreeBSD$
PORTNAME= anyremote
PORTVERSION= 6.3.2
PORTREVISION= 3
CATEGORIES= comms
MASTER_SITES= SF
MAINTAINER= samm@os2.kiev.ua
COMMENT= Remote control service over Bluetooth, infrared, or TCP/IP networking
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= alias iconv pkgconfig python shebangfix
SHEBANG_FILES= cfg-data/Utils/imdb-mf.sh \
cfg-data/Utils/all-in-1.py
USE_GNOME= glib20
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
LIB_DEPENDS+= libdbus-1.so:devel/dbus
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>