summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorzuntum <zuntum>2001-06-11 20:05:18 +0000
committerzuntum <zuntum>2001-06-11 20:05:18 +0000
commit077d6e5e28d01c7a8991b5e9e120c726c50aa724 (patch)
treeba3e3bb5895c261a2e642fa44a47f31fb321a486 /editors
parentf332caac6a173a7a1acf4381b931e4eb8dafd0cf (diff)
downloadpkgsrc-077d6e5e28d01c7a8991b5e9e120c726c50aa724.tar.gz
Makefile cleanup -- no user visible changes
Diffstat (limited to 'editors')
-rw-r--r--editors/manedit/Makefile42
1 files changed, 21 insertions, 21 deletions
diff --git a/editors/manedit/Makefile b/editors/manedit/Makefile
index 9b5fa9c4c83..b2461e8eeec 100644
--- a/editors/manedit/Makefile
+++ b/editors/manedit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2001/03/31 08:57:14 zuntum Exp $
+# $NetBSD: Makefile,v 1.6 2001/06/11 20:05:18 zuntum Exp $
#
DISTNAME= ${PKGNAME:S,manedit-,manedit,}
@@ -15,29 +15,29 @@ DEPENDS+= gtk+-*:../../x11/gtk
WRKSRC= ${WRKDIR}/${DISTNAME}/manedit
-MAKE_ENV+= CC="${CC}" CFLAGS="${CFLAGS}" CPP="${CXX}" PREFIX="${PREFIX}"
+MAKE_ENV+= CPP="${CXX}"
post-patch:
- ${SED} -e "s,@PREFIX@,${PREFIX},g" ${WRKSRC}/manedit.1 \
- > ${WRKSRC}/manedit.1.done
- ${MV} ${WRKSRC}/manedit.1.done ${WRKSRC}/manedit.1
- ${SED} -e "s,gtk-config,${X11BASE}/bin/gtk-config,g" \
- ${WRKSRC}/Makefile > ${WRKSRC}/Makefile.done
- ${MV} ${WRKSRC}/Makefile.done ${WRKSRC}/Makefile
+ ${SED} -e "s,@PREFIX@,${PREFIX},g" ${WRKSRC}/manedit.1 \
+ > ${WRKSRC}/manedit.1.done
+ ${MV} ${WRKSRC}/manedit.1.done ${WRKSRC}/manedit.1
+ ${SED} -e "s,gtk-config,${X11BASE}/bin/gtk-config,g" \
+ ${WRKSRC}/Makefile > ${WRKSRC}/Makefile.done
+ ${MV} ${WRKSRC}/Makefile.done ${WRKSRC}/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/manedit ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/manedit \
- ${PREFIX}/share/manedit/templates \
- ${PREFIX}/share/manedit/icons
- ${INSTALL_MAN} ${WRKSRC}/manedit.1 ${PREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/help/manpage_writing_procedures \
- ${PREFIX}/man/man7/manpage_writing_procedures.7
- ${INSTALL_MAN} ${WRKSRC}/help/manpage_xml_referance \
- ${PREFIX}/man/man7/manpage_xml_reference.7
- cd ${WRKSRC}/templates && ${INSTALL_DATA} api.mpt config.mpt \
- intro.mpt program.mpt ${PREFIX}/share/manedit/templates
- cd ${WRKSRC} && ${INSTALL_DATA} manedit.xpm \
- ${PREFIX}/share/manedit/icons
+ ${INSTALL_PROGRAM} ${WRKSRC}/manedit ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/manedit \
+ ${PREFIX}/share/manedit/templates \
+ ${PREFIX}/share/manedit/icons
+ ${INSTALL_MAN} ${WRKSRC}/manedit.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/help/manpage_writing_procedures \
+ ${PREFIX}/man/man7/manpage_writing_procedures.7
+ ${INSTALL_MAN} ${WRKSRC}/help/manpage_xml_referance \
+ ${PREFIX}/man/man7/manpage_xml_reference.7
+ cd ${WRKSRC}/templates && ${INSTALL_DATA} api.mpt config.mpt \
+ intro.mpt program.mpt ${PREFIX}/share/manedit/templates
+ cd ${WRKSRC} && ${INSTALL_DATA} manedit.xpm \
+ ${PREFIX}/share/manedit/icons
.include "../../mk/bsd.pkg.mk"