aboutsummaryrefslogtreecommitdiffstats
path: root/net/tryst-examples/Makefile
blob: 14fb2d75c604f966a3a4fcbca0a9be60e5c60409 (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
# New ports collection makefile for:    tryst-examples
# Date created:         18 Dec 2006
# Whom:                 dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#

PORTNAME=   tryst
PORTVERSION=    1.0.8
PORTREVISION=   3
CATEGORIES= net gnustep
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= dinoex
PKGNAMESUFFIX=  -examples${PKGNAMESUFFIX2}
DISTNAME=   tryst-108pl6
EXTRACT_SUFX=   .tgz

MAINTAINER= dinoex@FreeBSD.org
COMMENT=    TBrowser and TChat

LIB_DEPENDS=    dns_sd:${PORTSDIR}/net/mDNSResponder

LICENSE_COMB=   dual
LICENSE=    BSD LGPL21
LICENSE_BSD_FILE=   ${WRKSRC}/Documentation/COPYING

USE_GNUSTEP=    yes
USE_GNUSTEP_BACK=   yes
USE_GNUSTEP_BUILD=  yes
USE_GNUSTEP_INSTALL=    yes
USE_GNUSTEP_LOCAL_LIBS+=    Tryst:${TRYST_PORT}

WRKSRC=     ${WRKDIR}/Tryst-108.pl6
USE_GNUSTEP_MAKE_DIRS+= Examples/TBrowser Examples/TChat

TRYST_PORT?=    net/tryst

.if defined(FETCH_MAKESUM)
MASTER_SITES=   http://gnustep.dyndns.org/Downloads/Frameworks/
.endif

# to build on 64bit
post-patch:
    ${REINPLACE_CMD} -e 's|-Werror||' \
        ${WRKSRC}/Examples/TChat/GNUmakefile.preamble

.include <bsd.port.mk>