ports/115684: devel/tcllib add NO_INSTALL_MANPAGES
Martin Matuska
martin at matuska.org
Tue Aug 21 13:00:04 UTC 2007
>Number: 115684
>Category: ports
>Synopsis: devel/tcllib add NO_INSTALL_MANPAGES
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 21 13:00:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Martin Matuska
>Release: FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD 6.2-STABLE i386 amd64
>Description:
Add NO_INSTALL_MANPAGES knob for tcllib
PORTREVISION bump not necessary (no change in package)
>How-To-Repeat:
>Fix:
Index: ports/devel/tcllib/Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/tcllib/Makefile,v
retrieving revision 1.27
diff -u -r1.27 Makefile
--- ports/devel/tcllib/Makefile 28 Jun 2007 13:44:37 -0000 1.27
+++ ports/devel/tcllib/Makefile 21 Aug 2007 12:56:48 -0000
@@ -25,6 +25,7 @@
PLIST_SUB+= PORTVERSION=${PORTVERSION}
+.if !defined(NO_INSTALL_MANPAGES)
MANN= aes.n asn.n ansi_cmacros.n ansi_cctrl.n ansi_cattr.n \
ansi_code.n ansi_ctrlu.n ansi_send.n autoproxy.n base32hex.n \
base32core.n base32.n base64.n bee.n bibtex.n bigfloat.n \
@@ -56,6 +57,9 @@
uuencode.n uuid.n yencode.n
MANCOMPRESSED= no
+.else
+INSTALL_TARGET= install-libraries
+.endif
.include <bsd.port.pre.mk>
@@ -95,4 +99,11 @@
post-build: test
+post-install:
+.if defined(NO_INSTALL_MANPAGES)
+.for FILE in dtplite page tcldocstrip
+ ${INSTALL_SCRIPT} ${WRKSRC}/apps/${FILE} ${PREFIX}/bin/${FILE}
+.endfor
+.endif
+
.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list