Date: Fri, 15 Feb 2013 07:21:50 GMT From: Jason Helfman <jgh@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/176157: [patch] mail/archivemail: adoption of optionsNG Message-ID: <201302150721.r1F7LoOW038713@freefall.freebsd.org> Resent-Message-ID: <201302150730.r1F7U0Gu038852@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 176157 >Category: ports >Synopsis: [patch] mail/archivemail: adoption of optionsNG >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Feb 15 07:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Jason Helfman >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD freefall.freebsd.org 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r245102: Sun Jan 6 15:01:33 UTC 2013 root@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL amd64 >Description: adoption of optionsNG for DOCS and EXAMPLES trim historical header >How-To-Repeat: >Fix: Index: Makefile =================================================================== --- Makefile (revision 312275) +++ Makefile (working copy) @@ -1,9 +1,5 @@ -# New ports collection makefile for: archivemail -# Date created: 2002/04/02 -# Whom: Alan Eldridge <alane@FreeBSD.org> -# +# Created by: Alan Eldridge <alane@FreeBSD.org> # $FreeBSD$ -# PORTNAME= archivemail PORTVERSION= 0.9.0 @@ -19,13 +15,15 @@ DOCS= CHANGELOG FAQ NEWS README TODO EXAMPLES= test_archivemail examples/archivemail_all +.include <bsd.port.options.mk> + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/archivemail ${PREFIX}/bin/archivemail -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${EXAMPLESDIR} cd ${WRKSRC} && ${INSTALL_SCRIPT} ${EXAMPLES} ${EXAMPLESDIR} .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302150721.r1F7LoOW038713>