Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 2020 07:44:50 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r548591 - head/mail/smtptrapd
Message-ID:  <202009140744.08E7iomO033301@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Sep 14 07:44:50 2020
New Revision: 548591
URL: https://svnweb.freebsd.org/changeset/ports/548591

Log:
  Use standard plist mecanism to create directories installed of a pkg-install script

Deleted:
  head/mail/smtptrapd/pkg-install
Modified:
  head/mail/smtptrapd/Makefile

Modified: head/mail/smtptrapd/Makefile
==============================================================================
--- head/mail/smtptrapd/Makefile	Mon Sep 14 06:55:04 2020	(r548590)
+++ head/mail/smtptrapd/Makefile	Mon Sep 14 07:44:50 2020	(r548591)
@@ -3,6 +3,7 @@
 
 PORTNAME=	smtptrapd
 PORTVERSION=	1.6
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	SF
 
@@ -11,13 +12,17 @@ COMMENT=	RFC 2821 compliant SMTP service that always r
 
 USE_RC_SUBR=	smtptrapd
 
-PLIST_FILES=	bin/smtptrapd
+LICENSE=	GPLv2
 
+PLIST_FILES=	bin/smtptrapd \
+		"@dir(,,0755) /var/run/smtptrapd-root"
+
 do-build:
 	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
 		${CC} ${CFLAGS} -lpthread -o smtptrapd smtptrapd.c
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/smtptrapd ${STAGEDIR}${PREFIX}/bin/
+	${MKDIR} ${STAGEDIR}/var/run/smtptrapd-root
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009140744.08E7iomO033301>