2001-08-18 22:57:05 +02:00
|
|
|
# New ports collection makefile for: unix-connect
|
|
|
|
# Date created: 01.May 1999
|
|
|
|
# Whom: dirk.meyer@dinoex.sub.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2002-06-08 09:01:06 +02:00
|
|
|
#
|
2001-08-18 22:57:05 +02:00
|
|
|
|
|
|
|
PORTNAME= unix-connect
|
2002-06-08 09:01:06 +02:00
|
|
|
PORTVERSION= 0.94
|
2001-08-18 22:57:05 +02:00
|
|
|
CATEGORIES= german comms news mail
|
|
|
|
MASTER_SITES= ftp://ftp.dinoex.org/pub/unix-connect/ \
|
|
|
|
${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2003-03-04 21:02:46 +01:00
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
2003-02-20 19:26:42 +01:00
|
|
|
COMMENT= Unix-Connect - mail+news-gateway for Zconnect (tm)
|
2001-08-18 22:57:05 +02:00
|
|
|
|
2001-08-25 08:13:05 +02:00
|
|
|
BUILD_DEPENDS= lrz:${PORTSDIR}/comms/lrzsz
|
|
|
|
|
2001-08-20 08:36:29 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
2001-08-18 22:57:05 +02:00
|
|
|
#USE_GMAKE= yes
|
2002-01-28 08:31:04 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2001-08-18 22:57:05 +02:00
|
|
|
CONFIGURE_ARGS+=--with-user=news
|
|
|
|
CONFIGURE_ARGS+=--with-group=dialer
|
|
|
|
CONFIGURE_ARGS+=--with-execdir=${PREFIX}/libexec/uconnect
|
2003-04-05 10:08:08 +02:00
|
|
|
CONFIGURE_ARGS+=--with-confdir=${PREFIX}/etc/uconnect
|
2001-08-18 22:57:05 +02:00
|
|
|
CONFIGURE_ARGS+=--with-spooldir=/var/spool/uconnect
|
|
|
|
CONFIGURE_ARGS+=--with-mail=sendmail
|
|
|
|
CONFIGURE_ARGS+=--with-news=cnews
|
|
|
|
CONFIGURE_ARGS+=--enable-testing
|
2003-01-22 20:14:08 +01:00
|
|
|
CFLAGS+= -g
|
|
|
|
CFLAGS:= ${CFLAGS:S/-O[0-9]*//g} # gcc generates broken code in uwsmtp
|
2001-08-18 22:57:05 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2002-01-06 00:43:13 +01:00
|
|
|
${MKDIR} ${DOCSDIR}
|
2001-08-18 22:57:05 +02:00
|
|
|
.for i in README INSTALL TODO ChangeLog ChangeLog.configure
|
2002-01-06 00:43:13 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
|
2001-08-18 22:57:05 +02:00
|
|
|
.endfor
|
2002-01-06 00:43:13 +01:00
|
|
|
@${TAR} -C ${WRKSRC}/docs -cf - . | ${TAR} -C ${DOCSDIR} -xf -
|
2001-08-18 22:57:05 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|