summaryrefslogtreecommitdiffstats
path: root/lang/pnet-base
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-03-10 23:55:50 +0000
committerpav <pav@FreeBSD.org>2004-03-10 23:55:50 +0000
commit6d91356d112beec99648085c55bc58d4f498131e (patch)
tree1e473e88d5de14b5e20129d38030b47d0b5e7346 /lang/pnet-base
parent44d3fc30a1e8765e8e0097ade2f30ec9d06bbc43 (diff)
downloadFreeBSD-ports-6d91356d112beec99648085c55bc58d4f498131e.zip
FreeBSD-ports-6d91356d112beec99648085c55bc58d4f498131e.tar.gz
- Add documentation
- Add depedency on X11 libraries - Bump portrevision PR: ports/64027 Submitted by: michael johnson <ahze@ahze.net> (maintainer)
Diffstat (limited to 'lang/pnet-base')
-rw-r--r--lang/pnet-base/Makefile19
1 files changed, 18 insertions, 1 deletions
diff --git a/lang/pnet-base/Makefile b/lang/pnet-base/Makefile
index 4cf0f92..ac270df 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>
OpenPOWER on IntegriCloud