summaryrefslogtreecommitdiff
path: root/x11/lesstif/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2001-06-30 19:08:21 +0000
committerjlam <jlam>2001-06-30 19:08:21 +0000
commit18a27525e70bb293431f7d66b91152464dd91498 (patch)
tree14500fc61e697f795ae42b50eb1cda1be128fcf7 /x11/lesstif/Makefile
parent748105d018e0ace90809bc7737e193d0bbf350c5 (diff)
downloadpkgsrc-18a27525e70bb293431f7d66b91152464dd91498.tar.gz
Update lesstif and lesstif12 to 0.92.32. Changes from version 0.92.26
include: Small code fixes to help building on some systems Use new libtool version 1.4 and automake 1.4-p1 Install more machine-indepedent files in $(prefix)
Diffstat (limited to 'x11/lesstif/Makefile')
-rw-r--r--x11/lesstif/Makefile34
1 files changed, 17 insertions, 17 deletions
diff --git a/x11/lesstif/Makefile b/x11/lesstif/Makefile
index 020d5326ecb..9f83346c595 100644
--- a/x11/lesstif/Makefile
+++ b/x11/lesstif/Makefile
@@ -1,31 +1,31 @@
-# $NetBSD: Makefile,v 1.54 2001/02/17 17:06:35 wiz Exp $
-# FreeBSD Id: Makefile,v 1.13 1997/09/08 08:34:13 tg Exp
-#
+# $NetBSD: Makefile,v 1.55 2001/06/30 19:08:21 jlam Exp $
-COMMENT= API compatible clone of the OSF/Motif toolkit
+.include "../../x11/lesstif/Makefile.common"
+
+COMMENT= API compatible clone of the OSF/Motif toolkit
CONFIGURE_ARGS+= --disable-build-12
CONFIGURE_ARGS+= --enable-build-20
+CONFIGURE_ARGS+= --disable-build-21
CONFIGURE_ARGS+= --enable-default-20
DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
INSTALL_FILE= ${WRKDIR}/INSTALL
+FILES_SUBST= LOCALBASE=${LOCALBASE}
+FILES_SUBST+= CP=${CP:Q}
+FILES_SUBST+= GREP=${GREP:Q}
+FILES_SUBST+= LN=${LN:Q}
+FILES_SUBST+= RM=${RM:Q}
+FILES_SUBST+= RMDIR=${RMDIR:Q}
+FILES_SUBST+= TRUE=${TRUE:Q}
+FILES_SUBST_SED= ${FILES_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/}
+
pre-install:
- ${SED} -e "s,@LOCALBASE@,${LOCALBASE},g" \
- -e "s,@CP@,${CP},g" \
- -e "s,@GREP@,${GREP},g" \
- -e "s,@RM@,${RM},g" \
- -e "s,@RMDIR@,${RMDIR},g" \
- -e "s,@TRUE@,${TRUE},g" \
- < ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE}
- ${SED} -e "s,@LOCALBASE@,${LOCALBASE},g" \
- -e "s,@CP@,${CP},g" \
- -e "s,@GREP@,${GREP},g" \
- -e "s,@LN@,${LN},g" \
- < ${PKGDIR}/INSTALL > ${INSTALL_FILE}
+ ${SED} ${FILES_SUBST_SED} ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE}
+ ${SED} ${FILES_SUBST_SED} ${PKGDIR}/INSTALL > ${INSTALL_FILE}
post-install:
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
-.include "../../x11/lesstif/Makefile.common"
+.include "../../mk/bsd.pkg.mk"