dc33aa59f5
net/gaim -> net-im/gaim net/gaim-latex -> net-im/gaim-latex net/gaim-openq -> net-im/gaim-openq net/gaim-rss-reader -> net-im/gaim-rss-reader net/gicq -> net-im/gicq net/gnomeicu2 -> net-im/gnomeicu2 net/gossip -> net-im/gossip net/ickle -> net-im/ickle net/jabber -> net-im/jabber net/jabber-aim -> net-im/jabber-aim net/jabber-conference -> net-im/jabber-conference net/jabber-jud -> net-im/jabber-jud net/jabber-msn -> net-im/jabber-msn net/jabber-users-agent -> net-im/jabber-users-agent net/jabber-yahoo -> net-im/jabber-yahoo net/jarl -> net-im/jarl net/kf -> net-im/kf net/libicq -> net-im/libicq net/libicq2000 -> net-im/libicq2000 net/loudmouth -> net-im/loudmouth net/meanwhile -> net-im/meanwhile net/meanwhile-gaim -> net-im/meanwhile-gaim net/newsbot -> net-im/newsbot net/ocaml-jabbr -> net-im/ocaml-jabbr net/psi -> net-im/psi net/py-jabber -> net-im/py-jabber net/py-twistedWords -> net-im/py-twistedWords net/p5-Net-Jabber -> net-im/p5-Net-Jabber Repocopied by: marcus
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
# New ports collection makefile for: ocaml jabbr
|
|
# Date created: Thu Jan 9 05:59:43 UTC 2003
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jabbr
|
|
PORTVERSION= 0.0.${DATE_VERSION}
|
|
CATEGORIES= net-im
|
|
MASTER_SITES= http://mikelin.mit.edu/xmpp/jabbr/
|
|
PKGNAMEPREFIX= ocaml-
|
|
DISTNAME= jabbr
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
|
COMMENT= XML Messaging and Presence Protocol a.k.a. Jabber for Objective Caml
|
|
|
|
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/ocaml/cryptokit.cma:${PORTSDIR}/security/ocaml-cryptokit \
|
|
${LOCALBASE}/lib/ocaml/yaxpo.cma:${PORTSDIR}/textproc/ocaml-yaxpo
|
|
|
|
# depend when building as well
|
|
BUILD_DEPENDS+= ${RUN_DEPENDS}
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
DATE_VERSION= 20021124
|
|
|
|
post-configure:
|
|
# PREFIX safeness
|
|
@${REINPLACE_CMD} -E -e \
|
|
's|^(INSTALLDIR).*$$|\1=${PREFIX}/lib/ocaml|' \
|
|
${WRKSRC}/Makefile
|
|
|
|
post-build:
|
|
.ifndef(NOPORTDOCS)
|
|
@cd ${WRKSRC} && ${MAKE} doc
|
|
.endif
|
|
|
|
pre-install:
|
|
# in pre-install to make sure we're using the correct user:group
|
|
# combo
|
|
@${REINPLACE_CMD} -E -e \
|
|
's|cp -f |${INSTALL_DATA} |' \
|
|
${WRKSRC}/Makefile
|
|
# create installation dir
|
|
@${MKDIR} ${PREFIX}/lib/ocaml
|
|
|
|
post-install:
|
|
.ifndef(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|