summaryrefslogtreecommitdiff
path: root/x11/lesstif
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-22 00:48:02 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-22 00:48:02 +0000
commit5dc881fc0377b58a850a2dfacf9f812eff4039a8 (patch)
tree7db11235d170547e0b9b246bf5329d5ef97f8e8c /x11/lesstif
parent8cfd24efb44d1df1ba77652787725d073d90c3c4 (diff)
downloadpkgsrc-5dc881fc0377b58a850a2dfacf9f812eff4039a8.tar.gz
Use INSTALL_EXTRA_TMPL / DEINSTALL_EXTRA_TMPL instead of manually
messing with the scripts.
Diffstat (limited to 'x11/lesstif')
-rw-r--r--x11/lesstif/Makefile12
1 files changed, 4 insertions, 8 deletions
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"