Bug 80096 - [MAINTAINER] mail/queue-fix: Forgot to set QMAIL_DIR var
Summary: [MAINTAINER] mail/queue-fix: Forgot to set QMAIL_DIR var
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-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-19 11:40 UTC by Renato Botelho
Modified: 2005-04-19 22:34 UTC (History)
0 users

See Also:


Attachments
queue-fix-1.4.patch (542 bytes, patch)
2005-04-19 11:40 UTC, Renato Botelho
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Renato Botelho 2005-04-19 11:40:19 UTC
- Forgot to set QMAIL_DIR var

Generated with FreeBSD Port Tools 0.63
Comment 1 Renato Botelho 2005-04-19 16:36:47 UTC
Please, use this patch that removes 3 lines pkg-plist and use PLIST_*
vars

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/queue-fix/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	18 Apr 2005 18:22:30 -0000	1.1
+++ Makefile	19 Apr 2005 15:34:29 -0000
@@ -15,17 +15,20 @@
 
 RUN_DEPENDS=	${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
 
+QMAIL_DIR?=	/var/qmail
+PREFIX?=	${QMAIL_DIR}
+
 OPTIONS=	BIG_TODO "Use big_todo patch" off
 
 CONFIGURE_SCRIPT=
 ALL_TARGET=
 
 PLIST_SUB=	DOCDIR=${DOCDIR}
+PLIST_FILES=	bin/queue-fix
 
-.if exists(${PREFIX}/qmail/bin/qmail-send)
-PREFIX?=	${PREFIX}/qmail
-.else
-PREFIX?=	/var/qmail
+.if !defined(NOPORTDOCS)
+PLIST_FILES+=	%%DOCDIR%%/README
+PLIST_DIRS+=	%%DOCDIR%%
 .endif
 
 .if (${PREFIX} == ${LOCALBASE})
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist	18 Apr 2005 18:22:30 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,4 +0,0 @@
-@comment $FreeBSD: ports/mail/queue-fix/pkg-plist,v 1.1 2005/04/18 18:22:30 pav Exp $
-bin/queue-fix
-%%PORTDOCS%%%%DOCDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCDIR%%
===> Done

Thanks
-- 
Renato Botelho <freebsd at galle dot com dot br>
AIM: RBGargaBR | ICQ: 54596223
GnuPG Key: http://www.galle.com.br/~renato/pubkey.asc

Renning's Maxim:
	Man is the highest animal.  Man does the classifying.
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2005-04-19 22:34:16 UTC
State Changed
From-To: open->closed

Committed, thanks!