aboutsummaryrefslogtreecommitdiff
path: root/net/dictd
diff options
context:
space:
mode:
Diffstat (limited to 'net/dictd')
-rw-r--r--net/dictd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dictd/Makefile b/net/dictd/Makefile
index 915fab21ee92..9ce5488a11f5 100644
--- a/net/dictd/Makefile
+++ b/net/dictd/Makefile
@@ -36,9 +36,9 @@ post-patch:
@${PERL} -pi -e "s|[\ \t]T_USER| T_USERNAME|g" ${WRKSRC}/*.[chly]
post-install:
- @${MKDIR} ${PREFIX}/share/${PORTNAME}
+ @${MKDIR} ${DATADIR}
.for i in example.conf example.dictrc example.site example2.conf example3.conf
- ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/$i ${DATADIR}
.endfor
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/${PORTNAME}.conf > ${PREFIX}/etc/${PORTNAME}.conf
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/${PORTNAME}.sh > ${PREFIX}/etc/rc.d/${PORTNAME}.sh