mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
3398de7f2f
- Add optional MySQL support (default off) PR: ports/109475 Submitted by: Jim Pingle <lists at pingle.org> Approved by: Shan Ali Khan <shanali at yahoo.com> (maintainer)
49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
# New ports collection makefile for: radiator
|
|
# Date created: 05 March 2003
|
|
# Whom: shan
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Radiator
|
|
PORTVERSION= 3.16
|
|
CATEGORIES= net
|
|
MASTER_SITES= # fetch manually
|
|
EXTRACT_SUFX= .tgz
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= shanali@yahoo.com
|
|
COMMENT= Radiator Radius Server by Open System Consultants
|
|
|
|
OPTIONS= MYSQL "MySQL Support" off
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
USE_PERL5= yes
|
|
PERL_CONFIGURE= yes
|
|
|
|
RESTRICTED= "Commercial software"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTFILES})
|
|
IGNORE= will not be automatically fetched due to licensing\
|
|
restrictions. You MUST manually fetch the UNIX version after\
|
|
purchasing the license at: http://www.open.com.au/ \
|
|
- once ${DISTFILES} has been downloaded, move it to\
|
|
${DISTDIR}/${DIST_SUBDIR} and then restart this build. \
|
|
(optionally download patches-${PORTVERSION}.tar.gz to the \
|
|
same directory as well)
|
|
.endif
|
|
|
|
.if defined(WITH_MYSQL)
|
|
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
|
|
.endif
|
|
|
|
pre-configure:
|
|
.if exists(${DISTDIR}/${DIST_SUBDIR}/patches-${PORTVERSION}.tar.gz)
|
|
${TAR} -xvzf ${DISTDIR}/${DIST_SUBDIR}/patches-${PORTVERSION}.tar.gz -C ${WRKSRC}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|