Changeset View
Changeset View
Standalone View
Standalone View
head/databases/percona57-server/Makefile
# Created by: Mark Felder <feld@FreeBSD.org> | # Created by: Mark Felder <feld@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME?= percona | PORTNAME?= percona | ||||
DISTVERSION= 5.7.21-20 | DISTVERSION= 5.7.21-20 | ||||
PORTREVISION?= 1 | PORTREVISION?= 2 | ||||
CATEGORIES= databases ipv6 | CATEGORIES= databases ipv6 | ||||
MASTER_SITES= http://www.percona.com/downloads/Percona-Server-5.7/Percona-Server-${DISTVERSION}/source/tarball/:percona \ | MASTER_SITES= http://www.percona.com/downloads/Percona-Server-5.7/Percona-Server-${DISTVERSION}/source/tarball/:percona \ | ||||
SF/boost/boost/1.59.0:boost | SF/boost/boost/1.59.0:boost | ||||
PKGNAMESUFFIX?= 57-server | PKGNAMESUFFIX?= 57-server | ||||
DISTNAME= percona-server-${DISTVERSION} | DISTNAME= percona-server-${DISTVERSION} | ||||
DISTFILES= percona-server-${DISTVERSION}${EXTRACT_SUFX}:percona \ | DISTFILES= percona-server-${DISTVERSION}${EXTRACT_SUFX}:percona \ | ||||
boost_1_59_0${EXTRACT_SUFX}:boost | boost_1_59_0${EXTRACT_SUFX}:boost | ||||
▲ Show 20 Lines • Show All 106 Lines • ▼ Show 20 Lines | MANPAGES= my_print_defaults.1 myisam_ftdump.1 myisamchk.1 myisamlog.1 myisampack.1 \ | ||||
mysql_tzinfo_to_sql.1 mysql_upgrade.1 mysql_zap.1 mysqlbug.1 \ | mysql_tzinfo_to_sql.1 mysql_upgrade.1 mysql_zap.1 mysqlbug.1 \ | ||||
mysqld_multi.1 mysqld_safe.1 mysqldumpslow.1 mysqlhotcopy.1 mysqlman.1 \ | mysqld_multi.1 mysqld_safe.1 mysqldumpslow.1 mysqlhotcopy.1 mysqlman.1 \ | ||||
mysqltest.1 perror.1 replace.1 resolve_stack_dump.1 resolveip.1 | mysqltest.1 perror.1 replace.1 resolve_stack_dump.1 resolveip.1 | ||||
CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" | CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" | ||||
# issue 220865: Currently there's no source to be built with server-side support. | # issue 220865: Currently there's no source to be built with server-side support. | ||||
# But this keeps the pkg-plist not overlaping | # But this keeps the pkg-plist not overlaping | ||||
CMAKE_ARGS+= -DWITH_AUTHENTICATION_LDAP=0 | CMAKE_ARGS+= -DWITH_AUTHENTICATION_LDAP=0 | ||||
.include <bsd.port.options.mk> | |||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057 | |||||
SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" | |||||
.else | |||||
SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " | |||||
.endif | |||||
post-install: | post-install: | ||||
${MKDIR} ${STAGEDIR}/var/db/mysql | ${MKDIR} ${STAGEDIR}/var/db/mysql | ||||
${MKDIR} ${STAGEDIR}${ETCDIR}/keyring | ${MKDIR} ${STAGEDIR}${ETCDIR}/keyring | ||||
${MKDIR} ${STAGEDIR}${MY_SECDIR} | ${MKDIR} ${STAGEDIR}${MY_SECDIR} | ||||
${MKDIR} ${STAGEDIR}${MY_TMPDIR} | ${MKDIR} ${STAGEDIR}${MY_TMPDIR} | ||||
.endif | .endif | ||||
Show All 19 Lines |