aboutsummaryrefslogtreecommitdiffstats
path: root/net/serveez/Makefile
blob: 2e3636b138a0b083c599e61a1263374667587418 (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
# ex:ts=8
# Ports collection makefile for:    serveez
# Date created:         May 16, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   serveez
PORTVERSION=    0.1.5
PORTREVISION=   1
CATEGORIES= net devel
MASTER_SITES=   ftp://gatekeeper.dec.com/pub/GNU/serveez/ \
        http://www.textsure.net/~ela/download/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A server framework

LIB_DEPENDS=    guile.15:${PORTSDIR}/lang/guile
.if !exists(/usr/bin/bzip2)
LIB_DEPENDS+=   bz2.1:${PORTSDIR}/archivers/bzip2
.endif

GUILE_CONFIG?=  ${LOCALBASE}/bin/guile-config

USE_GETOPT_LONG=    yes
USE_GMAKE=  yes
USE_LIBTOOL_VER=15
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
INSTALLS_SHLIB= yes
USE_REINPLACE=  yes

MAN1=   serveez.1 serveez-config.1
INFO=   serveez serveez-api

CPPFLAGS=   `${GUILE_CONFIG} compile`
LDFLAGS=    `${GUILE_CONFIG} link`

post-patch:
    @${REINPLACE_CMD} -e 's|-release||g' \
        ${WRKSRC}/src/libserveez/Makefile.in

.include <bsd.port.mk>