1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/misc/freeguide/Makefile
Mark Linimon bf43557044 For ports that are marked BROKEN on armv6, and also fail to build on
armv7, mark them so.

This is part two of a multipart commit to bring armv7 ports to parity
with armv6.

Approved by:	portmgr (tier-2 blanket)
Obtained from:	lonesome.com -exp run
2017-11-30 06:13:34 +00:00

45 lines
1.2 KiB
Makefile

# Created by: Stephen Hurd <shurd@FreeBSD.org>
# $FreeBSD$
PORTNAME= freeguide
PORTVERSION= 0.11.1
CATEGORIES= misc java
MASTER_SITES= SF/${PORTNAME}-tv/${PORTNAME}-source/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Interactive TV guide which will create personalized TV listings
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/doc/COPYING
RUN_DEPENDS= tv_cat:textproc/p5-xmltv
BROKEN_armv6= fails to package: freeguide.1.gz: No such file or directory
BROKEN_armv7= fails to package: freeguide.1.gz: No such file or directory
USE_JAVA= yes
JAVA_VERSION= 1.6+
USE_ANT= yes
NO_ARCH= yes
MAKE_ARGS= -Dinstall_share_dir=${STAGEDIR}${PREFIX}/share \
-Dinstall_man1_dir=${STAGEDIR}${MAN1PREFIX} \
-Dinstall_java_bin=${JAVA} \
-Dinstall_real_doc_dir=${DOCSDIR} \
-Dinstall_bin_dir=${STAGEDIR}${PREFIX}/bin \
-Dinstall_doc_dir=${STAGEDIR}${DOCSDIR} \
-Dinstall_java_share_dir=${STAGEDIR}${JAVASHAREDIR} \
-Dinstall_jar_dir=${STAGEDIR}${JAVAJARDIR}/freeguide
INSTALL_TARGET= install
post-patch:
@${REINPLACE_CMD} 's|__ANT_INSTALL_DIRECTORY__|${JAVAJARDIR}/freeguide|; \
s|=java|=${JAVA}|;' \
${WRKSRC}/install/linux/freeguide
do-install:
@(cd ${BUILD_WRKSRC} && \
${ANT} ${MAKE_ARGS} ${INSTALL_TARGET})
.include <bsd.port.mk>