freebsd-ports/lang/tclX/Makefile
Scott Mace 1dda6cac78 Convert to ELF.
use MAN3 macro
PR:		8017
Approved by:	jseger
1998-10-11 19:51:36 +00:00

46 lines
1.6 KiB
Makefile

# New ports collection makefile for: tclX
# Version required: 8.0.2
# Date created: 6 February 1996
# Whom: jkh
#
# $Id: Makefile,v 1.24 1998/09/25 10:05:08 asami Exp $
#
DISTNAME= tclX8.0.2
PKGNAME= tclX-8.0.2
CATEGORIES= lang tcl80 tk80
MASTER_SITES= ftp://ftp.neosoft.com/pub/tcl/tclx-distrib/
MAINTAINER= jseger@FreeBSD.ORG
LIB_DEPENDS= tk80.1:${PORTSDIR}/x11-toolkits/tk80
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --with-tk
MAN3= CmdWrite.3 Handles.3 Keylist.3 TclCommandWriting.3 TclXInit.3 \
TclX_KeyedListDelete.3 TclX_KeyedListGet.3 TclX_KeyedListGetKeys.3 \
TclX_KeyedListSet.3 TclX_Main.3 TclX_NewKeyedListObj.3 \
Tcl_HandleAlloc.3 Tcl_HandleFree.3 Tcl_HandleTblInit.3 \
Tcl_HandleTblRelease.3 Tcl_HandleTblUseCount.3 Tcl_HandleWalk.3 \
Tcl_HandleXlate.3 Tclx_Init.3 Tclxcmd_Init.3 TkX_Main.3 Tkx_Init.3
MANN= Memory.n TclX.n Tcl_DisplayMemory.n Tcl_InitMemory.n \
Tcl_ValidateAllMemory.n ckalloc.n ckfree.n memory.n
post-install:
$(INSTALL_MAN) $(WRKSRC)/../doc/CmdWrite.3 $(PREFIX)/man/man3
$(INSTALL_MAN) $(WRKSRC)/../doc/Handles.3 $(PREFIX)/man/man3
$(INSTALL_MAN) $(WRKSRC)/../doc/Keylist.3 $(PREFIX)/man/man3
$(INSTALL_MAN) $(WRKSRC)/../doc/TclXInit.3 $(PREFIX)/man/man3
$(INSTALL_MAN) $(WRKSRC)/../doc/Memory.n $(PREFIX)/man/mann
$(INSTALL_MAN) $(WRKSRC)/../doc/TclX.n $(PREFIX)/man/mann
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.if exists(${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish)
${SH} ${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish
.endif
.include <bsd.port.mk>
PKG_ARGS+= -i ${PORTSDIR}/x11-toolkits/tk80/pkg/INSTALL.wish