summaryrefslogtreecommitdiff
path: root/sysutils/ucspi-unix/Makefile
blob: 22b134162c6277628c0b65822f1a7df699493e93 (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
# New ports collection makefile for:	ucspi-unix
# Date created:         23.Sep.2003
# Whom:                 patrick@rinke-bochum.de
#
# $FreeBSD$
#

PORTNAME=	ucspi-unix
PORTVERSION=	0.36
PORTREVISION=	3
CATEGORIES=	sysutils
MASTER_SITES=	http://untroubled.org/ucspi-unix/

MAINTAINER=	patrick@rinke-bochum.de
COMMENT=	UNIX-domain socket client-server command-line tools

BUILD_DEPENDS=	${LOCALBASE}/include/bglibs/sysdeps.h:${PORTSDIR}/devel/bglibs


MAN1=	unixclient.1 unixserver.1

post-patch:
	${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-home
	${ECHO_CMD} ${CC} ${CFLAGS} -I${LOCALBASE}/include/bglibs > ${WRKSRC}/conf-cc
	${ECHO_CMD} ${CC} ${LDFLAGS} -s -L${LOCALBASE}/lib > ${WRKSRC}/conf-ld
	${ECHO_CMD} ${PREFIX}/man > ${WRKSRC}/conf-man
	

do-install:
	cd ${WRKSRC} && ./installer

.include <bsd.port.mk>