aboutsummaryrefslogtreecommitdiffstats
path: root/german/unix-connect/Makefile
blob: 2c7910ec92224bc4ddea5987ac6a11da0ec539ea (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
# New ports collection makefile for:    unix-connect
# Date created:         01.May 1999
# Whom:                 dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#

PORTNAME=   unix-connect
PORTVERSION=    0.94
CATEGORIES= german comms news mail
MASTER_SITES=   ftp://ftp.dinoex.org/pub/unix-connect/ \
        ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= dinoex@freebsd.org
COMMENT=    Unix-Connect - mail+news-gateway for Zconnect (tm)

BUILD_DEPENDS=  lrz:${PORTSDIR}/comms/lrzsz

WRKSRC=     ${WRKDIR}/${DISTNAME}
#USE_GMAKE=     yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=--with-user=news
CONFIGURE_ARGS+=--with-group=dialer
CONFIGURE_ARGS+=--with-execdir=${PREFIX}/libexec/uconnect
CONFIGURE_ARGS+=--with-confdir=/etc/uconnect
CONFIGURE_ARGS+=--with-spooldir=/var/spool/uconnect
CONFIGURE_ARGS+=--with-mail=sendmail
CONFIGURE_ARGS+=--with-news=cnews
CONFIGURE_ARGS+=--enable-testing
CFLAGS+=    -g
CFLAGS:=    ${CFLAGS:S/-O[0-9]*//g} # gcc generates broken code in uwsmtp

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for i in README INSTALL TODO ChangeLog ChangeLog.configure
    ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
.endfor
    @${TAR} -C ${WRKSRC}/docs -cf - . | ${TAR} -C ${DOCSDIR} -xf -
.endif

.include <bsd.port.mk>