2012-10-05 14:41:45 +02:00
|
|
|
# Created by: Neil Blakey-Milner <nbm@rucus.ru.ac.za>
|
1999-08-25 08:51:17 +02:00
|
|
|
# $FreeBSD$
|
1999-05-03 04:46:44 +02:00
|
|
|
|
2000-04-13 22:01:08 +02:00
|
|
|
PORTNAME= qmailanalog
|
2001-01-16 18:33:20 +01:00
|
|
|
PORTVERSION= 0.70
|
2014-04-03 19:07:05 +02:00
|
|
|
PORTREVISION= 4
|
1999-05-03 04:46:44 +02:00
|
|
|
CATEGORIES= mail
|
2006-01-30 17:31:34 +01:00
|
|
|
MASTER_SITES= http://cr.yp.to/software/ \
|
2013-01-14 22:57:04 +01:00
|
|
|
http://www.emaillab.org/djb/qmailanalog/
|
1999-05-03 04:46:44 +02:00
|
|
|
|
2015-05-28 17:56:59 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-04-03 03:36:01 +02:00
|
|
|
COMMENT= Tools to analyze qmail-send activity
|
1999-05-03 04:46:44 +02:00
|
|
|
|
2013-03-15 23:03:42 +01:00
|
|
|
USES= qmail:run
|
1999-05-03 04:46:44 +02:00
|
|
|
|
2014-04-03 03:36:01 +02:00
|
|
|
ALL_TARGET= prog
|
1999-05-03 04:46:44 +02:00
|
|
|
INSTALL_TARGET= setup
|
|
|
|
|
|
|
|
MANPREFIX= ${QMPREFIX}
|
|
|
|
|
|
|
|
PLIST_SUB+= MYSUBDIR=${MYSUBDIR}
|
|
|
|
|
|
|
|
.if !defined(NOSUBDIR)
|
|
|
|
MYSUBDIR?= qmailanalog/
|
|
|
|
.else
|
2004-04-10 19:26:55 +02:00
|
|
|
MYSUBDIR?=
|
1999-05-03 04:46:44 +02:00
|
|
|
.endif
|
|
|
|
|
- Fix 'all-depends-list' target in cases if dependencies list is
very long and if some dependencies can't be added into the list.
[1]
- Fix FAM support. Make gamin the default FAM system. [2]
- Introduce new 'quicksearch' target to show only port, path and
info section of the matching ports. [3]
- Introduce new category - rubygems. [4]
- Fix stale dependencies while installing qmail slaveport and
another port that depends on qmail. [5]
- Add commentary for describes target in bsd.port.mk. [6]
- Fix warning issued during make index on archs !368. [7]
- Add USE_DOS2UNIX variable. If set to "YES", remove the ^M from
all files under ${WRKSRC}. If set to a string, remove in all files
under ${WRKSRC} with one of these names the ^Ms. [8]
- Add new variables PERL_RUN_DEPENDS and PERL_BUILD_DEPENDS by
checking the existance of the Perl modules with the "perl -e 'use
module;'" command. [9]
- Fix bsd.port.mk variable quoting issues. No quoting is necessary
anymore either in the Makefile or on the command line. Affected
variables include:
BROKEN
FORBIDDEN
IGNORE
MANUAL_PACKAGE_BUILD
NO_CDROM
NO_PACKAGE
RESTRICTED
[10]
- Add NOFETCHFILES variable. If set, don't download these files
from the ${MASTER_SITES} or ${MASTER_SITE_BACKUP} (but do from
${MASTER_SITE_OVERRIDE}). [11]
- Improve 'search' target output. [12]
- Add a new virtual category for Amateur Radio - hamradio. [13]
- Cleanup some old/unused pathes in bsd.port.mk. [14]
- Add @dirrmtry for plists which does the same as:
"@unexec rmdir %D/foo 2>/dev/null || true" [15]
- Remove virtual category - offix. [16]
- Use portsnap instead of cvsup or cvs on "make update" in
/usr/ports. [17]
- Move location of bsd.autotools.mk within bsd.port.mk [18]
- Add bsd.linux-rpm.mk, fix INSTALLS_SHLIB for Linux ports [19]
- Use new USE_RC_SUBR format for FreeBSD version >= 700007 [20]
- Replace the string "FreeBSD" by "The FreeBSD Project" in the
security warning [21]
- Add bsd.local.mk for local modification to ports framework. [22]
- Replace rcNG spelling by rc.d [23]
- Remove superfluous USE_REINPLACE. [24]
Special thanks to: linimon for spending hours with all these patches
clement for fixes
kris for help with pointyhat
PR: ports/86310 [1], ports/89498 [2], ports/83530 [3],
ports/83789 [4], ports/84053 [5], ports/86281 [6],
ports/87214 [7], ports/87234 [8], ports/87318 [9],
ports/87396 [10], ports/87605 [11], ports/87840 [12],
ports/88230 [13], ports/88493 [14], ports/88711 [15],
ports/88751 [16], ports/89281 [17], ports/89999 [18],
ports/90031 [19], ports/90150 [20], ports/90668 [21],
ports/91433 [23], ports/88754 [24]
Submitted by: mi [1], marcus [2], Lars Engels <lars.engels@0x20.net> [3],
pav [4, 16, 20, 24], garga [5], cperciva [6], vd [7],
edwin [8, 9, 11, 15, 21],
fenner [10], Arseny Nasokin <tarc.po.cs.msu.su@tarc.po.cs.msu.su> [12],
Carl Makin <carl@stagecraft.cx> [13], arved [14],
NIIMI Satoshi <sa2c@sa2c.net> [17], thierry [18],
jylefort [19], linimon [22], dougb [23]
2006-01-21 18:37:14 +01:00
|
|
|
PREFIX?= ${QMAIL_PREFIX}
|
2014-04-03 03:36:01 +02:00
|
|
|
NO_PREFIX_RMDIR=yes
|
2007-08-04 13:41:30 +02:00
|
|
|
QMPREFIX?= ${PREFIX}/${MYSUBDIR}
|
1999-05-03 04:46:44 +02:00
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
NO_MTREE= yes
|
1999-05-03 04:46:44 +02:00
|
|
|
|
2005-05-30 22:46:07 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
- Fix 'all-depends-list' target in cases if dependencies list is
very long and if some dependencies can't be added into the list.
[1]
- Fix FAM support. Make gamin the default FAM system. [2]
- Introduce new 'quicksearch' target to show only port, path and
info section of the matching ports. [3]
- Introduce new category - rubygems. [4]
- Fix stale dependencies while installing qmail slaveport and
another port that depends on qmail. [5]
- Add commentary for describes target in bsd.port.mk. [6]
- Fix warning issued during make index on archs !368. [7]
- Add USE_DOS2UNIX variable. If set to "YES", remove the ^M from
all files under ${WRKSRC}. If set to a string, remove in all files
under ${WRKSRC} with one of these names the ^Ms. [8]
- Add new variables PERL_RUN_DEPENDS and PERL_BUILD_DEPENDS by
checking the existance of the Perl modules with the "perl -e 'use
module;'" command. [9]
- Fix bsd.port.mk variable quoting issues. No quoting is necessary
anymore either in the Makefile or on the command line. Affected
variables include:
BROKEN
FORBIDDEN
IGNORE
MANUAL_PACKAGE_BUILD
NO_CDROM
NO_PACKAGE
RESTRICTED
[10]
- Add NOFETCHFILES variable. If set, don't download these files
from the ${MASTER_SITES} or ${MASTER_SITE_BACKUP} (but do from
${MASTER_SITE_OVERRIDE}). [11]
- Improve 'search' target output. [12]
- Add a new virtual category for Amateur Radio - hamradio. [13]
- Cleanup some old/unused pathes in bsd.port.mk. [14]
- Add @dirrmtry for plists which does the same as:
"@unexec rmdir %D/foo 2>/dev/null || true" [15]
- Remove virtual category - offix. [16]
- Use portsnap instead of cvsup or cvs on "make update" in
/usr/ports. [17]
- Move location of bsd.autotools.mk within bsd.port.mk [18]
- Add bsd.linux-rpm.mk, fix INSTALLS_SHLIB for Linux ports [19]
- Use new USE_RC_SUBR format for FreeBSD version >= 700007 [20]
- Replace the string "FreeBSD" by "The FreeBSD Project" in the
security warning [21]
- Add bsd.local.mk for local modification to ports framework. [22]
- Replace rcNG spelling by rc.d [23]
- Remove superfluous USE_REINPLACE. [24]
Special thanks to: linimon for spending hours with all these patches
clement for fixes
kris for help with pointyhat
PR: ports/86310 [1], ports/89498 [2], ports/83530 [3],
ports/83789 [4], ports/84053 [5], ports/86281 [6],
ports/87214 [7], ports/87234 [8], ports/87318 [9],
ports/87396 [10], ports/87605 [11], ports/87840 [12],
ports/88230 [13], ports/88493 [14], ports/88711 [15],
ports/88751 [16], ports/89281 [17], ports/89999 [18],
ports/90031 [19], ports/90150 [20], ports/90668 [21],
ports/91433 [23], ports/88754 [24]
Submitted by: mi [1], marcus [2], Lars Engels <lars.engels@0x20.net> [3],
pav [4, 16, 20, 24], garga [5], cperciva [6], vd [7],
edwin [8, 9, 11, 15, 21],
fenner [10], Arseny Nasokin <tarc.po.cs.msu.su@tarc.po.cs.msu.su> [12],
Carl Makin <carl@stagecraft.cx> [13], arved [14],
NIIMI Satoshi <sa2c@sa2c.net> [17], thierry [18],
jylefort [19], linimon [22], dougb [23]
2006-01-21 18:37:14 +01:00
|
|
|
.if ${PREFIX} != ${QMAIL_PREFIX}
|
2006-01-30 17:31:34 +01:00
|
|
|
BROKEN= Cannot Make and Install with different PREFIX or QMAIL_PREFIX
|
2005-05-30 22:46:07 +02:00
|
|
|
.endif
|
|
|
|
|
1999-05-03 04:46:44 +02:00
|
|
|
post-patch:
|
2014-04-03 03:36:01 +02:00
|
|
|
@${ECHO_CMD} "${QMPREFIX}" > ${WRKSRC}/conf-home
|
|
|
|
@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
|
|
|
|
@${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
|
2005-04-05 10:04:30 +02:00
|
|
|
@${REINPLACE_CMD} 's|02755|0755|g; /cat/d' ${WRKSRC}/hier.c
|
|
|
|
@${REINPLACE_CMD} 's|^man prog|prog|g' ${WRKSRC}/Makefile
|
1999-05-03 04:46:44 +02:00
|
|
|
|
2014-04-03 03:36:01 +02:00
|
|
|
# Do a dance to stage and keep out of resulting binaries (see r346769
|
|
|
|
# and r349241)
|
2014-04-03 19:07:05 +02:00
|
|
|
post-build:
|
|
|
|
@${ECHO_MSG} "===> Rebuilding DJB installer to respect STAGEDIR"
|
2014-04-03 03:36:01 +02:00
|
|
|
@${MV} -f ${WRKSRC}/conf-home ${WRKSRC}/conf-home.sav
|
|
|
|
@${ECHO_CMD} "${STAGEDIR}${QMPREFIX}" > ${WRKSRC}/conf-home
|
2016-10-21 14:51:40 +02:00
|
|
|
@cd ${WRKSRC} ; ${RM} install instcheck install.o instcheck.o hier.o auto_home.o auto_home.c
|
2014-04-17 06:07:10 +02:00
|
|
|
@cd ${WRKSRC} ; ${DO_MAKE_BUILD} install instcheck
|
2014-04-03 03:36:01 +02:00
|
|
|
@${MV} -f ${WRKSRC}/conf-home.sav ${WRKSRC}/conf-home
|
|
|
|
|
|
|
|
post-install:
|
2014-04-03 19:07:05 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${QMPREFIX}
|
2014-04-03 03:36:01 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${MANPREFIX}/man/man1/
|
1999-05-03 04:46:44 +02:00
|
|
|
|
2005-05-30 22:46:07 +02:00
|
|
|
.include <bsd.port.post.mk>
|