aboutsummaryrefslogtreecommitdiffstats
path: root/java/sablevm
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-08-12 01:36:52 +0800
committerantoine <antoine@FreeBSD.org>2014-08-12 01:36:52 +0800
commitdbcfacb38daccff9f00cb9012b104a48550c20e7 (patch)
tree111878c42b62e048f673415a3857c273da96dba0 /java/sablevm
parent75baa657da95101f176fffdc5aaccf06db1c22d8 (diff)
downloadfreebsd-ports-gnome-dbcfacb38daccff9f00cb9012b104a48550c20e7.tar.gz
freebsd-ports-gnome-dbcfacb38daccff9f00cb9012b104a48550c20e7.tar.zst
freebsd-ports-gnome-dbcfacb38daccff9f00cb9012b104a48550c20e7.zip
Finish stage support
Diffstat (limited to 'java/sablevm')
-rw-r--r--java/sablevm/Makefile20
-rw-r--r--java/sablevm/pkg-plist2
2 files changed, 6 insertions, 16 deletions
diff --git a/java/sablevm/Makefile b/java/sablevm/Makefile
index 360b57c78dc4..62353d7a19c8 100644
--- a/java/sablevm/Makefile
+++ b/java/sablevm/Makefile
@@ -24,25 +24,13 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --includedir=${PREFIX}/include/${PORTNAME}
-OPTIONS_DEFINE= MAN SVMCP
-OPTIONS_DEFAULT=MAN SVMCP
-MAN_DESC= Build and install man pages
+OPTIONS_DEFINE= SVMCP
+OPTIONS_DEFAULT=SVMCP
SVMCP_DESC= Install SableVM classpath
-.include <bsd.port.options.mk>
+SVMCP_RUN_DEPENDS= ${LOCALBASE}/lib/sablevm-classpath/libjavalang.so:${PORTSDIR}/java/sablevm-classpath
-.if ${PORT_OPTIONS:MMAN}
-MAN1= java-sablevm.1 sablevm.1
-.endif
-
-.if ${PORT_OPTIONS:MSVMCP}
-RUN_DEPENDS+= ${LOCALBASE}/lib/sablevm-classpath/libjavalang.so:${PORTSDIR}/java/sablevm-classpath
-.endif
-
-post-extract:
+post-patch:
@${REINPLACE_CMD} -e 's,^subdirs=".*,,' ${WRKSRC}/configure
-.if empty(PORT_OPTIONS:MMAN)
- @${REINPLACE_CMD} -e 's,^\(man_MANS = \).*,\1,' ${WRKSRC}/doc/Makefile.in
-.endif
.include <bsd.port.mk>
diff --git a/java/sablevm/pkg-plist b/java/sablevm/pkg-plist
index 0b18d22f5832..66d6d97de161 100644
--- a/java/sablevm/pkg-plist
+++ b/java/sablevm/pkg-plist
@@ -14,6 +14,8 @@ lib/sablevm/bin/jdb
lib/sablevm/include/jni.h
lib/sablevm/include/jni_system_specific.h
lib/sablevm/jre/bin
+man/man1/java-sablevm.1.gz
+man/man1/sablevm.1.gz
%%DATADIR%%/AUTHORS
%%DATADIR%%/LGPL-2.1
%%DATADIR%%/LICENSE