1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/x11-toolkits/tix/Makefile

75 lines
2.5 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: tix
1997-10-01 12:19:43 +00:00
# Version required: 4.1.0.006
# Date created: 22 December 1996
# Whom: Thomas Gellekum <tg@freebsd.org>
#
# $Id: Makefile,v 1.21 1998/11/18 09:02:25 tg Exp $
#
1997-10-01 12:19:43 +00:00
DISTNAME= Tix4.1.0.006
PKGNAME= tix-4.1.0.006
CATEGORIES= x11-toolkits tk80
MASTER_SITES= http://www.neosoft.com/tcl/ftparchive/sorted/devel/ \
1998-11-18 09:02:25 +00:00
ftp://ftp.gwdg.de/pub/x11/tcl/ftp.xpi.com/ \
ftp://ftp.riken.go.jp/pub/lang/tcl/netsoft/sorted/packages-7.6/devel/
MAINTAINER= ports@FreeBSD.ORG
1998-09-25 10:05:14 +00:00
LIB_DEPENDS= tk80.1:${PORTSDIR}/x11-toolkits/tk80
1997-10-01 12:19:43 +00:00
WRKSRC= ${WRKDIR}/Tix4.1.0/unix/tk8.0
GNU_CONFIGURE= yes
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"
# this should probably be added to bsd.port.mk
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
TIX_LIB= libtix4180.so
TIXSAM_LIB= libtixsam4180.so
.include <bsd.port.pre.mk>
.if ${PORTOBJFORMAT} == "elf"
TIX_LIB_FILE= ${TIX_LIB}.1
TIXSAM_LIB_FILE=${TIXSAM_LIB}.1
.else
TIX_LIB_FILE= ${TIX_LIB}.1.2
TIXSAM_LIB_FILE=${TIXSAM_LIB}.1.2
.endif
1997-02-21 14:55:05 +00:00
pre-configure:
@(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})
post-install:
@(cd ${WRKSRC}/.. && \
1997-02-21 14:55:05 +00:00
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
@${MKDIR} ${PREFIX}/man/man1
@mv ${PREFIX}/man/mann/tixwish.1 ${PREFIX}/man/man1
${LN} -fs ${PREFIX}/bin/tixwish4.1.8.0 ${PREFIX}/bin/tixwish
${LN} -fs ${TIX_LIB_FILE} ${PREFIX}/lib/${TIX_LIB}
${LN} -fs ${TIXSAM_LIB_FILE} ${PREFIX}/lib/${TIXSAM_LIB}
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.for dir in generic unix
@${MKDIR} ${PREFIX}/include/tix/${dir}
${INSTALL_DATA} ${WRKSRC}/../../${dir}/*.h ${PREFIX}/include/tix/${dir}
.endfor
${RM} ${PREFIX}/include/tix/generic/tix.h
@# These two files are the same
/bin/ln -sf ../../tix.h ${PREFIX}/include/tix/generic
.include <bsd.port.post.mk>