aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2007-12-16 19:55:07 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2007-12-16 19:55:07 +0000
commita6ac7c9304460bbfab8819f16a2c5d63d1caed8e (patch)
treef27c66d59cba7fd42bd7a50fa31c8e929cf979ed /mail
parent1259b4cb220bde6c17f7859741a4a04e5e57e5f3 (diff)
downloadports-a6ac7c9304460bbfab8819f16a2c5d63d1caed8e.tar.gz
ports-a6ac7c9304460bbfab8819f16a2c5d63d1caed8e.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/dkim-milter/Makefile6
-rw-r--r--mail/dkim-milter/files/patch-dkim-filter__Makefile.m432
-rw-r--r--mail/dkim-milter/files/site.config.m42
3 files changed, 36 insertions, 4 deletions
diff --git a/mail/dkim-milter/Makefile b/mail/dkim-milter/Makefile
index ff11da99e33b..66b05dcb516d 100644
--- a/mail/dkim-milter/Makefile
+++ b/mail/dkim-milter/Makefile
@@ -14,6 +14,7 @@
PORTNAME= dkim-milter
PORTVERSION= 2.4.0
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -44,9 +45,8 @@ WCONF= ${WRKSRC}/devtools/Site
MAN5= dkim-filter.conf.5
MAN8= dkim-filter.8 dkim-genkey.8 dkim-testkey.8 dkim-testssp.8
PLIST_FILES= etc/mail/dkim-filter.conf.sample \
- libexec/dkim-filter libexec/dkim-genkey \
- %%STATS%%libexec/dkim-stats \
- libexec/dkim-testkey libexec/dkim-testssp
+ bin/dkim-genkey %%STATS%%bin/dkim-stats bin/dkim-testkey \
+ bin/dkim-testssp libexec/dkim-filter
PLIST_DIRS= etc/mail
PORTDOCS= FEATURES INSTALL KNOWNBUGS LICENSE README RELEASE_NOTES \
autorespond.csh \
diff --git a/mail/dkim-milter/files/patch-dkim-filter__Makefile.m4 b/mail/dkim-milter/files/patch-dkim-filter__Makefile.m4
new file mode 100644
index 000000000000..20920ae1beab
--- /dev/null
+++ b/mail/dkim-milter/files/patch-dkim-filter__Makefile.m4
@@ -0,0 +1,32 @@
+--- ./dkim-filter/Makefile.m4.orig 2007-11-01 04:00:07.000000000 +0900
++++ ./dkim-filter/Makefile.m4 2007-12-17 03:50:11.000000000 +0900
+@@ -31,18 +31,21 @@
+
+
+ bldPRODUCT_START(`executable', `dkim-filter')
++define(`bldINSTALL_DIR', `E')
+ define(`bldSOURCES', `config.c dkim-ar.c dkim-filter.c stats.c test.c util.c ')
+ PREPENDDEF(`confLIBS', `-lmilter ')
+ bldPRODUCT_END
+
+ ifelse(index(confENVDEF, `-D_FFR_STATS'), -1, `', `
+ bldPRODUCT_START(`executable', `dkim-stats')
++define(`bldINSTALL_DIR', `U')
+ define(`bldSOURCES', `dkim-stats.c ')
+ bldPRODUCT_END
+ ')
+
+ dnl Install code for dkim-genkey is in here
+ bldPRODUCT_START(`executable', `dkim-testkey')
++define(`bldINSTALL_DIR', `U')
+ define(`bldSOURCES', `dkim-testkey.c ')
+ bldPUSH_INSTALL_TARGET(`install-genkey')
+ divert(bldTARGETS_SECTION)
+@@ -54,6 +57,7 @@
+ bldPRODUCT_END
+
+ bldPRODUCT_START(`executable', `dkim-testssp')
++define(`bldINSTALL_DIR', `U')
+ define(`bldSOURCES', `dkim-testssp.c ')
+ bldPRODUCT_END
+
diff --git a/mail/dkim-milter/files/site.config.m4 b/mail/dkim-milter/files/site.config.m4
index 10e9967b3fea..8581f9933898 100644
--- a/mail/dkim-milter/files/site.config.m4
+++ b/mail/dkim-milter/files/site.config.m4
@@ -1,7 +1,7 @@
define(`confEBINDIR',`%%PREFIX%%/libexec')
define(`confMANROOT',`%%PREFIX%%/man/man')
define(`confMANROOTMAN',`%%PREFIX%%/man/man')
-define(`confUBINDIR',`%%PREFIX%%/libexec')
+define(`confUBINDIR',`%%PREFIX%%/bin')
define(`confLIBDIR',`%%PREFIX%%/lib')
define(`confDONT_INSTALL_CATMAN',`True')
%%STATIC%%APPENDDEF(`confLIBS', `-static ')