summaryrefslogtreecommitdiff
path: root/x11/tix/Makefile
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-05-04 22:10:06 +0000
committertron <tron@pkgsrc.org>1998-05-04 22:10:06 +0000
commitce2b71c4bae6096ed90d7cbb67e4f15908c3f9bf (patch)
treedcc3ce214ea416a2ff2502a84f8483934614a156 /x11/tix/Makefile
parent368cdefca44a4a81acc21355d63707c361bdf805 (diff)
downloadpkgsrc-ce2b71c4bae6096ed90d7cbb67e4f15908c3f9bf.tar.gz
Initial import of FreeBSD's "tix" port.
Diffstat (limited to 'x11/tix/Makefile')
-rw-r--r--x11/tix/Makefile57
1 files changed, 57 insertions, 0 deletions
diff --git a/x11/tix/Makefile b/x11/tix/Makefile
new file mode 100644
index 00000000000..6a8213c6329
--- /dev/null
+++ b/x11/tix/Makefile
@@ -0,0 +1,57 @@
+# New ports collection makefile for: tix
+# Version required: 4.1.0.006
+# Date created: 22 December 1996
+# Whom: Thomas Gellekum <tg@freebsd.org>
+#
+# $FreeBSD Id: Makefile,v 1.15 1998/03/17 07:55:17 tg Exp
+#
+
+DISTNAME= Tix4.1.0.006
+PKGNAME= tix-4.1.0.006
+CATEGORIES= x11 tk80
+MASTER_SITES= ftp://ftp.xpi.com/pub/
+
+MAINTAINER= ports@FreeBSD.ORG
+
+LIB_DEPENDS= tk80\\.1\\.:${PORTSDIR}/x11/tk80
+
+WRKSRC= ${WRKDIR}/Tix4.1.0/unix/tk8.0
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-shared --enable-sam \
+ --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
+
+pre-configure:
+ @(cd ${WRKSRC}/.. && \
+ 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}/.. && \
+ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
+ @${MKDIR} ${PREFIX}/man/man1
+ @mv ${PREFIX}/man/mann/tixwish.1 ${PREFIX}/man/man1
+ @ln -sf ${PREFIX}/bin/tixwish4.1.8.0 ${PREFIX}/bin/tixwish
+ ${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.mk>