summaryrefslogtreecommitdiff
path: root/security/slush/Makefile
blob: 855acd080473d0c3f53e9501b9a34a8f03da0254 (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
# Ports collection makefile for:  slush
# Version required:     	  0.1.0
# Date created:			  Sun May 3, 1999
# Whom:                 	shipley@dis.org
#
# $Id: Makefile,v 1.2 1999/05/09 17:53:12 steve Exp $
#

DISTNAME=	slush-0.1.1
CATEGORIES=	security net
MASTER_SITES=	http://violet.ibs.com.au/slush/files/ \
		ftp://www.dis.org/pub/Security/

MAINTAINER=	shipley@dis.org

BUILD_DEPENDS=	openssl:${PORTSDIR}/security/openssl

#MAN=		slush.1

GNU_CONFIGURE=	yes

#NOPROFILE=	true

.include <bsd.port.pre.mk>
.if ${OSVERSION} <= 300000
BROKEN=		does not build
.endif

.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
MAKE_ENV+=	EXTRA_SSL_LIBS="-lRSAglue -lrsaref"
.endif

do-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/slush
	${INSTALL_MAN} ${WRKSRC}/control.txt ${PREFIX}/share/doc/slush
	${INSTALL_MAN} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/slush
	${INSTALL_MAN} ${WRKSRC}/HISTORY ${PREFIX}/share/doc/slush
	${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/slush
	${INSTALL_MAN} ${WRKSRC}/COPYING ${PREFIX}/share/doc/slush
.endif
	${INSTALL_PROGRAM} ${WRKSRC}/slush ${PREFIX}/bin/slush
	${INSTALL_PROGRAM} ${WRKSRC}/slushd ${PREFIX}/sbin/slushd

.include <bsd.port.post.mk>