35 lines
732 B
Makefile
35 lines
732 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: findlib
|
|
# Date created: Jul 10, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= findlib
|
|
PORTVERSION= 1.0.3
|
|
PORTREVISION= 0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.ocaml-programming.de/packages/
|
|
PKGNAMEPREFIX= ocaml-
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= OCaml package manager
|
|
|
|
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
|
|
|
|
HAS_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
|
|
PLIST_FILES= bin/ocamlfind etc/findlib.conf
|
|
|
|
MAN1= ocamlfind.1
|
|
MAN5= META.5 findlib.conf.5 site-lib.5
|
|
|
|
post-install:
|
|
@${FIND} ${PREFIX}/lib/ocaml -type f | \
|
|
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
|
@${FIND} ${PREFIX}/lib/ocaml -type d | ${SORT} -r | \
|
|
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
|
|
|
.include <bsd.port.mk>
|