2005-10-02 21:10:31 +02:00
|
|
|
# New ports collection makefile for: cyphesis
|
|
|
|
# Date created: 02 Oct 2005
|
|
|
|
# Whom: Oliver Lehmann <oliver@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cyphesis
|
2008-12-05 17:05:23 +01:00
|
|
|
PORTVERSION= 0.5.18
|
2005-10-02 21:10:31 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR=worldforge
|
|
|
|
|
|
|
|
MAINTAINER= oliver@FreeBSD.org
|
|
|
|
COMMENT= A server for WorldForge games
|
|
|
|
|
2005-10-20 15:50:24 +02:00
|
|
|
LIB_DEPENDS= Atlas-0.6.1:${PORTSDIR}/devel/atlas-devel \
|
2006-01-16 07:27:42 +01:00
|
|
|
varconf-1.0.6:${PORTSDIR}/devel/varconf \
|
2006-08-21 16:54:27 +02:00
|
|
|
wfmath-0.3.4:${PORTSDIR}/math/wfmath \
|
2008-08-28 06:17:09 +02:00
|
|
|
mercator-0.2.5:${PORTSDIR}/devel/mercator \
|
2006-11-12 23:33:43 +01:00
|
|
|
skstream-0.3.4:${PORTSDIR}/net/skstream \
|
2008-02-28 22:47:06 +01:00
|
|
|
gcrypt.15:${PORTSDIR}/security/libgcrypt
|
2005-10-02 21:10:31 +02:00
|
|
|
|
2007-07-24 17:10:14 +02:00
|
|
|
CONFIGURE_ARGS= --with-python=${LOCALBASE}
|
2005-10-02 21:10:31 +02:00
|
|
|
|
2007-01-21 11:29:09 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_BZIP2= yes
|
2005-10-02 21:10:31 +02:00
|
|
|
USE_GNOME= gnomehack
|
2007-01-21 11:29:09 +01:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_PGSQL= yes
|
|
|
|
USE_PYTHON= yes
|
2005-10-02 21:10:31 +02:00
|
|
|
|
2007-01-21 11:29:09 +01:00
|
|
|
MAN1= cyclient.1 cycmd.1 cyphesis.1 cyphesis-tools.1 cyaddrules.1 \
|
|
|
|
cyconvertrules.1 cydumprules.1 cyloadrules.1 cypasswd.1
|
2005-10-02 21:10:31 +02:00
|
|
|
|
2005-10-07 14:39:06 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-10-02 21:10:31 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's| install-dist_docDATA | |g' ${WRKSRC}/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e 's| install-confbackupDATA | |g' ${WRKSRC}/data/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e 's|-lpython|${PTHREAD_LIBS} &|' ${WRKSRC}/configure
|
|
|
|
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
|
|
|
|
${REINPLACE_CMD} -e 's|$$(datadir)/cyphesis|${DATADIR}|g'
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${MKDIR} ${DOCSDIR}/conf
|
|
|
|
.for docfile in README COPYING AUTHORS THANKS NEWS ChangeLog TODO
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.for docfile in acorn.xml basic.xml cyphesis.vconf mason.xml werewolf.xml
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/data/${docfile} ${DOCSDIR}/conf
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2005-10-07 14:39:06 +02:00
|
|
|
.include <bsd.port.post.mk>
|