aboutsummaryrefslogtreecommitdiffstats
path: root/comms/anyremote/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/anyremote/Makefile')
-rw-r--r--comms/anyremote/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/comms/anyremote/Makefile b/comms/anyremote/Makefile
index 6e44ae1cc2b2..7a22e0e3d9ea 100644
--- a/comms/anyremote/Makefile
+++ b/comms/anyremote/Makefile
@@ -6,20 +6,17 @@
#
PORTNAME= anyremote
-PORTVERSION= 4.15
+PORTVERSION= 4.18.1
CATEGORIES= comms
MASTER_SITES= SF
MAINTAINER= samm@os2.kiev.ua
-COMMENT= Remote control service over Bluetooth,infrared or tcp/ip networking
+COMMENT= Remote control service over Bluetooth, infrared or tcp/ip networking
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-.if defined(NOPORTDOCS)
-EXTRA_PATCHES= ${FILESDIR}/opt-nodocs-patch
-.endif
.if defined(WITHOUT_X11)
CONFIGURE_ARGS+=--disable-xtest
.else
@@ -30,9 +27,11 @@ MAKE_ARGS+= LDFLAGS="-L${LOCALBASE}/lib"
MAN1= anyremote.1
MANCOMPRESSED= yes
-pre-build:
- cd ${WRKSRC} && ${MAKE} clean
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.mk>