2004-10-25 11:41:25 +02:00
|
|
|
# New ports collection makefile for: PTlink IRC services
|
|
|
|
# Date created: 22 October 2004
|
|
|
|
# Whom: Dennis Cabooter <dennis@rootxs.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2004-11-02 23:49:39 +01:00
|
|
|
PORTNAME= Services
|
2006-08-03 18:39:28 +02:00
|
|
|
PORTVERSION= 3.9.2
|
2004-11-02 23:49:39 +01:00
|
|
|
CATEGORIES= irc
|
2005-09-18 17:21:38 +02:00
|
|
|
MASTER_SITES= ftp://ftp.sunsite.dk/projects/ptlink/ircsvs3/
|
2004-11-02 23:49:39 +01:00
|
|
|
PKGNAMEPREFIX= PTlink-
|
2005-09-18 17:21:38 +02:00
|
|
|
DISTNAME= PTlinkIRC.${PORTNAME}${PORTVERSION}
|
2004-10-25 11:41:25 +02:00
|
|
|
|
2006-08-03 18:39:28 +02:00
|
|
|
MAINTAINER= freebsd@rootxs.org
|
2004-11-02 23:49:39 +01:00
|
|
|
COMMENT= PTlink IRC services
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_PERL5= yes
|
2005-09-18 17:21:38 +02:00
|
|
|
USE_MYSQL= yes
|
|
|
|
|
|
|
|
USE_RC_SUBR= ptlink-services.sh
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
|
|
|
SYSCONFDIR= ${PREFIX}/etc/ptlink-services
|
2004-11-02 23:49:39 +01:00
|
|
|
|
2006-08-03 18:39:28 +02:00
|
|
|
CONFIGURE_ARGS= --sysconfdir=${SYSCONFDIR} --localstatedir=/var \
|
|
|
|
--with-pidfile=/var/run/ircsvs.pid
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
BROKEN= Doesn't build on 4.x
|
|
|
|
.endif
|
2004-10-25 11:41:25 +02:00
|
|
|
|
|
|
|
post-install:
|
2005-09-18 17:21:38 +02:00
|
|
|
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
2005-09-19 09:30:57 +02:00
|
|
|
@${CHOWN} -R ircd:ircd ${SYSCONFDIR}
|
2005-09-18 17:21:38 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2004-10-25 11:41:25 +02:00
|
|
|
|
2006-08-03 18:39:28 +02:00
|
|
|
.include <bsd.port.post.mk>
|