aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/qt22
diff options
context:
space:
mode:
authorchuckr <chuckr@FreeBSD.org>1996-10-12 06:10:23 +0800
committerchuckr <chuckr@FreeBSD.org>1996-10-12 06:10:23 +0800
commit632df0173e2a51a2a193936e1162b49735573dd8 (patch)
treeec6120426b49e821c63c4cd6afca6e515466d97b /x11-toolkits/qt22
parent910c6fc5643e69bcff8fdc54c4346670dd9c26d1 (diff)
downloadfreebsd-ports-gnome-632df0173e2a51a2a193936e1162b49735573dd8.tar.gz
freebsd-ports-gnome-632df0173e2a51a2a193936e1162b49735573dd8.tar.zst
freebsd-ports-gnome-632df0173e2a51a2a193936e1162b49735573dd8.zip
Update Makefile to use install macros, delete extra superfluous lines,
add some docs. Pointed out by Satoshi.
Diffstat (limited to 'x11-toolkits/qt22')
-rw-r--r--x11-toolkits/qt22/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/x11-toolkits/qt22/Makefile b/x11-toolkits/qt22/Makefile
index ef78b7630da8..51a26a642340 100644
--- a/x11-toolkits/qt22/Makefile
+++ b/x11-toolkits/qt22/Makefile
@@ -3,7 +3,7 @@
# Date created: 30 Jul 1996
# Whom: searle@longacre.demon.co.uk
#
-# $Id: Makefile,v 1.3 1996/10/02 02:22:27 jkh Exp $
+# $Id: Makefile,v 1.4 1996/10/09 11:25:32 jkh Exp $
#
DISTNAME= qt-1.0
@@ -20,17 +20,19 @@ post-extract:
cd $(WRKDIR)/$(DISTNAME)/arch; $(GMAKE) freebsd
do-install:
- install -c $(WRKDIR)/qt-1.0/bin/moc $(X11BASE)/bin
- install -c $(WRKDIR)/qt-1.0/lib/libqt.so.1.0 $(X11BASE)/lib
- mv $(PREFIX)/lib/libqt.so.1.0 $(PREFIX)/lib/libqt.so.1.0
+ ${INSTALL_PROGRAM} $(WRKDIR)/qt-1.0/bin/moc $(X11BASE)/bin
+ ${INSTALL_DATA} $(WRKDIR)/qt-1.0/lib/libqt.so.1.0 $(X11BASE)/lib
/sbin/ldconfig -m $(PREFIX)/lib
mkdir -p $(PREFIX)/include/X11/qt
- install $(WRKDIR)/qt-1.0/include/* $(PREFIX)/include/X11/qt
+ ${INSTALL_DATA} $(WRKDIR)/qt-1.0/include/* $(PREFIX)/include/X11/qt
.if !defined(NOMANCOMPRESS)
gzip -9nf $(WRKDIR)/qt-1.0/man/man1/*.1
- gzip -9nf $(WRKDIR)/qt-1.0/man/man3/*3qt
+ gzip -9nf $(WRKDIR)/qt-1.0/man/man3/*.3qt
.endif
- install $(WRKDIR)/qt-1.0/man/man1/* $(PREFIX)/man/man1
- install $(WRKDIR)/qt-1.0/man/man3/* $(PREFIX)/man/man3
+ ${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
.include <bsd.port.mk>