2014-06-18 22:18:11 +02:00
|
|
|
# Created by: Stephen Hurd <shurd@FreeBSD.org>
|
2005-11-01 22:41:24 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= freeguide
|
2010-08-04 16:26:16 +02:00
|
|
|
PORTVERSION= 0.11
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 1
|
2005-11-01 22:41:24 +01:00
|
|
|
CATEGORIES= misc java
|
2009-08-22 02:28:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}-tv/${PORTNAME}-source/${PORTVERSION}
|
2005-11-01 22:41:24 +01:00
|
|
|
|
2009-08-02 04:51:50 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-07-07 17:31:01 +02:00
|
|
|
COMMENT= Interactive TV guide which will create personalized TV listings
|
2005-11-01 22:41:24 +01:00
|
|
|
|
|
|
|
RUN_DEPENDS= tv_cat:${PORTSDIR}/textproc/p5-xmltv
|
|
|
|
|
2010-08-04 16:26:16 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2005-11-01 22:41:24 +01:00
|
|
|
USE_JAVA= yes
|
2012-12-10 14:43:43 +01:00
|
|
|
JAVA_VERSION= 1.6+
|
2005-11-01 22:41:24 +01:00
|
|
|
USE_ANT= yes
|
|
|
|
|
2014-06-08 18:04:21 +02:00
|
|
|
MAKE_ARGS= -Dinstall_share_dir=${STAGEDIR}${PREFIX}/share \
|
|
|
|
-Dinstall_man1_dir=${STAGEDIR}${MAN1PREFIX} \
|
2005-11-01 22:41:24 +01:00
|
|
|
-Dinstall_java_bin=${JAVA} \
|
|
|
|
-Dinstall_real_doc_dir=${DOCSDIR} \
|
2014-06-08 18:04:21 +02:00
|
|
|
-Dinstall_bin_dir=${STAGEDIR}${PREFIX}/bin \
|
|
|
|
-Dinstall_doc_dir=${STAGEDIR}${DOCSDIR} \
|
|
|
|
-Dinstall_java_share_dir=${STAGEDIR}${JAVASHAREDIR} \
|
|
|
|
-Dinstall_jar_dir=${STAGEDIR}${JAVAJARDIR}/freeguide
|
2010-08-04 16:26:16 +02:00
|
|
|
INSTALL_TARGET= install
|
2007-10-26 14:54:57 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} 's|__ANT_INSTALL_DIRECTORY__|${JAVAJARDIR}/freeguide|; \
|
|
|
|
s|=java|=${JAVA}|;' \
|
|
|
|
${WRKSRC}/install/linux/freeguide
|
2005-11-01 22:41:24 +01:00
|
|
|
|
|
|
|
do-install:
|
2007-10-26 14:54:57 +02:00
|
|
|
@(cd ${BUILD_WRKSRC}; \
|
|
|
|
${ANT} ${MAKE_ARGS} ${INSTALL_TARGET})
|
2005-11-01 22:41:24 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|