summaryrefslogtreecommitdiff
path: root/x11/xview-config/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-09-13 20:21:53 +0000
committerjlam <jlam@pkgsrc.org>2000-09-13 20:21:53 +0000
commite08034b16f983676483a2f01210632d81308e667 (patch)
treeba50265d9deb33fd4284c188efbb92edfbc23a25 /x11/xview-config/Makefile
parent90782f4c213eacc81c6f9683ef5b0d92b75ad698 (diff)
downloadpkgsrc-e08034b16f983676483a2f01210632d81308e667.tar.gz
Make this work with xpkgwedge:
* Move installation of config files to ${PREFIX}/lib/X11/xview (consistent with how lesstif installs into ${PREFIX}/lib/X11/lesstif) * Provide a xmkmf-type script called "xvmkmf" which does the right thing for programs needing to generate Makefiles from Imakefiles using XView. * Bump version number to 3.2.1nb1.
Diffstat (limited to 'x11/xview-config/Makefile')
-rw-r--r--x11/xview-config/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/x11/xview-config/Makefile b/x11/xview-config/Makefile
index e778611b59e..8bfa28a0c37 100644
--- a/x11/xview-config/Makefile
+++ b/x11/xview-config/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.8 2000/09/13 15:19:38 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2000/09/13 20:21:53 jlam Exp $
# $FreeBSD Id: Makefile,v 1.9 1998/05/04 03:34:50 steve Exp
#
DISTNAME= xview3.2p1-X11R6
-PKGNAME= xview-config-3.2.1
+PKGNAME= xview-config-3.2.1nb1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_LOCAL}
@@ -14,9 +14,18 @@ NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
EXTRACT_ELEMENTS= ${DISTNAME}/config
WRKSRC= ${WRKDIR}/${EXTRACT_ELEMENTS}
USE_IMAKE= # defined
-NO_BUILD= # defined
+
+XVCONFIGDIR= ${PREFIX}/lib/X11/xview
post-extract:
@${CHMOD} -R go+rX ${WRKDIR}
+do-build:
+ ${SED} -e "s,@X11BASE@,${X11BASE},g" \
+ -e "s,@XVCONFIGDIR@,${XVCONFIGDIR},g" \
+ < ${FILESDIR}/xvmkmf.in > ${WRKDIR}/xvmkmf
+
+post-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/xvmkmf ${PREFIX}/bin
+
.include "../../mk/bsd.pkg.mk"