pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/lesstif Use INSTALL_EXTRA_TMPL / DEINSTALL_EXTRA_T...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2fbf3f7808eb
branches: trunk
changeset: 506795:2fbf3f7808eb
user: joerg <joerg%pkgsrc.org@localhost>
date: Sun Jan 22 00:48:02 2006 +0000
description:
Use INSTALL_EXTRA_TMPL / DEINSTALL_EXTRA_TMPL instead of manually
messing with the scripts.
diffstat:
x11/lesstif/Makefile | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
diffs (33 lines):
diff -r 76ef2cc6daa8 -r 2fbf3f7808eb x11/lesstif/Makefile
--- a/x11/lesstif/Makefile Sun Jan 22 00:44:26 2006 +0000
+++ b/x11/lesstif/Makefile Sun Jan 22 00:48:02 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.83 2005/12/05 20:51:18 rillig Exp $
+# $NetBSD: Makefile,v 1.84 2006/01/22 00:48:02 joerg Exp $
DISTNAME= lesstif-0.94.4
CATEGORIES= x11
@@ -41,6 +41,9 @@
FILES_SUBST+= TRUE=${TRUE:Q}
FILES_SUBST_SED= ${FILES_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/}
+DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
+INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
+
post-extract:
cd ${WRKSRC}/lib/config; ${MV} -f host.def LessTif.def
@@ -64,13 +67,6 @@
${RM} -f Makefile.in.presubst; \
done
-pre-install:
- ${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 "../../fonts/fontconfig/buildlink3.mk"
.include "../../x11/Xrender/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index