aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
Diffstat (limited to 'dns')
-rw-r--r--dns/Makefile1
-rw-r--r--dns/powerdns/Makefile2
-rw-r--r--dns/powerdns/pkg-plist12
3 files changed, 9 insertions, 6 deletions
diff --git a/dns/Makefile b/dns/Makefile
index 8127de8aaa37..eb2f288e3a29 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -103,6 +103,7 @@
SUBDIR += posadis
SUBDIR += poweradmin
SUBDIR += powerdns
+ SUBDIR += powerdns-devel
SUBDIR += powerdns-recursor
SUBDIR += py-adns
SUBDIR += py-dns
diff --git a/dns/powerdns/Makefile b/dns/powerdns/Makefile
index 7b4da7c6df09..dbf29cbdc615 100644
--- a/dns/powerdns/Makefile
+++ b/dns/powerdns/Makefile
@@ -17,6 +17,8 @@ COMMENT= An advanced DNS server with multiple backends including SQL
BUILD_DEPENDS= bjam:${PORTSDIR}/devel/boost
+CONFLICTS= powerdns-devel-[0-9]*
+
USE_GMAKE= YES
USE_SUBMAKE= YES
USE_AUTOTOOLS= libtool:15
diff --git a/dns/powerdns/pkg-plist b/dns/powerdns/pkg-plist
index f106a0c8b260..65cf6b7ac80e 100644
--- a/dns/powerdns/pkg-plist
+++ b/dns/powerdns/pkg-plist
@@ -37,10 +37,10 @@ lib/libpipebackend.so.0
@unexec if cmp -s %D/etc/pdns/pdns.conf %D/etc/pdns/pdns.conf-dist; then rm -f %D/etc/pdns/pdns.conf; fi
etc/pdns/pdns.conf-dist
@exec [ -f %B/pdns.conf ] || cp %B/%f %B/pdns.conf
-%%PORTDOCS%%share/examples/powerdns/pdns.conf
-%%PORTDOCS%%share/examples/powerdns/tables-mssql_or_sybase.sql
-%%PORTDOCS%%share/examples/powerdns/tables-mysql.sql
-%%PORTDOCS%%share/examples/powerdns/tables-pgsql.sql
-%%PORTDOCS%%share/examples/powerdns/tables-sqlite.sql
-%%PORTDOCS%%@dirrm share/examples/powerdns
+%%PORTDOCS%%%%EXAMPLESDIR%%/pdns.conf
+%%PORTDOCS%%%%EXAMPLESDIR%%/tables-mssql_or_sybase.sql
+%%PORTDOCS%%%%EXAMPLESDIR%%/tables-mysql.sql
+%%PORTDOCS%%%%EXAMPLESDIR%%/tables-pgsql.sql
+%%PORTDOCS%%%%EXAMPLESDIR%%/tables-sqlite.sql
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
@dirrmtry etc/pdns