1996-12-30 07:13:51 +00:00
|
|
|
# New ports collection makefile for: tix
|
|
|
|
# Date created: 22 December 1996
|
|
|
|
# Whom: Thomas Gellekum <tg@freebsd.org>
|
|
|
|
#
|
1999-08-31 03:04:38 +00:00
|
|
|
# $FreeBSD$
|
1996-12-30 07:13:51 +00:00
|
|
|
#
|
|
|
|
|
2000-04-10 01:11:24 +00:00
|
|
|
PORTNAME= tix
|
|
|
|
PORTVERSION= 4.1.0.007
|
1999-11-29 03:56:34 +00:00
|
|
|
CATEGORIES= x11-toolkits tk82
|
1999-12-05 06:46:34 +00:00
|
|
|
MASTER_SITES= http://www.neosoft.com/tcl/ftparchive/%SUBDIR%/ \
|
1999-11-29 03:56:34 +00:00
|
|
|
ftp://ftp.riken.go.jp/pub/lang/tcl/netsoft/%SUBDIR%/
|
|
|
|
MASTER_SITE_SUBDIR= sorted/packages-8.0/x11/Tix/4.1.0.007
|
2000-04-10 01:11:24 +00:00
|
|
|
DISTNAME= Tix${PORTVERSION}
|
1996-12-30 07:13:51 +00:00
|
|
|
|
2000-02-17 20:15:04 +00:00
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
1996-12-30 07:13:51 +00:00
|
|
|
|
1999-11-29 03:56:34 +00:00
|
|
|
LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
|
1996-12-30 07:13:51 +00:00
|
|
|
|
1999-11-29 03:56:34 +00:00
|
|
|
WRKSRC= ${WRKDIR}/Tix4.1.0.007/unix/tk8.0
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
1996-12-30 07:13:51 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1997-04-22 10:16:22 +00:00
|
|
|
CONFIGURE_ARGS= --enable-shared --enable-sam \
|
1999-11-29 03:56:34 +00:00
|
|
|
--with-tcl="${PREFIX}/include/tcl8.2" \
|
|
|
|
--with-tk="${PREFIX}/include/tk8.2"
|
1997-01-07 08:17:13 +00:00
|
|
|
# this should probably be added to bsd.port.mk
|
1996-12-30 07:13:51 +00:00
|
|
|
CONFIGURE_ENV= PREFIX=${PREFIX}
|
1999-04-12 08:53:11 +00:00
|
|
|
MAN1= tixwish.1
|
1996-12-30 07:13:51 +00:00
|
|
|
MANN= BtnBox.n Balloon.n ChkList.n Destroy.n ComboBox.n Control.n \
|
|
|
|
DItem.n DirDlg.n DirList.n DirTree.n FileBox.n EFileBox.n \
|
|
|
|
EFileDlg.n FileDlg.n FileEnt.n Form.n GetBool.n GetInt.n \
|
|
|
|
Grid.n HList.n InpOnly.n LabEntry.n Meter.n LabFrame.n \
|
|
|
|
ListNBK.n Mwm.n NBFrame.n NoteBook.n SHList.n PopMenu.n \
|
|
|
|
OptMenu.n PanedWin.n SListBox.n SText.n SWindow.n TList.n \
|
|
|
|
Select.n StdBBox.n TixIntro.n Tree.n Utils.n Wm.n compound.n \
|
|
|
|
pixmap.n tix.n
|
|
|
|
|
1999-12-05 06:46:34 +00:00
|
|
|
TIX_LIB= libtix4182.so
|
|
|
|
TIXSAM_LIB= libtixsam4182.so
|
1999-12-09 16:16:26 +00:00
|
|
|
TIX_LIB_FILE= ${TIX_LIB}.1
|
|
|
|
TIXSAM_LIB_FILE=${TIXSAM_LIB}.1
|
1998-10-06 08:05:44 +00:00
|
|
|
|
1998-11-14 09:43:39 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1997-02-21 14:55:05 +00:00
|
|
|
pre-configure:
|
1997-07-30 06:08:45 +00:00
|
|
|
@(cd ${WRKSRC}/.. && \
|
1997-02-21 14:55:05 +00:00
|
|
|
CC="${CC}" ac_cv_path_CC="${CC}" CFLAGS="${CFLAGS}" \
|
1999-04-12 08:53:11 +00:00
|
|
|
INSTALL="/usr/bin/install -c -o ${BINOWN} -g ${BINGRP}" \
|
|
|
|
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
|
|
|
|
${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})
|
1997-04-22 10:16:22 +00:00
|
|
|
|
1996-12-30 07:13:51 +00:00
|
|
|
post-install:
|
1997-07-30 06:08:45 +00:00
|
|
|
@(cd ${WRKSRC}/.. && \
|
1997-02-21 14:55:05 +00:00
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
|
1999-12-05 06:46:34 +00:00
|
|
|
${LN} -fs ${PREFIX}/bin/tixwish4.1.8.2 ${PREFIX}/bin/tixwish
|
1998-10-06 08:05:44 +00:00
|
|
|
${LN} -fs ${TIX_LIB_FILE} ${PREFIX}/lib/${TIX_LIB}
|
|
|
|
${LN} -fs ${TIXSAM_LIB_FILE} ${PREFIX}/lib/${TIXSAM_LIB}
|
1997-01-07 08:17:13 +00:00
|
|
|
.for dir in generic unix
|
|
|
|
@${MKDIR} ${PREFIX}/include/tix/${dir}
|
1997-07-30 06:08:45 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/../../${dir}/*.h ${PREFIX}/include/tix/${dir}
|
1997-01-07 08:17:13 +00:00
|
|
|
.endfor
|
|
|
|
${RM} ${PREFIX}/include/tix/generic/tix.h
|
|
|
|
@# These two files are the same
|
1999-05-02 06:01:36 +00:00
|
|
|
${LN} -sf ../../tix.h ${PREFIX}/include/tix/generic
|
1999-12-09 22:13:15 +00:00
|
|
|
${MV} ${PREFIX}/man/mann/tixwish.1 ${PREFIX}/man/man1
|
1996-12-30 07:13:51 +00:00
|
|
|
|
1998-11-14 09:43:39 +00:00
|
|
|
.include <bsd.port.post.mk>
|