summaryrefslogtreecommitdiff
path: root/devel/qconf/Makefile
diff options
context:
space:
mode:
authorbjs <bjs>2008-08-23 00:24:53 +0000
committerbjs <bjs>2008-08-23 00:24:53 +0000
commit618bdf4845582e049242731c90960911cfa81a44 (patch)
treeeed55b87053b2a3cc4f45c8b1b1622494ba7a314 /devel/qconf/Makefile
parent596f111fbc7b94963ff97dfe00b9cf3d8c9bffea (diff)
downloadpkgsrc-618bdf4845582e049242731c90960911cfa81a44.tar.gz
Update to version 1.4--just a few bug fixes. While here, install README
and the examples into share/doc/${PKGBASE} and share/examples/${PKGBASE}, respectively.
Diffstat (limited to 'devel/qconf/Makefile')
-rw-r--r--devel/qconf/Makefile21
1 files changed, 18 insertions, 3 deletions
diff --git a/devel/qconf/Makefile b/devel/qconf/Makefile
index 4846d499c5c..5e74dfa7669 100644
--- a/devel/qconf/Makefile
+++ b/devel/qconf/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2008/03/04 11:02:24 rillig Exp $
+# $NetBSD: Makefile,v 1.4 2008/08/23 00:24:53 bjs Exp $
#
-DISTNAME= qconf-1.3
+DISTNAME= qconf-1.4
CATEGORIES= devel
MASTER_SITES= http://delta.affinix.com/download/
EXTRACT_SUFX= .tar.bz2
@@ -10,10 +10,25 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://delta.affinix.com/qconf/
COMMENT= Configure script generator for qmake
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
HAS_CONFIGURE= yes
-CONFIGURE_ARGS+= --prefix=${PREFIX}
+CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
USE_LANGUAGES= c c++
+DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
+EGDIR= ${PREFIX}/share/examples/${PKGBASE}
+MAKE_ENV+= INSTALL_ROOT=${DESTDIR:Q}
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
+ for fn in ${WRKSRC}/examples/*.qc; do \
+ ${INSTALL_DATA} $${fn} ${DESTDIR}${EGDIR}; \
+ done
+
+
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"