summaryrefslogtreecommitdiff
path: root/devel/ocaml-calendar
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2008-05-13 16:02:41 +0000
committerStanislav Sedov <stas@FreeBSD.org>2008-05-13 16:02:41 +0000
commite208c69337681e2454d82d01931f522dbacece15 (patch)
tree1951e1b92a3d0e48d5eb9d06a125ad726159f719 /devel/ocaml-calendar
parent- Fix dependency and fix INDEX (diff)
- 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
Notes
Notes: svn path=/head/; revision=212998
Diffstat (limited to 'devel/ocaml-calendar')
-rw-r--r--devel/ocaml-calendar/Makefile6
-rw-r--r--devel/ocaml-calendar/pkg-plist12
2 files changed, 5 insertions, 13 deletions
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 <bsd.port.mk>
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