1996-10-02 02:22:30 +00:00
|
|
|
# New ports collection makefile for: qt-1.0
|
1996-10-09 11:25:32 +00:00
|
|
|
# Version required: 1.0
|
1996-07-31 00:20:49 +00:00
|
|
|
# Date created: 30 Jul 1996
|
|
|
|
# Whom: searle@longacre.demon.co.uk
|
|
|
|
#
|
1996-11-13 12:41:39 +00:00
|
|
|
# $Id: Makefile,v 1.5 1996/10/11 22:10:23 chuckr Exp $
|
1996-07-31 00:20:49 +00:00
|
|
|
#
|
|
|
|
|
1996-10-02 02:22:30 +00:00
|
|
|
DISTNAME= qt-1.0
|
1996-07-31 00:20:49 +00:00
|
|
|
CATEGORIES+= x11
|
1996-07-31 01:09:19 +00:00
|
|
|
MASTER_SITES= ftp://ftp.troll.no/qt/source/
|
1996-07-31 00:20:49 +00:00
|
|
|
|
|
|
|
MAINTAINER= searle@longacre.demon.co.uk
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
1996-10-02 02:22:30 +00:00
|
|
|
WRKSRC= $(WRKDIR)/$(DISTNAME)/arch/freebsd-gcc-shared
|
1996-07-31 00:20:49 +00:00
|
|
|
USE_X11= yes
|
|
|
|
|
|
|
|
post-extract:
|
1996-10-02 02:22:30 +00:00
|
|
|
cd $(WRKDIR)/$(DISTNAME)/arch; $(GMAKE) freebsd
|
1996-11-13 12:41:39 +00:00
|
|
|
|
1996-07-31 00:20:49 +00:00
|
|
|
do-install:
|
1996-10-11 22:10:23 +00:00
|
|
|
${INSTALL_PROGRAM} $(WRKDIR)/qt-1.0/bin/moc $(X11BASE)/bin
|
|
|
|
${INSTALL_DATA} $(WRKDIR)/qt-1.0/lib/libqt.so.1.0 $(X11BASE)/lib
|
1996-07-31 00:20:49 +00:00
|
|
|
/sbin/ldconfig -m $(PREFIX)/lib
|
|
|
|
mkdir -p $(PREFIX)/include/X11/qt
|
1996-10-11 22:10:23 +00:00
|
|
|
${INSTALL_DATA} $(WRKDIR)/qt-1.0/include/* $(PREFIX)/include/X11/qt
|
1996-07-31 00:20:49 +00:00
|
|
|
.if !defined(NOMANCOMPRESS)
|
1996-11-13 12:41:39 +00:00
|
|
|
${GZIP_CMD} $(WRKDIR)/qt-1.0/man/man1/*.1
|
|
|
|
${GZIP_CMD} $(WRKDIR)/qt-1.0/man/man3/*.3qt
|
1996-07-31 00:20:49 +00:00
|
|
|
.endif
|
1996-10-11 22:10:23 +00:00
|
|
|
${INSTALL_MAN} $(WRKDIR)/qt-1.0/man/man1/* $(PREFIX)/man/man1
|
|
|
|
${INSTALL_MAN} $(WRKDIR)/qt-1.0/man/man3/* $(PREFIX)/man/man3
|
|
|
|
mkdir -p ${PREFIX}/share/doc/qt
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/qt-1.0/README ${PREFIX}/share/doc/qt
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/qt-1.0/README.QT ${PREFIX}/share/doc/qt
|
1996-07-31 00:20:49 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|