summaryrefslogtreecommitdiff
path: root/chat/ircservices/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chat/ircservices/Makefile')
-rw-r--r--chat/ircservices/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/chat/ircservices/Makefile b/chat/ircservices/Makefile
index f2c9f9623c4..bffcc9544ee 100644
--- a/chat/ircservices/Makefile
+++ b/chat/ircservices/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2005/05/22 20:07:42 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2005/06/21 16:18:52 jlam Exp $
#
DISTNAME= ircservices-5.0.49
@@ -53,6 +53,19 @@ CONF_FILES_PERMS+= ${PREFIX}/share/examples/ircservices/modules.conf \
${PREFIX}/lib/services/modules.conf \
${BINOWN} ${BINGRP} 0640
+INSTALLATION_DIRS= lib/services man/man8 sbin
+
+.include "../../mk/bsd.prefs.mk"
+
+# Only some platforms build the dynamically-loadable modules. On
+# others, the modules are statically-linked into the ircservices
+# executable.
+#
+.if exists(${WRKDIR}/${DISTNAME}/modules/mail/main.so)
+PLIST_SRC= ${.CURDIR}/PLIST.shared
+.endif
+PLIST_SRC+= ${.CURDIR}/PLIST
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/ircservices
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ircservices