blob: 028bdf71b9d9215a130767805399779082c3c0a9 (
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
|
# Created by: Christopher Nehren <apeiron@coitusmentis.info>
# $FreeBSD$
PORTNAME= log4net
PORTVERSION= 1.2.10
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= APACHE
MASTER_SITE_SUBDIR= incubator/log4net/${PORTVERSION}
DISTNAME= incubating-${PORTNAME}-${PORTVERSION}
MAINTAINER= mono@FreeBSD.org
COMMENT= Port for .NET of the Apache Logging Services project
BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono
RUN_DEPENDS= mono:${PORTSDIR}/lang/mono
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_ZIP= yes
NO_BUILD= yes
SUB_FILES= log4net.pc
SUB_LIST+= PORTVERSION=${PORTVERSION}
.if !defined (NOPORTDOCS)
PORTDOCS= *
.endif
.if !defined (NOPORTEXAMPLES)
PORTEXAMPLES= *
.endif
NO_STAGE= yes
do-install:
@(cd ${INSTALL_WRKSRC}/bin/mono/2.0/release && ${SETENV} MONO_SHARED_DIR=${WRKDIR} ${LOCALBASE}/bin/gacutil /root ${PREFIX}/lib/ /gacdir ${PREFIX}/lib /package 2.0 /i log4net.dll)
${INSTALL_DATA} ${WRKDIR}/log4net.pc ${PREFIX}/libdata/pkgconfig/log4net.pc
.if !defined (NOPORTDOCS)
@${ECHO_CMD} "Installing documentation..."
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
.if !defined (NOPORTEXAMPLES)
@${ECHO_CMD} "Installing examples..."
@${MKDIR} ${EXAMPLESDIR}
@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
.endif
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
.include <bsd.port.mk>
|