aboutsummaryrefslogtreecommitdiffstats
path: root/net/serveez/Makefile
blob: b028afb4aeb208e72093a67e7f507466b6f552cc (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   serveez
PORTVERSION=    0.2.2
PORTREVISION=   1
CATEGORIES= net devel
MASTER_SITES=   GNU

MAINTAINER= ports@FreeBSD.org
COMMENT=    Server framework

LICENSE=    GPLv3 # (or later)

LIB_DEPENDS=    libguile.so:${PORTSDIR}/lang/guile

USES=       tar:xz libtool
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-libserveez-install
USE_LDCONFIG=   yes
INSTALL_TARGET= install-strip

INFO=       serveez

post-patch:
    @${REINPLACE_CMD} -e \
        '/^SUBDIRS/s|test||' ${WRKSRC}/Makefile.in
    @${REINPLACE_CMD} -e \
        '/date -r/s|^|#|' ${WRKSRC}/src/irc-server/Makefile.in
    @${ECHO_CMD} 'static char created[] = "2013-12-02 09:17 UTC";' \
        > ${WRKSRC}/src/irc-server/timestamp.c

.include <bsd.port.mk>