blob: 57d36d26d65aa3f491b2c356b1f42483c9dcd48e (
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
44
45
46
47
|
# New ports collection makefile for: xmerl
# Date Created: 5 March 2003
# Whom: olgeni@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= xmerl
PORTVERSION= 0.19
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= sowap
DIST_SUBDIR= erlang
MAINTAINER= olgeni@FreeBSD.org
COMMENT= A library for XML processing in Erlang
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang
RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang
PLIST_SUB= VERSION="${PORTVERSION}"
USE_GMAKE= yes
XMERL= ${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}
do-install:
@${MKDIR} ${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${CP} -r ${WRKSRC}/doc/* ${DOCSDIR}
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
@${LN} -s ${DOCSDIR} ${XMERL}/doc
.endif
@for SUBDIR in ebin inc src; do \
${MKDIR} ${XMERL}/$${SUBDIR}; \
${CP} -r ${WRKSRC}/$${SUBDIR}/* ${XMERL}/$${SUBDIR}; \
${CHMOD} ${SHAREMODE} ${XMERL}/$${SUBDIR}/*; \
done
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${XMERL}
@${LN} -sf ${PORTNAME}-${PORTVERSION} ${PREFIX}/lib/erlang/lib/${PORTNAME}
.include <bsd.port.mk>
|