aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ucspi-unix/Makefile
blob: 579218f3f33c73a79532df99e7324c72eb1f48ad (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
# 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=   2
CATEGORIES= sysutils
MASTER_SITES=   http://untroubled.org/ucspi-unix/

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

LIB_DEPENDS=    bglibs.1:${PORTSDIR}/devel/bglibs

USE_REINPLACE=yes

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>