freebsd-ports/misc/freeguide/Makefile
Jimmy Olgeni 168f57451a Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category M.

CR:		D306
Approved by:	portmgr (bapt)
2014-07-07 15:31:01 +00:00

40 lines
1.1 KiB
Makefile

# Created by: Stephen Hurd <shurd@FreeBSD.org>
# $FreeBSD$
PORTNAME= freeguide
PORTVERSION= 0.11
PORTREVISION= 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
RUN_DEPENDS= tv_cat:${PORTSDIR}/textproc/p5-xmltv
LICENSE= GPLv2
USE_JAVA= yes
JAVA_VERSION= 1.6+
USE_ANT= 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>