Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2014 01:59:23 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r345306 - in head/mail/procmail: . files
Message-ID:  <201402210159.s1L1xN4v074354@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Fri Feb 21 01:59:23 2014
New Revision: 345306
URL: http://svnweb.freebsd.org/changeset/ports/345306
QAT: https://qat.redports.org/buildarchive/r345306/

Log:
  - Stage support

Modified:
  head/mail/procmail/Makefile
  head/mail/procmail/files/patch-aa

Modified: head/mail/procmail/Makefile
==============================================================================
--- head/mail/procmail/Makefile	Fri Feb 21 01:59:15 2014	(r345305)
+++ head/mail/procmail/Makefile	Fri Feb 21 01:59:23 2014	(r345306)
@@ -19,16 +19,16 @@ COMMENT=	Local mail delivery agent
 
 INSTALL_TARGET=	install-suid install.man
 
-MAN1=		formail.1 lockfile.1 procmail.1
-MAN5=		procmailex.5 procmailrc.5 procmailsc.5
-PLIST_FILES=	bin/formail bin/lockfile bin/mailstat bin/procmail
+PLIST_FILES=	bin/formail bin/lockfile bin/mailstat bin/procmail \
+		man/man1/formail.1.gz man/man1/lockfile.1.gz \
+		man/man1/procmail.1.gz man/man5/procmailex.5.gz \
+		man/man5/procmailrc.5.gz man/man5/procmailsc.5.gz
 PORTDOCS=	FAQ FEATURES HISTORY KNOWN_BUGS README
 PORTEXAMPLES=	1procmailrc 1rmail 2procmailrc 2rmail 3procmailrc 3rmail \
 		advanced dirname forward local_procmail_lmtp.m4 mailstat
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-patch:
@@ -38,13 +38,9 @@ post-patch:
 		-E 's|cd (.+); (\$$\(MAKE\))|\2 -C \1|'
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
-	${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${EXAMPLESDIR}
-.endif
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/mail/procmail/files/patch-aa
==============================================================================
--- head/mail/procmail/files/patch-aa	Fri Feb 21 01:59:15 2014	(r345305)
+++ head/mail/procmail/files/patch-aa	Fri Feb 21 01:59:23 2014	(r345306)
@@ -13,7 +13,7 @@
   
   # BASENAME should point to where the whole lot will be installed
   # change BASENAME to your home directory if need be
-! BASENAME      = $(PREFIX)
+! BASENAME      = $(DESTDIR)$(PREFIX)
   # For display in the man pages
   VISIBLE_BASENAME= $(BASENAME)
   



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