1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/misc/freeguide/Makefile
Baptiste Daroussin 9c526f7217 Decommissioning java 1.5 (EOLed since October 2009):
suppress any reference to JAVA_VERSION=	1.5+ (part3)
2012-12-10 13:43:43 +00:00

43 lines
1.0 KiB
Makefile

# Created by: Stephen Hurd <shurd@sasktel.net>
# $FreeBSD$
PORTNAME= freeguide
PORTVERSION= 0.11
PORTREVISION= 1
CATEGORIES= misc java
MASTER_SITES= SF/${PORTNAME}-tv/${PORTNAME}-source/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= An interactive TV guide which will create personalized TV listings
RUN_DEPENDS= tv_cat:${PORTSDIR}/textproc/p5-xmltv
LICENSE= GPLv2
USE_JAVA= yes
JAVA_VERSION= 1.6+
USE_ANT= yes
MANCOMPRESSED= yes
MAN1= freeguide.1
MAKE_ARGS= -Dinstall_share_dir=${PREFIX}/share \
-Dinstall_man1_dir=${MAN1PREFIX} \
-Dinstall_java_bin=${JAVA} \
-Dinstall_real_doc_dir=${DOCSDIR} \
-Dinstall_bin_dir=${PREFIX}/bin \
-Dinstall_doc_dir=${DOCSDIR} \
-Dinstall_java_share_dir=${JAVASHAREDIR} \
-Dinstall_jar_dir=${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>