diff options
author | tron <tron@pkgsrc.org> | 1998-05-04 22:55:29 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1998-05-04 22:55:29 +0000 |
commit | aaab14914cfcf32458ef8c9dd1e52852afd19b4c (patch) | |
tree | ca91d8524e4cf61105b0a1871ceb9212028d27ae /x11/tix | |
parent | ce2b71c4bae6096ed90d7cbb67e4f15908c3f9bf (diff) | |
download | pkgsrc-aaab14914cfcf32458ef8c9dd1e52852afd19b4c.tar.gz |
Adapt this package to NetBSD, based on work done by Rene Hexel.
Diffstat (limited to 'x11/tix')
-rw-r--r-- | x11/tix/Makefile | 30 | ||||
-rw-r--r-- | x11/tix/pkg/PLIST | 4 |
2 files changed, 15 insertions, 19 deletions
diff --git a/x11/tix/Makefile b/x11/tix/Makefile index 6a8213c6329..1bec2444d43 100644 --- a/x11/tix/Makefile +++ b/x11/tix/Makefile @@ -1,19 +1,14 @@ -# New ports collection makefile for: tix -# Version required: 4.1.0.006 -# Date created: 22 December 1996 -# Whom: Thomas Gellekum <tg@freebsd.org> -# +# $NetBSD: Makefile,v 1.2 1998/05/04 22:55:29 tron Exp $ # $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 +MAINTAINER= rh@vip.at -LIB_DEPENDS= tk80\\.1\\.:${PORTSDIR}/x11/tk80 +DEPENDS+= tk-8.0p2:../../x11/tk80 WRKSRC= ${WRKDIR}/Tix4.1.0/unix/tk8.0 GNU_CONFIGURE= yes @@ -21,8 +16,8 @@ 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 +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 \ @@ -35,23 +30,22 @@ MANN= BtnBox.n Balloon.n ChkList.n Destroy.n ComboBox.n Control.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}) + INSTALL="${INSTALL}" 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 + @${MV} ${PREFIX}/man/mann/tixwish.1 ${PREFIX}/man/man1 + @${LN} -sf ${PREFIX}/bin/tixwish4.1.8.0 ${PREFIX}/bin/tixwish + ${LDCONFIG} || ${TRUE} .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 + ${LN} -sf ../../tix.h ${PREFIX}/include/tix/generic -.include <bsd.port.mk> +.include <../../mk/bsd.pkg.mk> diff --git a/x11/tix/pkg/PLIST b/x11/tix/pkg/PLIST index bbd09ed28f0..fabd123cb4a 100644 --- a/x11/tix/pkg/PLIST +++ b/x11/tix/pkg/PLIST @@ -1,3 +1,4 @@ +@comment $NetBSD: PLIST,v 1.2 1998/05/04 22:55:30 tron Exp $ bin/tixwish4.1.8.0 @exec ln -s %D/%F %B/tixwish @unexec rm %B/tixwish @@ -18,7 +19,8 @@ include/tix/unix/tixUnixInt.h include/tix/unix/tixUnixPort.h lib/libtix4180.so.1.2 lib/libtixsam4180.so.1.2 -@exec /sbin/ldconfig -m %B +@exec /sbin/ldconfig || /usr/bin/true +@unexec /sbin/ldconfig || /usr/bin/true man/mann/BtnBox.n.gz man/mann/Balloon.n.gz man/mann/ChkList.n.gz |