summaryrefslogtreecommitdiff
path: root/net/stone/Makefile
blob: 1dc0becc6fb8bd0e715ab3db0755367f0c74ff74 (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
# New ports collection makefile for:	stone
# Date created:		25 April 2001
# Whom:			Yoshihiko Sarumaru <mistral@imasy.or.jp>
#
# $FreeBSD$
#

PORTNAME=	stone
PORTVERSION=	2.1d
CATEGORIES=	net
MASTER_SITES=	http://www.gcd.org/sengoku/stone/

MAINTAINER=	mistral@imasy.or.jp

MAN1=		${PORTNAME}.1
MANLANG=	"" ja

.include <bsd.port.pre.mk>

pre-patch:
.if exists(/usr/bin/openssl)
ALL_TARGET=	bsd-ssl
EXTRA_PATCHES=	${FILESDIR}/base.patch
.elif exists(${PREFIX}/bin/openssl)
ALL_TARGET=	bsd-ssl
EXTRA_PATCHES=	${FILESDIR}/ports.patch
.else
ALL_TARGET=	bsd-pop
	@${ECHO} "You can build stone with SSL support by installing OpenSSL."
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/stone ${PREFIX}/bin/stone
	${INSTALL_MAN} ${WRKSRC}/stone.1 ${PREFIX}/man/man1/stone.1
	${INSTALL_MAN} ${WRKSRC}/stone.1.ja ${PREFIX}/man/ja/man1/stone.1

.include <bsd.port.post.mk>