svn commit: r352219 - head/mail/qconfirm
Martin Wilke
miwi at FreeBSD.org
Sat Apr 26 02:39:09 UTC 2014
Author: miwi
Date: Sat Apr 26 02:39:08 2014
New Revision: 352219
URL: http://svnweb.freebsd.org/changeset/ports/352219
QAT: https://qat.redports.org/buildarchive/r352219/
Log:
- Support CC properly
- Add LICENSE
- Stage support
- Bump PORTREVISION
PR: 187767
Submitted by: ports fury
Modified:
head/mail/qconfirm/Makefile
head/mail/qconfirm/pkg-plist
Modified: head/mail/qconfirm/Makefile
==============================================================================
--- head/mail/qconfirm/Makefile Sat Apr 26 02:38:00 2014 (r352218)
+++ head/mail/qconfirm/Makefile Sat Apr 26 02:39:08 2014 (r352219)
@@ -3,39 +3,41 @@
PORTNAME= qconfirm
PORTVERSION= 0.14.3
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://smarden.org/qconfirm/
MAINTAINER= ports at FreeBSD.org
COMMENT= Filter spam by requesting confirmation from sender
+LICENSE= BSD
+LICENSE_FILE= ${WRKSRC}/package/COPYING
+
WRKSRC= ${WRKDIR}/mail/${DISTNAME}
+
ALL_TARGET= default
-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-inject.1 \
- qconfirm-notice.1 qconfirm-return.1
-DOCS= package/CHANGES package/COPYING package/README doc/*.html
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
do-configure:
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc
+ ${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/src/conf-ld
do-build:
- cd ${WRKSRC} && package/compile
- @${ECHO_MSG} "Type 'make test' to run self-tests"
-
-test:
- cd ${WRKSRC} && package/check
+ (cd ${WRKSRC} && package/compile)
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/command/* ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/man/*.1 ${MANPREFIX}/man/man1
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
-.endif
+ (cd ${WRKSRC}/command && ${INSTALL_PROGRAM} * \
+ ${STAGEDIR}${PREFIX}/bin)
+ (cd ${WRKSRC}/man && ${INSTALL_MAN} *.1 \
+ ${STAGEDIR}${MANPREFIX}/man/man1)
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html \
+ ${STAGEDIR}${DOCSDIR})
+ (cd ${WRKSRC}/package && ${INSTALL_DATA} CHANGES README \
+ ${STAGEDIR}${DOCSDIR})
+
+test: build
+ (cd ${WRKSRC} && package/check)
.include <bsd.port.mk>
Modified: head/mail/qconfirm/pkg-plist
==============================================================================
--- head/mail/qconfirm/pkg-plist Sat Apr 26 02:38:00 2014 (r352218)
+++ head/mail/qconfirm/pkg-plist Sat Apr 26 02:39:08 2014 (r352219)
@@ -9,8 +9,18 @@ bin/qconfirm-control
bin/qconfirm-inject
bin/qconfirm-notice
bin/qconfirm-return
+man/man1/qconfirm.1.gz
+man/man1/qconfirm-accept.1.gz
+man/man1/qconfirm-cdb-check.1.gz
+man/man1/qconfirm-cdb-update.1.gz
+man/man1/qconfirm-check.1.gz
+man/man1/qconfirm-check-mid.1.gz
+man/man1/qconfirm-conf.1.gz
+man/man1/qconfirm-control.1.gz
+man/man1/qconfirm-inject.1.gz
+man/man1/qconfirm-notice.1.gz
+man/man1/qconfirm-return.1.gz
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/benefits.html
%%PORTDOCS%%%%DOCSDIR%%/bounces.html
@@ -24,8 +34,8 @@ bin/qconfirm-return
%%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-check.1.html
%%PORTDOCS%%%%DOCSDIR%%/qconfirm-conf.1.html
%%PORTDOCS%%%%DOCSDIR%%/qconfirm-control.1.html
%%PORTDOCS%%%%DOCSDIR%%/qconfirm-inject.1.html
More information about the svn-ports-all
mailing list