aboutsummaryrefslogtreecommitdiffstats
path: root/lang/pnetlib/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-03-11 07:55:50 +0800
committerpav <pav@FreeBSD.org>2004-03-11 07:55:50 +0800
commit6d91356d112beec99648085c55bc58d4f498131e (patch)
tree1e473e88d5de14b5e20129d38030b47d0b5e7346 /lang/pnetlib/Makefile
parent44d3fc30a1e8765e8e0097ade2f30ec9d06bbc43 (diff)
downloadfreebsd-ports-gnome-6d91356d112beec99648085c55bc58d4f498131e.tar.gz
freebsd-ports-gnome-6d91356d112beec99648085c55bc58d4f498131e.tar.zst
freebsd-ports-gnome-6d91356d112beec99648085c55bc58d4f498131e.zip
- Add documentation
- Add depedency on X11 libraries - Bump portrevision PR: ports/64027 Submitted by: michael johnson <ahze@ahze.net> (maintainer)
Diffstat (limited to 'lang/pnetlib/Makefile')
-rw-r--r--lang/pnetlib/Makefile18
1 files changed, 17 insertions, 1 deletions
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>