5abef9be14
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
54 lines
1.9 KiB
Makefile
54 lines
1.9 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2006/04/06 06:22:16 reed Exp $
|
|
|
|
DISTNAME= dkim-milter-0.1.1
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dkim-milter/}
|
|
|
|
MAINTAINER= imil@gcu.info
|
|
HOMEPAGE= http://sourceforge.net/projects/dkim-milter/
|
|
COMMENT= Open source DKIM filter software from Sendmail, Inc
|
|
|
|
BUILDLINK_API_DEPENDS.libmilter+= libmilter>=8.13.0
|
|
|
|
LICENSE= no-profit
|
|
MAKE_ENV+= M4=${M4:Q}
|
|
RCD_SCRIPTS= dkim-milter
|
|
USE_BUILTIN.libmilter= no
|
|
USE_TOOLS+= gm4
|
|
|
|
SUBST_CLASSES+= libs
|
|
SUBST_STAGE.libs= pre-configure
|
|
SUBST_FILES.libs= dkim-filter/Makefile.m4 libdk/Makefile.m4
|
|
SUBST_SED.libs= -e 's|@SSLBASE@|${BUILDLINK_PREFIX.openssl}|g' \
|
|
-e 's|@LMBASE@|${BUILDLINK_PREFIX.libmilter}|g' \
|
|
-e 's|@PTHREAD@|${BUILDLINK_PREFIX.pthread}|g' \
|
|
-e 's|@PTHREAD_LDFLAGS@|${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}|g'
|
|
SUBST_MESSAGE.libs= "Fixing makefile references."
|
|
|
|
post-extract:
|
|
${LN} -s FreeBSD ${WRKSRC}/devtools/OS/DragonFly
|
|
|
|
do-build:
|
|
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./Build)
|
|
|
|
post-build:
|
|
${SED} -e 's|dkim-filter|dkim-milter|g' \
|
|
${WRKSRC}/dkim-filter/dkim-filter.8 \
|
|
>${WRKSRC}/dkim-filter/dkim-milter.8
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/obj.`${UNAME} -srm | ${TR} \ . | ${TR} \/ -` && \
|
|
${INSTALL_PROGRAM} dkim-filter/dkim-filter ${PREFIX}/sbin/dkim-milter
|
|
${INSTALL_MAN} ${WRKSRC}/dkim-filter/dkim-milter.8 ${PREFIX}/man/man8/
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dkim-milter
|
|
${INSTALL_DATA} ${WRKSRC}/FEATURES ${PREFIX}/share/doc/dkim-milter
|
|
${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/dkim-milter
|
|
${INSTALL_DATA} ${WRKSRC}/KNOWNBUGS ${PREFIX}/share/doc/dkim-milter
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dkim-milter
|
|
${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES ${PREFIX}/share/doc/dkim-milter
|
|
|
|
.include "options.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mail/libmilter/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|