1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/mail/nullmailer/Makefile
Greg Larkin 7c25b89c78 - Moved a bunch of chmod and chown commands from Makefile to pkg-plist now
that PR 152498 has been committed [1]
- Other minor Makefile cleanups

Suggested by:	Jason Helfman <jhelfman@e-e.com> [1]
2011-05-17 18:58:49 +00:00

58 lines
1.3 KiB
Makefile

# Ports collection makefile for: nullmailer
# Date created: Tue Jan 30 2001
# Whom: clive
#
# $FreeBSD$
#
PORTNAME= nullmailer
PORTVERSION= 1.05
PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= mail
MASTER_SITES= http://untroubled.org/nullmailer/ \
http://untroubled.org/nullmailer/archive/
MASTER_SITE_SUBDIR= ${PORTVERSION}
MAINTAINER= glarkin@FreeBSD.org
COMMENT= MTA for hosts which relay to a fixed set of smart relays
LOCALSTATEDIR= /var/spool
.if defined(MAINTAINER_MODE)
UID_FILES+= ../../UIDs
GID_FILES+= ../../GIDs
.endif
USERS= nullmail
GROUPS= nullmail
NULLMAIL_UID= 522
NULLMAIL_GID= 522
LICENSE= GPLv2
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --localstatedir=${LOCALSTATEDIR}
USE_SUBMAKE= yes
USE_RC_SUBR= ${PORTNAME}
SUB_FILES+= pkg-install pkg-deinstall pkg-message
PKGINSTALL= ${WRKDIR}/pkg-install
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
post-install:
@cd ${WRKSRC} && ${MAKE} install-root
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${INSTALL_DATA} -c ${FILESDIR}/remotes.sample ${ETCDIR}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>