summaryrefslogtreecommitdiff
path: root/misc/ftree/Makefile
blob: bd47cc2155661aba91c8d700a0adf3c11c5adfbf (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
49
50
51
# New ports collection makefile for:	ftree
# Date created:				20 November 2000
# Whom:					Kim Scarborough <user@unknown.nu>
#
# $FreeBSD$
#

PORTNAME=	ftree
PORTVERSION=	1.7
CATEGORIES=	misc linux
MASTER_SITES=	http://www.vjet.demon.co.uk/ftree/ \
		http://www.unknown.nu/ports/
DISTNAME=	${PORTNAME}-${PORTVERSION}-static
EXTRACT_SUFX=	.tgz

MAINTAINER=	user@unknown.nu
COMMENT=	An X11 genealogy program

RUN_DEPENDS=	/compat/linux/lib/libc.so.6:${PORTSDIR}/emulators/linux_base

ONLY_FOR_ARCHS=	i386
NO_CDROM=	Non-commercial use only
RESTRICTED=	Non-commercial use only

WRKSRC=		${WRKDIR}/usr
MAN1=		ftree.1

STRIP=		# empty: do not strip linux binary!

do-patch:
do-configure:
do-build:
	brandelf -t Linux ${WRKSRC}/X11R6/bin/ftree
do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/X11R6/bin/ftree ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/X11R6/man/man1/ftree.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}/examples
	${INSTALL_DATA} ${WRKSRC}/doc/ftree-${PORTVERSION}/Copyright ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/ftree-${PORTVERSION}/ReleaseNotes-${PORTVERSION}.txt ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/ftree-${PORTVERSION}/examples/royal.ged ${DOCSDIR}/examples
.endif

pre-install:
	@${ECHO}
	@${ECHO} "This software is licensed for NON-COMMERCIAL USE only. If you intend"
	@${ECHO} "to use ftree for any commercial purpose you must contact the author"
	@${ECHO} "at ftree@vjet.demon.co.uk for a license arrangement."
	@${ECHO}

.include <bsd.port.mk>