[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS Update: mystuff



Log Message:
-----------
Sync hybserv2 with new ports style

Modified Files:
--------------
    mystuff/irc/hybserv2:
        Makefile

Removed Files:
-------------
    mystuff/irc/hybserv2/pkg:
        INSTALL

Revision Data
-------------
Index: Makefile
===================================================================
RCS file: /cvs/mystuff/irc/hybserv2/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lirc/hybserv2/Makefile -Lirc/hybserv2/Makefile -u -r1.2 -r1.3
--- irc/hybserv2/Makefile
+++ irc/hybserv2/Makefile
@@ -12,30 +12,39 @@
 MAINTAINER=	Jim Dew <jdew@yggdrasil.ca>
 COMMENT=	HybServ2 IRCD Services
 
-
+#License: GPLv2
 PERMIT_PACKAGE_CDROM=   Yes
 PERMIT_PACKAGE_FTP=     Yes
 PERMIT_DISTFILES_CDROM= Yes
 PERMIT_DISTFILES_FTP=   Yes
 
-CONFIGURE_STYLE= autoconf
+CONFIGURE_STYLE= autoconf old
 #USE_SYSTRACE=	Yes
 USE_GMAKE=	Yes
 AUTOCONF_VERSION= 2.59
 
-SYSCONFDIR=	/etc/hybserv
-WRKDIST=		${WRKDIR}/hybserv
+WANTLIB+= c
+
+WRKDIST=	${WRKDIR}/hybserv
 
 RUN_DEPENDS=	::mystuff/irc/ircd-hybrid
 
+IRCD_USER=	_ircd
+IRCD_ID=	600
+SUBST_VARS=	IRCD_USER IRCD_ID
+
 #The custom is to avoid a hardcoded
 #block in the configure script that sets nicklen to 18 
 
-CONFIGURE_ARGS+=	--with-nicklen=20\
+CONFIGURE_ARGS+=	--with-nicklen=20 \
+	--sysconfdir=${SYSCONFDIR}/hybserv \
 	--with-network=custom
 
 post-install:
+	@mkdir -p ${WRKINST}/etc/ircd
 	@mkdir -p ${WRKINST}/usr/local/share/hybserv/examples/
-	@mv ${WRKINST}/etc/hybserv/* ${WRKINST}/usr/local/share/hybserv/examples/
+.for file in glines.conf hybserv.conf jupes.conf motd.dcc motd.global settings.conf
+	${INSTALL_DATA} ${WRKINST}/etc/hybserv/${file} ${WRKINST}/usr/local/share/hybserv/examples/${file}
+.endfor
 
 .include <bsd.port.mk>
--- irc/hybserv2/pkg/INSTALL
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-#
-# Pre/post-installation setup of hybserv2
-#
-
-# Verify/process the command
-#
-case $2 in
-	POST-INSTALL)
-		install -d -o _ircd -g _ircd -m 0775 /var/log/hybserv
-		install -d -o _ircd -g _ircd -m 0775 /etc/hybserv
-	;;
-esac
-
-exit 0
-
-


Main Menu:

Site Tools:


Here, spammer, have some addresses.