ports/50516: [MAINTAINER] Update mail/qconfirm to 0.9.2

Sergei Kolobov sergei at kolobov.com
Tue Apr 1 09:50:10 UTC 2003


>Number:         50516
>Category:       ports
>Synopsis:       [MAINTAINER] Update mail/qconfirm to 0.9.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 01 01:50:07 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Kolobov
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD outpost.globcon.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Thu Jan  2 03:13:48 MSK
>Description:
- Update to 0.9.2
- Clarify the port's purpose in COMMENT
- Allow use to override CC/CFLAGS and use the author's build mechanism
- Install additional documentation
- Use DOCSDIR in pkg-plist

Supercedes:	ports/49088

NOTE:	This is another example of a port which can make use of INSTALL_DOCS 
	feature of bsd.port.mk as proposed in ports/49955. It can simplify
	Makefile and pkg-plist of this port and many others.
>How-To-Repeat:
>Fix:

--- qconfirm-0.9.2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/qconfirm/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	2003/02/21 12:42:23	1.11
+++ Makefile	2003/04/01 09:37:47
@@ -6,28 +6,34 @@
 #
 
 PORTNAME=	qconfirm
-PORTVERSION=	0.8.1
+PORTVERSION=	0.9.2
 CATEGORIES=	mail
 MASTER_SITES=	http://smarden.org/qconfirm/
 
 MAINTAINER=	sergei at kolobov.com
-COMMENT=	Request delivery confirmation for mail message under qmail
+COMMENT=	Filter spam by requesting confirmation from sender
 
-WRKSRC=		${WRKDIR}/mail/${DISTNAME}/src
+WRKSRC=		${WRKDIR}/mail/${DISTNAME}
 ALL_TARGET=	default
 
-MAN1=		qconfirm.1 qconfirm-accept.1 qconfirm-check.1 qconfirm-conf.1 \
+MAN1=		qconfirm.1 qconfirm-accept.1 qconfirm-check.1 \
+		qconfirm-check-mid.1 qconfirm-conf.1 \
 		qconfirm-cdb-check.1 qconfirm-cdb-update.1 \
 		qconfirm-control.1 qconfirm-return.1
+DOCS=		package/CHANGES package/COPYING package/README doc/*.html
 
+do-configure:
+	${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc
+
+do-build:
+	cd ${WRKSRC} && package/compile
+	
 do-install:
-.for file in ${MAN1}
-	${INSTALL_PROGRAM} ${WRKSRC}/${file:S/.1//} ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/../man/${file} ${PREFIX}/man/man1
-.endfor
+	${INSTALL_PROGRAM} ${WRKSRC}/command/* ${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/man/*.1 ${MANPREFIX}/man/man1
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/../doc/*.html ${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/mail/qconfirm/distinfo,v
retrieving revision 1.8
diff -u -r1.8 distinfo
--- distinfo	2003/01/24 23:33:37	1.8
+++ distinfo	2003/04/01 09:37:47
@@ -1 +1 @@
-MD5 (qconfirm-0.8.1.tar.gz) = 0b08efaa5d1d870a61a23c703af4f2cb
+MD5 (qconfirm-0.9.2.tar.gz) = ab068b19e89dc55a9e420b8cb8c897fd
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/mail/qconfirm/pkg-plist,v
retrieving revision 1.5
diff -u -r1.5 pkg-plist
--- pkg-plist	2003/01/10 07:05:08	1.5
+++ pkg-plist	2003/04/01 09:37:47
@@ -3,25 +3,31 @@
 bin/qconfirm-cdb-check
 bin/qconfirm-cdb-update
 bin/qconfirm-check
+bin/qconfirm-check-mid
 bin/qconfirm-conf
 bin/qconfirm-control
 bin/qconfirm-return
-%%PORTDOCS%%share/doc/qconfirm/benefits.html
-%%PORTDOCS%%share/doc/qconfirm/bounces.html
-%%PORTDOCS%%share/doc/qconfirm/cdb.html
-%%PORTDOCS%%share/doc/qconfirm/configuration.html
-%%PORTDOCS%%share/doc/qconfirm/control.html
-%%PORTDOCS%%share/doc/qconfirm/faq.html
-%%PORTDOCS%%share/doc/qconfirm/index.html
-%%PORTDOCS%%share/doc/qconfirm/install.html
-%%PORTDOCS%%share/doc/qconfirm/qconfirm.1.html
-%%PORTDOCS%%share/doc/qconfirm/qconfirm-accept.1.html
-%%PORTDOCS%%share/doc/qconfirm/qconfirm-cdb-check.1.html
-%%PORTDOCS%%share/doc/qconfirm/qconfirm-cdb-update.1.html
-%%PORTDOCS%%share/doc/qconfirm/qconfirm-check.1.html
-%%PORTDOCS%%share/doc/qconfirm/qconfirm-conf.1.html
-%%PORTDOCS%%share/doc/qconfirm/qconfirm-control.1.html
-%%PORTDOCS%%share/doc/qconfirm/qconfirm-return.1.html
-%%PORTDOCS%%share/doc/qconfirm/technical.html
-%%PORTDOCS%%share/doc/qconfirm/upgrade.html
-%%PORTDOCS%%@dirrm share/doc/qconfirm
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/benefits.html
+%%PORTDOCS%%%%DOCSDIR%%/bounces.html
+%%PORTDOCS%%%%DOCSDIR%%/cdb.html
+%%PORTDOCS%%%%DOCSDIR%%/configuration.html
+%%PORTDOCS%%%%DOCSDIR%%/control.html
+%%PORTDOCS%%%%DOCSDIR%%/faq.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/install.html
+%%PORTDOCS%%%%DOCSDIR%%/qconfirm.1.html
+%%PORTDOCS%%%%DOCSDIR%%/qconfirm-accept.1.html
+%%PORTDOCS%%%%DOCSDIR%%/qconfirm-cdb-check.1.html
+%%PORTDOCS%%%%DOCSDIR%%/qconfirm-cdb-update.1.html
+%%PORTDOCS%%%%DOCSDIR%%/qconfirm-check.1.html
+%%PORTDOCS%%%%DOCSDIR%%/qconfirm-check-mid.1.html
+%%PORTDOCS%%%%DOCSDIR%%/qconfirm-conf.1.html
+%%PORTDOCS%%%%DOCSDIR%%/qconfirm-control.1.html
+%%PORTDOCS%%%%DOCSDIR%%/qconfirm-return.1.html
+%%PORTDOCS%%%%DOCSDIR%%/technical.html
+%%PORTDOCS%%%%DOCSDIR%%/upgrade.html
+%%PORTDOCS%%%%DOCSDIR%%/usedietlibc.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- qconfirm-0.9.2.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list