Skip site navigation (1)Skip section navigation (2)
Date:      21 Aug 2002 22:33:19 -0000
From:      Sergei Kolobov <sergei@kolobov.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        anders@hack.org
Subject:   ports/41864: [PATCH] mail/getmail port: simplify Makefile
Message-ID:  <20020821223319.756.qmail@outpost.globcon.net>

Next in thread | Raw E-Mail | Index | Archive | Help

>Number:         41864
>Category:       ports
>Synopsis:       [PATCH] mail/getmail port: simplify Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 21 15:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Kolobov
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>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 ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20020821223319.756.qmail>