1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/mail/bsmtp/Makefile
Christian Weisgerber 4b6a859a6a * Deal with UUCP having moved to ports in -CURRENT.
* Bump port revision.
2001-11-15 23:03:46 +00:00

40 lines
916 B
Makefile

# New ports collection makefile for: bsmtp
# Date created: 2000-10-05
# Whom: Christian Weisgerber <naddy@mips.inka.de>
#
# $FreeBSD$
PORTNAME= bsmtp
PORTVERSION= 1.02
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.stud.uni-karlsruhe.de/~uk1o/bsmtp/
MAINTAINER= naddy@FreeBSD.org
WRKSRC= ${WRKDIR}/${PORTNAME}
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --redo
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500024
UUPREFIX= /usr
.else
RUN_DEPENDS= ${LOCALBASE}/bin/uux:${PORTSDIR}/net/freebsd-uucp
UUPREFIX= ${LOCALBASE}
.endif
pre-configure:
@${SED} <${FILESDIR}/config.sed >${WRKSRC}/config.sed \
-e 's:%%CC%%:${CC}:' \
-e 's:%%CFLAGS%%:${CFLAGS}:' \
-e 's:%%PREFIX%%:${PREFIX}:' \
-e 's:%%UUPREFIX%%:${UUPREFIX}:'
post-install:
${MKDIR} ${PREFIX}/share/doc/bsmtp
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/bsmtp/
.include <bsd.port.post.mk>