1996-12-30 07:13:51 +00:00
|
|
|
# New ports collection makefile for: tix
|
1997-10-01 12:19:43 +00:00
|
|
|
# Version required: 4.1.0.006
|
1996-12-30 07:13:51 +00:00
|
|
|
# Date created: 22 December 1996
|
|
|
|
# Whom: Thomas Gellekum <tg@freebsd.org>
|
|
|
|
#
|
1998-08-07 23:56:56 +00:00
|
|
|
# $Id: Makefile,v 1.16 1998/08/07 22:56:40 asami Exp $
|
1996-12-30 07:13:51 +00:00
|
|
|
#
|
|
|
|
|
1997-10-01 12:19:43 +00:00
|
|
|
DISTNAME= Tix4.1.0.006
|
|
|
|
PKGNAME= tix-4.1.0.006
|
1998-08-07 22:56:48 +00:00
|
|
|
CATEGORIES= x11-toolkits tk80
|
1996-12-30 07:13:51 +00:00
|
|
|
MASTER_SITES= ftp://ftp.xpi.com/pub/
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.ORG
|
|
|
|
|
1998-08-07 23:56:56 +00:00
|
|
|
LIB_DEPENDS= tk80\\.1\\.:${PORTSDIR}/x11-toolkits/tk80
|
1996-12-30 07:13:51 +00:00
|
|
|
|
1997-10-01 12:19:43 +00:00
|
|
|
WRKSRC= ${WRKDIR}/Tix4.1.0/unix/tk8.0
|
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 \
|
1998-03-17 07:55:18 +00:00
|
|
|
--with-tcl="${PREFIX}/include/tcl8.0" \
|
|
|
|
--with-tk="${PREFIX}/include/tk8.0"
|
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}
|
|
|
|
MAN1= tixwish.1
|
|
|
|
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
|
|
|
|
|
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}" \
|
|
|
|
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})
|
1996-12-30 07:13:51 +00:00
|
|
|
@${MKDIR} ${PREFIX}/man/man1
|
|
|
|
@mv ${PREFIX}/man/mann/tixwish.1 ${PREFIX}/man/man1
|
1997-12-02 10:55:44 +00:00
|
|
|
@ln -sf ${PREFIX}/bin/tixwish4.1.8.0 ${PREFIX}/bin/tixwish
|
1997-07-17 15:13:02 +00:00
|
|
|
${LDCONFIG} -m ${PREFIX}/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
|
|
|
|
/bin/ln -sf ../../tix.h ${PREFIX}/include/tix/generic
|
1996-12-30 07:13:51 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|