aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2014-07-29 06:44:57 +0800
committerwg <wg@FreeBSD.org>2014-07-29 06:44:57 +0800
commitfc838ff81629b39ed33356ea0651923dff7941c6 (patch)
treee28b05a7064d55b8ce3dbce8ab358a0b8d7f34bb /mail
parent6051de4248aa7ab73f17711791f8bca2692c2ad2 (diff)
downloadfreebsd-ports-gnome-fc838ff81629b39ed33356ea0651923dff7941c6.tar.gz
freebsd-ports-gnome-fc838ff81629b39ed33356ea0651923dff7941c6.tar.zst
freebsd-ports-gnome-fc838ff81629b39ed33356ea0651923dff7941c6.zip
mail/nullmailer: support stage
- Pass maintainership to submitter PR: 192217 Submitted by: uffe uffe org
Diffstat (limited to 'mail')
-rw-r--r--mail/nullmailer/Makefile15
-rw-r--r--mail/nullmailer/pkg-plist7
2 files changed, 8 insertions, 14 deletions
diff --git a/mail/nullmailer/Makefile b/mail/nullmailer/Makefile
index 044256eb79dd..ebf6614e497b 100644
--- a/mail/nullmailer/Makefile
+++ b/mail/nullmailer/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= http://untroubled.org/nullmailer/ \
http://untroubled.org/nullmailer/archive/
MASTER_SITE_SUBDIR= ${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= uffe@uffe.org
COMMENT= MTA for hosts which relay to a fixed set of smart relays
LICENSE= GPLv2
@@ -39,14 +39,8 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
PLIST_SUB+= LOCALSTATEDIR=${LOCALSTATEDIR} NULLMAIL_USER=${USERS}
SUB_LIST+= LOCALSTATEDIR=${LOCALSTATEDIR} NULLMAIL_USER=${USERS}
-MAN1= nullmailer-inject.1 sendmail.1
-MAN7= nullmailer.7
-MAN8= nullmailer-queue.8 nullmailer-send.8
-
-
OPTIONS_DEFINE= GNUTLS
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGNUTLS}
@@ -60,10 +54,7 @@ CONFIGURE_ARGS+=--disable-tls
.endif
post-install:
- @cd ${WRKSRC} && ${MAKE} install-root
-
- @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
- ${INSTALL_DATA} -c ${FILESDIR}/remotes.sample ${ETCDIR}
- @${CAT} ${PKGMESSAGE}
+ ${INSTALL_DATA} -c ${FILESDIR}/remotes.sample ${STAGEDIR}${ETCDIR}
+ ${ECHO} 'hostname' > ${STAGEDIR}${ETCDIR}/me.sample
.include <bsd.port.mk>
diff --git a/mail/nullmailer/pkg-plist b/mail/nullmailer/pkg-plist
index fdcc63b24b83..51963d4106cf 100644
--- a/mail/nullmailer/pkg-plist
+++ b/mail/nullmailer/pkg-plist
@@ -10,6 +10,11 @@ sbin/nullmailer-queue
@exec chmod u+s %D/sbin/nullmailer-queue
@exec chown %%NULLMAIL_USER%% %D/sbin/nullmailer-queue
sbin/nullmailer-send
+man/man1/nullmailer-inject.1.gz
+man/man1/sendmail.1.gz
+man/man7/nullmailer.7.gz
+man/man8/nullmailer-queue.8.gz
+man/man8/nullmailer-send.8.gz
%%ETCDIR%%/me.sample
%%ETCDIR%%/remotes.sample
@dirrm libexec/nullmailer
@@ -28,6 +33,4 @@ sbin/nullmailer-send
@exec chmod 600 %%LOCALSTATEDIR%%/nullmailer/trigger
@exec chown %%NULLMAIL_USER%%:%%NULLMAIL_USER%% %%LOCALSTATEDIR%%/nullmailer/trigger
@unexec rm -f %%LOCALSTATEDIR%%/nullmailer/trigger
-@ignore
-%%LOCALSTATEDIR%%/nullmailer/trigger
@dirrmtry %%LOCALSTATEDIR%%/nullmailer