From 96a6fd85470ac85ba82435743197070ec116289c Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 22 Jan 2006 00:48:02 +0000 Subject: Use INSTALL_EXTRA_TMPL / DEINSTALL_EXTRA_TMPL instead of manually messing with the scripts. --- x11/lesstif/Makefile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'x11') diff --git a/x11/lesstif/Makefile b/x11/lesstif/Makefile index 15be4d82601..210f47ff6c3 100644 --- a/x11/lesstif/Makefile +++ b/x11/lesstif/Makefile @@ -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+= RMDIR=${RMDIR:Q} 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 @@ post-patch: ${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" -- cgit v1.2.3