diff options
author | Johan van Selst <johans@FreeBSD.org> | 2012-06-16 14:51:46 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2012-06-16 14:51:46 +0000 |
commit | 50245660e6ec5084dab67cc17da3ff06d8811134 (patch) | |
tree | 37888d653ed19c6bec38e78415e05d94c029121f /games/ldmud/Makefile | |
parent | 0484c2a45e7329d63bfc11ec19f60b760f64d531 (diff) | |
download | ports-50245660e6ec5084dab67cc17da3ff06d8811134.tar.gz ports-50245660e6ec5084dab67cc17da3ff06d8811134.zip |
Notes
Diffstat (limited to 'games/ldmud/Makefile')
-rw-r--r-- | games/ldmud/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/games/ldmud/Makefile b/games/ldmud/Makefile index af5ffa8db4ae..f10e49594e98 100644 --- a/games/ldmud/Makefile +++ b/games/ldmud/Makefile @@ -34,23 +34,21 @@ MAKE_JOBS_UNSAFE= yes USERS= mud GROUPS= mud -OPTIONS= MYSQL "Enable MySQL database support" On \ - PGSQL "Enable PostgreSQL database support" On \ - SQLITE "Enable SQLite database support" On \ - IPV6 "Enable IPv6 support" On \ - LPMUD "Install default mudlib (LP-245)" On +OPTIONS_DEFINE= MYSQL PGSQL SQLITE IPV6 LPMUD +OPTIONS_DEFAULT=MYSQL PGSQL SQLITE IPV6 LPMUD +LPMUD_DESC= Install default mudlib (LP-245) PORTSCOUT= skipv:3.4 .include <bsd.port.options.mk> -.ifdef WITH_IPV6 +.if ${PORT_OPTIONS:MIPV6} CONFIGURE_ARGS+=--enable-use-ipv6 .else CONFIGURE_ARGS+=--disable-use-ipv6 .endif -.ifdef WITH_MYSQL +.if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes LDFLAGS+= -L${LOCALBASE}/lib/mysql CONFIGURE_ARGS+=--enable-use-mysql @@ -58,21 +56,21 @@ CONFIGURE_ARGS+=--enable-use-mysql CONFIGURE_ARGS+=--disable-use-mysql .endif -.ifdef WITH_PGSQL +.if ${PORT_OPTIONS:MPGSQL} USE_PGSQL= yes CONFIGURE_ARGS+=--enable-use-pgsql .else CONFIGURE_ARGS+=--disable-use-pgsql .endif -.ifdef WITH_SQLITE +.if ${PORT_OPTIONS:MSQLITE} USE_SQLITE= yes CONFIGURE_ARGS+=--enable-use-sqlite .else CONFIGURE_ARGS+=--disable-use-sqlite .endif -.ifdef WITH_LPMUD +.if ${PORT_OPTIONS:MLPMUD} PLIST_SUB+= LPMUD="" DEMOLIB="@comment " .else PLIST_SUB+= LPMUD="@comment " DEMOLIB="" |