1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/databases/db4o-mono/Makefile

40 lines
1.0 KiB
Makefile

# Created by: pneumann@gmail.com
# $FreeBSD$
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}
NO_STAGE= yes
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>