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