aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/pnet-base/Makefile19
-rw-r--r--lang/pnet/Makefile1
-rw-r--r--lang/pnet/Makefile.pnet2
-rw-r--r--lang/pnetlib/Makefile18
4 files changed, 37 insertions, 3 deletions
diff --git a/lang/pnet-base/Makefile b/lang/pnet-base/Makefile
index 4cf0f92d10f6..ac270dfda4de 100644
--- a/lang/pnet-base/Makefile
+++ b/lang/pnet-base/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pnet
PORTVERSION= ${PNET_VERSION}
+PORTREVISION= ${PNET_REVISION}
CATEGORIES= lang
MASTER_SITES= ${PNET_MASTER_SITES}
PKGNAMESUFFIX= base
@@ -17,6 +18,10 @@ COMMENT= C\# compiler and runtime engine
BUILD_DEPENDS= treecc:${PORTSDIR}/lang/treecc
LIB_DEPENDS= ffi.2:${PORTSDIR}/devel/libffi
+.if !defined(WITHOUT_X11)
+USE_XLIB= yes
+.endif
+
USE_LIBTOOL= yes
USE_GMAKE= yes
USE_REINPLACE= yes
@@ -27,12 +32,17 @@ CONFIGURE_ARGS+= --enable-threads=posix
CONFIGURE_ARGS+= --disable-optimizations
.endif
+PORTDOCS= ChangeLog-1 ChangeLog-2 ChangeLog-3 ChangeLog-4 Doxyfile \
+ c_language_abi.html c_users_guide.html embedded.html gtk-sharp.HOWTO \
+ l10n.html libgc_changes.txt pinvoke.html pnet_faq.html pnetasm.texi \
+ unrolling.txt
INFO= pnettools
MAN1= clrwrap.1 csant.1 cscc.1 csdoc.1 csdoc2hier.1 csdoc2html.1 \
csdoc2texi.1 cssrc2html.1 ilalink.1 ilasm.1 ildasm.1 ildd.1 \
ilfind.1 ilgac.1 ilheader.1 ilnative.1 ilranlib.1 ilrun.1 ilsize.1 \
ilstrip.1 ilverify.1 resgen.1
+.include "${.CURDIR}/../pnet/Makefile.pnet"
.include <bsd.port.pre.mk>
post-everything::
@@ -45,5 +55,12 @@ post-patch:
@${REINPLACE_CMD} -e 's|`$$CC -print-multi-os-directory 2>/dev/null`|elf|' \
${WRKSRC}/libffi/configure ${WRKSRC}/libffi/configure.in
-.include "${.CURDIR}/../pnet/Makefile.pnet"
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for docfile in ${PORTDOCS}
+ @${INSTALL_DATA} ${WRKSRC}/doc/${docfile} ${DOCSDIR}
+.endfor
+.endif
+
.include <bsd.port.post.mk>
diff --git a/lang/pnet/Makefile b/lang/pnet/Makefile
index da0c93a088e1..d806379b2d16 100644
--- a/lang/pnet/Makefile
+++ b/lang/pnet/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pnet
PORTVERSION= ${PNET_VERSION}
+PORTREVISION= ${PNET_REVISION}
CATEGORIES= lang
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/lang/pnet/Makefile.pnet b/lang/pnet/Makefile.pnet
index 48c7e3eaf49a..c05ad53fbacb 100644
--- a/lang/pnet/Makefile.pnet
+++ b/lang/pnet/Makefile.pnet
@@ -1,5 +1,5 @@
PNET_VERSION= 0.6.2
-PNET_REVISION= 0
+PNET_REVISION= 1
PNET_PORTVER= ${PNET_VERSION}.${PNET_REVISION}
PNET_PORTREV= 0
PNET_PORTEPOCH= 0
diff --git a/lang/pnetlib/Makefile b/lang/pnetlib/Makefile
index 6d3edc2dd4ed..e50eb6d6ac2a 100644
--- a/lang/pnetlib/Makefile
+++ b/lang/pnetlib/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pnetlib
PORTVERSION= ${PNET_VERSION}
+PORTREVISION= ${PNET_REVISION}
CATEGORIES= lang
MASTER_SITES= ${PNET_MASTER_SITES}
@@ -16,14 +17,29 @@ COMMENT= C\# system library for pnet
BUILD_DEPENDS= cscc:${PORTSDIR}/lang/pnet-base \
treecc:${PORTSDIR}/lang/treecc
+.if !defined(WITHOUT_X11)
+USE_XLIB= yes
+.endif
+
USE_LIBTOOL= yes
USE_GMAKE= yes
STRIP= # Nothing to be stripped.
+PORTDOCS= ChangeLog-1 ChangeLog-2 ChangeLog-3 ChangeLog-4 \
+ JScript-embed.txt JScript-internals.txt csunit_howto.html \
+ pcf-font-format.txt translating-pnetlib.txt
+
+.include "${.CURDIR}/../pnet/Makefile.pnet"
.include <bsd.port.pre.mk>
+
post-install:
${STRIP_CMD} ${PREFIX}/lib/cscc/lib/libXsharpSupport.so.0
${STRIP_CMD} ${PREFIX}/lib/cscc/lib/libXsharpSupport.a
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for docfile in ${PORTDOCS}
+ @${INSTALL_DATA} ${WRKSRC}/doc/${docfile} ${DOCSDIR}
+.endfor
+.endif
-.include "${.CURDIR}/../pnet/Makefile.pnet"
.include <bsd.port.post.mk>