diff options
author | naddy <naddy@FreeBSD.org> | 2001-11-16 07:03:46 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2001-11-16 07:03:46 +0800 |
commit | 45eba1a8904a13748327ef513f80a40f6276fde8 (patch) | |
tree | 84c6c108b7f617f9cf77b73581b9c911aa2eec18 /mail | |
parent | 473278559a3f2d8fa1b309ff0f5509fc01da0c14 (diff) | |
download | freebsd-ports-gnome-45eba1a8904a13748327ef513f80a40f6276fde8.tar.gz freebsd-ports-gnome-45eba1a8904a13748327ef513f80a40f6276fde8.tar.zst freebsd-ports-gnome-45eba1a8904a13748327ef513f80a40f6276fde8.zip |
* Deal with UUCP having moved to ports in -CURRENT.
* Bump port revision.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/bsmtp/Makefile | 15 | ||||
-rw-r--r-- | mail/bsmtp/files/config.sed | 2 |
2 files changed, 14 insertions, 3 deletions
diff --git a/mail/bsmtp/Makefile b/mail/bsmtp/Makefile index 9a76a16c48b7..9a199323a038 100644 --- a/mail/bsmtp/Makefile +++ b/mail/bsmtp/Makefile @@ -6,6 +6,7 @@ PORTNAME= bsmtp PORTVERSION= 1.02 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.stud.uni-karlsruhe.de/~uk1o/bsmtp/ @@ -15,14 +16,24 @@ 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:%%PREFIX%%:${PREFIX}:' \ + -e 's:%%UUPREFIX%%:${UUPREFIX}:' post-install: ${MKDIR} ${PREFIX}/share/doc/bsmtp ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/bsmtp/ -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/mail/bsmtp/files/config.sed b/mail/bsmtp/files/config.sed index 88447bcc976c..d083dc5d4624 100644 --- a/mail/bsmtp/files/config.sed +++ b/mail/bsmtp/files/config.sed @@ -5,7 +5,7 @@ s,@SH@,/bin/sh, s,@GZIP@,/usr/bin/gzip, s,@PERL@,/usr/bin/perl, s,@COMPRESS@,/usr/bin/compress, -s,@UUX@,/usr/bin/uux, +s,@UUX@,%%UUPREFIX%%/bin/uux, s,@SENDMAIL@,/usr/sbin/sendmail, s,@CFLAGS@,%%CFLAGS%%, s,@PRIVBINDIR@,%%PREFIX%%/libexec, |