aboutsummaryrefslogtreecommitdiffstats
path: root/databases/db4o-mono/Makefile
blob: 79e4d5280ec38600c99873170795b85712d20284 (plain) (blame)
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
# New ports collection makefile for:        Castle.ActiveRecord
# Date created:                             17 Dec 2005
# Whom:                                     pneumann@gmail.com
#
# $FreeBSD$
#   $Id: Makefile,v 1.3 2006/10/09 16:27:03 killfill Exp $
#

PORTNAME=   db4o
PORTVERSION=    ${REALVERSION}.20
PORTREVISION=   1
CATEGORIES= databases
MASTER_SITES=   http://www.db4o.com/downloads/
PKGNAMESUFFIX=  -mono
DISTNAME=   ${PORTNAME}-${REALVERSION}${PKGNAMESUFFIX}
DIST_SUBDIR=    ${PORTNAME}-${PORTVERSION}

MAINTAINER= pneumann@gmail.com
COMMENT=    A database engine for storing object into files

RUN_DEPENDS=    mono:${PORTSDIR}/lang/mono

REALVERSION=    5.5

NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/${PORTNAME}-${REALVERSION}

do-install:
    @(cd ${WRKSRC}/dll ; ${SETENV} MONO_SHARED_DIR=${WRKDIR} ${LOCALBASE}/bin/gacutil /root ${PREFIX}/lib /gacdir ${PREFIX}/lib /package 1.0 /i db4o.dll)

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @cd ${WRKSRC}/doc/; ${FIND} api \
        | ${CPIO} -pdmv -R ${DOCOWN}:${DOCGRP} ${DOCSDIR}
    @cd ${WRKSRC}/doc/; ${FIND} tutorial \
        | ${CPIO} -pdmv -R ${DOCOWN}:${DOCGRP} ${DOCSDIR}
    @${CHMOD} -R ugo-w,ugo+rX ${DOCSDIR}
.endif

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/lang/mono/bsd.mono.mk"
.include <bsd.port.post.mk>