From e208c69337681e2454d82d01931f522dbacece15 Mon Sep 17 00:00:00 2001 From: Stanislav Sedov Date: Tue, 13 May 2008 16:02:41 +0000 Subject: [PATCH] - Use autogenerated PLIST while ports/122844 isn't here yet. This fixes package building in specific ocaml configurations (the list of installed files varies). - Bump PORTREVISION. Discussed with: miwi --- devel/ocaml-calendar/Makefile | 6 +++++- devel/ocaml-calendar/pkg-plist | 12 ------------ 2 files changed, 5 insertions(+), 13 deletions(-) delete mode 100644 devel/ocaml-calendar/pkg-plist diff --git a/devel/ocaml-calendar/Makefile b/devel/ocaml-calendar/Makefile index 38fa601c7b00..c496e260c00b 100644 --- a/devel/ocaml-calendar/Makefile +++ b/devel/ocaml-calendar/Makefile @@ -7,6 +7,7 @@ PORTNAME= calendar PORTVERSION= 2.0.2 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.lri.fr/~signoles/prog/calendar/ PKGNAMEPREFIX= ocaml- @@ -18,6 +19,9 @@ GNU_CONFIGURE= yes USE_GMAKE= yes USE_OCAML= yes USE_OCAML_FINDLIB= yes -USE_OCAML_PLIST= yes + +post-install: + @${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \ + ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} .include diff --git a/devel/ocaml-calendar/pkg-plist b/devel/ocaml-calendar/pkg-plist deleted file mode 100644 index 34c0f2566c33..000000000000 --- a/devel/ocaml-calendar/pkg-plist +++ /dev/null @@ -1,12 +0,0 @@ -%%OCAML_SITELIBDIR%%/calendar/META -%%OCAML_SITELIBDIR%%/calendar/calendar.mli -%%OCAML_SITELIBDIR%%/calendar/date.cmi -%%OCAML_SITELIBDIR%%/calendar/date.mli -%%OCAML_SITELIBDIR%%/calendar/period.cmi -%%OCAML_SITELIBDIR%%/calendar/period.mli -%%OCAML_SITELIBDIR%%/calendar/printer.cmi -%%OCAML_SITELIBDIR%%/calendar/printer.mli -%%OCAML_SITELIBDIR%%/calendar/time.cmi -%%OCAML_SITELIBDIR%%/calendar/time.mli -%%OCAML_SITELIBDIR%%/calendar/time_Zone.cmi -%%OCAML_SITELIBDIR%%/calendar/time_Zone.mli