diff options
author | joerg <joerg@pkgsrc.org> | 2008-04-07 17:37:36 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-04-07 17:37:36 +0000 |
commit | 666dbbb67caeebd266ff0c2b054d698312cf017d (patch) | |
tree | b9c521b63b352237b806af687788720ee5b08927 /editors | |
parent | 8a32fdfe06425db869c33fc5bb97cd036c4aaaf4 (diff) | |
download | pkgsrc-666dbbb67caeebd266ff0c2b054d698312cf017d.tar.gz |
Fix DESTDIR. Do not use LOCALBASE.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/mflteco/Makefile | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/editors/mflteco/Makefile b/editors/mflteco/Makefile index 44811d1ebab..c7c27575b8f 100644 --- a/editors/mflteco/Makefile +++ b/editors/mflteco/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2008/03/03 18:25:52 jlam Exp $ +# $NetBSD: Makefile,v 1.5 2008/04/07 17:37:36 joerg Exp $ # PKGNAME= mflteco-19920331 @@ -14,22 +14,18 @@ PKG_DESTDIR_SUPPORT= user-destdir BUILD_TARGET= te -DOCS= ${LOCALBASE}/share/doc/mflteco -XMPL= ${LOCALBASE}/share/examples/mflteco +INSTALLATION_DIRS= bin share/doc/mflteco share/examples/mflteco pre-patch: cp ${WRKSRC}/Makefile.sun4 ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/te ${DESTDIR}${LOCALBASE}/bin - ${INSTALL_DATA_DIR} ${DESTDIR}${DOCS} - ${INSTALL_DATA_DIR} ${DESTDIR}${XMPL} - ${INSTALL_DATA} ${WRKSRC}/00README ${DESTDIR}${DOCS} - ${INSTALL_DATA} ${WRKSRC}/teco.doc ${DESTDIR}${DOCS} - ${INSTALL_DATA} ${WRKSRC}/teco.doc.1 ${DESTDIR}${DOCS} - ${INSTALL_DATA} ${WRKSRC}/.tecorc ${DESTDIR}${XMPL} - ${INSTALL_DATA} ${WRKSRC}/pi.tec ${DESTDIR}${XMPL} - ${INSTALL_DATA} ${WRKSRC}/sample_tecorc.old ${DESTDIR}${XMPL} - ${INSTALL_DATA} ${WRKSRC}/tecorc.mch ${DESTDIR}${XMPL} + ${INSTALL_PROGRAM} ${WRKSRC}/te ${DESTDIR}${PREFIX}/bin +.for f in 00README teco.doc teco.doc.1 + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/mflteco +.endfor +.for f in .tecorc pi.tec sample_tecorc.old tecorc.mch + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/examples/mflteco +.endfor .include "../../mk/bsd.pkg.mk" |