freebsd-ports/databases/frontbase/Makefile
Edwin Groothuis bbfb03d5ed [NEW PORTS] www/webobjects(+) Apple WebObjects ports bundle
This is a bundle of several ports covering many typical requirements
for building an Apple WebObjects deployment environment. Each port
is or has a dependancy with some other port in the bundle, and have
therefore been lodged collectively.

	databases/frontbase:

	FrontBase is a high performance, scalable, SQL 92 compliant relational
	database server created in the internet age for universal deployment.

	WWW: http://www.frontbase.com/

PR:		ports/117299
Submitted by:	Quinton Dolan <q@onthenet.com.au>
2008-06-13 04:16:29 +00:00

77 lines
2.1 KiB
Makefile

# New ports collection makefile for: frontbase
# Date created: Mon Apr 16 07:07:22 EST 2007
# Whom: Quinton Dolan <q@onthenet.com.au>
#
# $FreeBSD$
#
PORTNAME= frontbase
PORTVERSION= 4.2.8
CATEGORIES= databases
MASTER_SITES= http://www.frontbase.com/download/Download_${PORTVERSION}/FreeBSD5/:db
MASTER_SITES+= http://www.frontbase.com/download/WO5Plugin/UnixLinux/:plugin
DISTNAME= FrontBase-${PORTVERSION}
DISTFILES= FrontBase-${PORTVERSION}.tar:db
MAINTAINER?= q@onthenet.com.au
COMMENT= Frontbase SQL Database Server
IS_INTERACTIVE= yes
RESTRICTED= License doesn't allow redistribution
.include <bsd.port.pre.mk>
USE_RC_SUBR= frontbase.sh
USE_LDCONFIG= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
PKGDEINSTALL= pkg-deinstall
SUB_FILES+= pkg-message
ONLY_FOR_ARCHS= i386
# Binary is built for 5.X :
.if ${OSVERSION} < 500000
IGNORE= only supports FreeBSD 5.X and newer
.endif
.if ${OSVERSION} >= 600000
LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
.endif
FB_USER= frontbase
FB_GROUP= frontbase
NO_BUILD= yes
FBPKGNAME= Package.tar.gz
FBDATADIRS= Collations Library Translations
post-extract:
@(cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
${WRKSRC}/${FBPKGNAME} ${EXTRACT_AFTER_ARGS})
do-install:
@${MKDIR} ${PREFIX}/FrontBase
@${ECHO_MSG} -n ">> Installing FrontBase..."
.for dir in ${FBDATADIRS}
@(cd ${WRKSRC}/FrontBase/${dir} && ${COPYTREE_SHARE} \* \
${PREFIX}/FrontBase/${dir}/)
.endfor
@(cd ${WRKSRC}/FrontBase/bin && ${COPYTREE_BIN} \* \
${PREFIX}/FrontBase/bin/)
.if !defined(NOPORTDOCS)
@(cd ${WRKSRC}/FrontBase/Documentation && \
${COPYTREE_SHARE} \* ${DOCSDIR})
.endif
@(cd ${WRKSRC}/FrontBase/include && ${CP} -R * \
${PREFIX}/include)
@(cd ${WRKSRC}/FrontBase/lib && ${CP} -R * \
${PREFIX}/lib)
@${LN} -f ${PREFIX}/FrontBase/bin/sql92 ${PREFIX}/bin/sql92
@${ECHO_MSG} " [ DONE ]"
pre-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
post-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>