blob: 9c2b3ddcd170da03b73b554c3bbcf83d10dec49c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# 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.9
CATEGORIES= databases
MASTER_SITES= http://www.frontbase.com/download/Download_${PORTVERSION}/FreeBSD5/:db
MASTER_SITES+= http://www.frontbase.com/download/WO5Plugin/UnixLinux/:plugin
DISTFILES= FrontBase-${PORTVERSION}-FreeBSD5.tar:db
MAINTAINER= mjs@bur.st
COMMENT= Frontbase SQL Database Server
LICENSE= FrontBase
LICENSE_NAME= FrontBase
LICENSE_FILE= ${FILESDIR}/LICENSE.txt
LICENSE_PERMS= no-auto-accept # nothing else allowed either
NO_PACKAGE= license requires confirmation
USE_RC_SUBR= frontbase.sh
USE_LDCONFIG= yes
SUB_FILES+= pkg-message
ONLY_FOR_ARCHS= i386
# Binary is built for 5.X :
LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
USERS= frontbase
GROUPS= 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.mk>
|