blob: 8a7b4ddb41a52375fd241c99f793a58ed1cf5a65 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# New ports collection makefile for: freeguide
# Date Created: 27 October 2005
# Whom: Stephen Hurd <shurd@sasktel.net>
#
# $FreeBSD$
# $Carpetsmoker: ports/misc/freeguide/Makefile,v 1.1 2007/10/12 12:28:45 carpetsmoker Exp $
#
PORTNAME= freeguide
PORTVERSION= 0.10.5
CATEGORIES= misc java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= freeguide-tv
MAINTAINER= carpetsmoker@xs4all.nl
COMMENT= An interactive TV guide which will create personalized TV listings
RUN_DEPENDS= tv_cat:${PORTSDIR}/textproc/p5-xmltv
USE_JAVA= yes
USE_JIKES= no
JAVA_VERSION= 1.4+
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-linux
post-patch:
@${REINPLACE_CMD} 's|__ANT_INSTALL_DIRECTORY__|${JAVAJARDIR}/freeguide|; \
s|=java|=${JAVA}|;' \
${WRKSRC}/install/linux/freeguide
@${REINPLACE_CMD} 's|install_share_dir}/man|install_man1_dir}/man|g' \
${WRKSRC}/ant/install-linux.xml
do-install:
@(cd ${BUILD_WRKSRC}; \
${ANT} ${MAKE_ARGS} ${INSTALL_TARGET})
.include <bsd.port.mk>
|