2003-09-06 00:26:41 +02:00
|
|
|
PORTNAME= ldmud
|
2011-06-11 12:29:42 +02:00
|
|
|
PORTVERSION= 3.3.720
|
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
2019-07-26 22:46:53 +02:00
|
|
|
PORTREVISION= 5
|
2011-06-11 12:29:42 +02:00
|
|
|
PORTEPOCH= 1
|
2003-09-06 00:26:41 +02:00
|
|
|
CATEGORIES= games net
|
2011-06-11 12:29:42 +02:00
|
|
|
MASTER_SITES= http://www.bearnip.com/ftp/mud/ \
|
|
|
|
ftp://mud.stack.nl/pub/ldmud/
|
2003-09-06 00:26:41 +02:00
|
|
|
|
2019-11-04 22:21:03 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-06-13 09:36:27 +02:00
|
|
|
COMMENT= Modern version of the LPMud game driver
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://www.ldmud.eu/
|
2003-09-06 00:26:41 +02:00
|
|
|
|
2020-09-10 09:45:48 +02:00
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKRSC}/COPYRIGHT
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
BUILD_DEPENDS= help2man:misc/help2man
|
|
|
|
LIB_DEPENDS= libpcre.so:devel/pcre
|
2011-06-11 12:29:42 +02:00
|
|
|
|
2003-09-06 00:26:41 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2017-03-15 15:45:30 +01:00
|
|
|
USES= iconv pkgconfig ssl
|
2011-06-11 12:29:42 +02:00
|
|
|
CONFIGURE_ARGS+=--libdir=${DATADIR} \
|
|
|
|
--bindir=${PREFIX}/sbin \
|
|
|
|
--enable-use-pcre \
|
|
|
|
--enable-use-tls=ssl
|
2003-09-06 00:26:41 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
|
|
|
ALL_TARGET= ldmud
|
2011-06-12 11:37:01 +02:00
|
|
|
USE_RC_SUBR= ldmud
|
2009-11-20 23:53:09 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2003-09-06 00:26:41 +02:00
|
|
|
|
2011-06-11 12:29:42 +02:00
|
|
|
USERS= mud
|
|
|
|
GROUPS= mud
|
|
|
|
|
2014-07-15 17:19:07 +02:00
|
|
|
OPTIONS_DEFINE= MYSQL PGSQL SQLITE IPV6 DOCS
|
2016-05-23 22:35:01 +02:00
|
|
|
OPTIONS_DEFAULT=MYSQL PGSQL SQLITE LPMUD
|
2014-02-19 20:37:28 +01:00
|
|
|
OPTIONS_SINGLE= MUDLIB
|
|
|
|
OPTIONS_SINGLE_MUDLIB= LPMUD DEMOLIB
|
|
|
|
OPTIONS_SUB= yes
|
2012-06-16 16:51:46 +02:00
|
|
|
LPMUD_DESC= Install default mudlib (LP-245)
|
2014-02-19 20:37:28 +01:00
|
|
|
IPV6_CONFIGURE_ENABLE= use-ipv6
|
2019-11-15 11:12:08 +01:00
|
|
|
MYSQL_USES= mysql
|
2014-02-19 20:37:28 +01:00
|
|
|
MYSQL_CONFIGURE_ENABLE= use-mysql
|
2014-11-22 20:13:49 +01:00
|
|
|
PGSQL_USES= pgsql
|
2014-02-19 20:37:28 +01:00
|
|
|
PGSQL_CONFIGURE_ENABLE= use-pgsql
|
2016-04-25 18:13:38 +02:00
|
|
|
SQLITE_USES= sqlite
|
2014-02-19 20:37:28 +01:00
|
|
|
SQLITE_CONFIGURE_ENABLE=use-sqlite
|
2011-06-11 12:29:42 +02:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-06-16 16:51:46 +02:00
|
|
|
.if ${PORT_OPTIONS:MMYSQL}
|
2011-06-11 12:29:42 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib/mysql
|
|
|
|
.endif
|
|
|
|
|
2003-09-06 00:26:41 +02:00
|
|
|
post-install:
|
2013-12-29 15:37:13 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}/var/log/${PORTNAME} \
|
|
|
|
${STAGEDIR}/var/run/${PORTNAME}
|
2014-02-19 20:37:28 +01:00
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/ldmud
|
2012-06-28 18:12:21 +02:00
|
|
|
.if ${PORT_OPTIONS:MLPMUD}
|
2014-02-19 20:37:28 +01:00
|
|
|
cd ${WRKDIR}/${PORTNAME}-${PORTVERSION}/mud/lp-245 && ${FIND} . \
|
|
|
|
| ${CPIO} -pdmu ${STAGEDIR}${DATADIR}
|
2011-06-11 12:29:42 +02:00
|
|
|
.else
|
2014-02-19 20:37:28 +01:00
|
|
|
cd ${WRKDIR}/${PORTNAME}-${PORTVERSION}/mudlib && ${FIND} . \
|
|
|
|
| ${CPIO} -pdmu ${STAGEDIR}${DATADIR}
|
2003-09-06 00:26:41 +02:00
|
|
|
.endif
|
2012-06-28 18:12:21 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2013-12-29 15:37:13 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2014-02-19 20:37:28 +01:00
|
|
|
cd ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc && ${FIND} . \
|
|
|
|
| ${CPIO} -pdmu ${STAGEDIR}${DOCSDIR}
|
2016-10-21 14:51:40 +02:00
|
|
|
@${RM} ${STAGEDIR}${DOCSDIR}/Makefile
|
2003-09-06 00:26:41 +02:00
|
|
|
.endif
|
|
|
|
|
2014-02-19 20:37:28 +01:00
|
|
|
.include <bsd.port.mk>
|