aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2008-05-14 00:02:41 +0800
committerstas <stas@FreeBSD.org>2008-05-14 00:02:41 +0800
commitc10169dfb2284e2a2fdf4813c1635cecdb6f89aa (patch)
tree6780d1724a29b687435f5ba147a589ba0cdf1ddc /devel
parenteb4ae8505522b23437c72a9a8652d0546228d07b (diff)
downloadfreebsd-ports-gnome-c10169dfb2284e2a2fdf4813c1635cecdb6f89aa.tar.gz
freebsd-ports-gnome-c10169dfb2284e2a2fdf4813c1635cecdb6f89aa.tar.zst
freebsd-ports-gnome-c10169dfb2284e2a2fdf4813c1635cecdb6f89aa.zip
- 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
Diffstat (limited to 'devel')
-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