Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2019 14:52:06 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r517827 - head/mail/spfmilter
Message-ID:  <201911171452.xAHEq6Rx066464@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Nov 17 14:52:05 2019
New Revision: 517827
URL: https://svnweb.freebsd.org/changeset/ports/517827

Log:
  - Simplify the port by dropping NO_MTREE
  
  PR:		241740
  Submitted by:	amdmi3
  Approved by:	leres (maintianer)

Modified:
  head/mail/spfmilter/Makefile

Modified: head/mail/spfmilter/Makefile
==============================================================================
--- head/mail/spfmilter/Makefile	Sun Nov 17 14:50:03 2019	(r517826)
+++ head/mail/spfmilter/Makefile	Sun Nov 17 14:52:05 2019	(r517827)
@@ -16,7 +16,6 @@ LIB_DEPENDS=	libmilter.so:mail/libmilter
 
 USES=		cpe
 GNU_CONFIGURE=	yes
-NO_MTREE=	yes
 CPE_VENDOR=	acme
 
 OPTIONS_DEFAULT=	LIBSPF2
@@ -31,15 +30,11 @@ LIBSPF2_DESC=	Use the libspf2 Sender Policy Framework 
 
 PLIST_FILES=	libexec/spfmilter \
 		etc/rc.d/spfmilter \
-		man/man8/spfmilter.8.gz
+		man/man8/spfmilter.8.gz \
+		"@dir /var/run/spfmilter"
 
-DIRS=	${PREFIX}/libexec \
-	${PREFIX}/etc/rc.d \
-	${MANPREFIX}/man/man8 \
-	/var/run/spfmilter
-
 do-install:
-	${MKDIR} ${DIRS:S,^,${STAGEDIR},}
+	@${MKDIR} ${STAGEDIR}/var/run/spfmilter
 	${INSTALL_PROGRAM} ${WRKSRC}/spfmilter ${STAGEDIR}${PREFIX}/libexec
 	${INSTALL_SCRIPT} ${WRKSRC}/rc_scripts/freebsd ${STAGEDIR}${PREFIX}/etc/rc.d/spfmilter
 	${INSTALL_MAN} ${WRKSRC}/spfmilter.8 ${STAGEDIR}${MANPREFIX}/man/man8



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