1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Finish stage support

This commit is contained in:
Antoine Brodin 2014-08-11 17:36:52 +00:00
parent e91f5afdf5
commit 8c5b79937d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364629
2 changed files with 6 additions and 16 deletions

View File

@ -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>

View File

@ -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