Bug 41864 - [PATCH] mail/getmail port: simplify Makefile
Summary: [PATCH] mail/getmail port: simplify Makefile
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-21 23:40 UTC by Sergei Kolobov
Modified: 2002-08-25 19:55 UTC (History)
1 user (show)

See Also:


Attachments
getmail.patch (922 bytes, patch)
2002-08-21 23:40 UTC, Sergei Kolobov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Kolobov 2002-08-21 23:40:01 UTC
Use EXAMPLESDIR to slightly simplify Makefile

How-To-Repeat: Patch included.
Comment 1 skolobov 2002-08-25 17:41:05 UTC
Reply from the port maintainer:

----- Forwarded message from Anders Andersson <anders@hack.org> -----

Date: Sat, 24 Aug 2002 22:25:15 +0200
From: Anders Andersson <anders@hack.org>
To: Sergei Kolobov <sergei@kolobov.com>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: [PATCH] mail/getmail port: simplify Makefile
Message-ID: <20020824202515.GB82664@sushi.sanyusan.se>
References: <20020821223319.756.qmail@outpost.globcon.net>
In-Reply-To: <20020821223319.756.qmail@outpost.globcon.net>

On Wed, Aug 21, 2002 at 10:33:19PM -0000, Sergei Kolobov wrote:
> 
> >Submitter-Id:	current-users
> >Originator:	Sergei Kolobov
> >Organization:	
> >Confidential:	no 
> >Synopsis:	[PATCH] mail/getmail port: simplify Makefile
> >Severity:	non-critical
> >Priority:	low
> >Category:	ports
> >Class:		change-request
> >Release:	FreeBSD 4.6-STABLE i386
> >Environment:
> System: FreeBSD outpost.globcon.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Aug 1 02:44:26 MSD 2002 sgk@outpost.globcon.net:/data/FreeBSD/obj/data/FreeBSD/src/sys/OUTPOST i386
> >Description:
> Use EXAMPLESDIR to slightly simplify Makefile
> >How-To-Repeat:
> Patch included.
> >Fix:
> --- getmail.patch begins here ---
> diff -ruN getmail.orig/Makefile getmail/Makefile
> --- getmail.orig/Makefile	Wed Aug 21 13:26:02 2002
> +++ getmail/Makefile	Wed Aug 21 13:28:14 2002
> @@ -17,6 +17,8 @@
>  USE_REINPLACE=	yes
>  NO_BUILD=	yes
>  
> +DOCS=		CHANGELOG docs.txt faq.txt getmail.txt
> +
>  post-patch:
>  	@${REINPLACE_CMD} -e 's!/usr/lib/getmail!${DATADIR}!' \
>  		-e 's!`which python`!${PYTHON_CMD}!' ${WRKSRC}/getmail
> @@ -25,12 +27,11 @@
>  	${INSTALL_SCRIPT} ${WRKSRC}/getmail ${PREFIX}/bin
>  	@${MKDIR} ${DATADIR}
>  	${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR}
> -	@${MKDIR} ${PREFIX}/share/examples/getmail
> -	${INSTALL_DATA} ${WRKSRC}/getmailrc-example \
> -		${PREFIX}/share/examples/getmail
> +	@${MKDIR} ${EXAMPLEDIR}
> +	${INSTALL_DATA} ${WRKSRC}/getmailrc-example ${EXAMPLEDIR}
>  .if !defined(NOPORTDOCS)
>  	@${MKDIR} ${DOCSDIR}
> -.for file in CHANGELOG docs.txt faq.txt getmail.txt
> +.for file in ${DOCS}
>  	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
>  .endfor
>  .endif
> --- getmail.patch ends here ---

This has my approval as MAINTAINER to commit.

Anders
-- 
Anders Andersson
<anders at hack.org>

----- End forwarded message -----
Comment 2 Pete Fritchman freebsd_committer freebsd_triage 2002-08-25 19:55:39 UTC
State Changed
From-To: open->closed

Committed with a minor fix (EXAMPLEDIR->EXAMPLESDIR), thanks.