summaryrefslogtreecommitdiff
path: root/editors/manedit/Makefile
diff options
context:
space:
mode:
authorfredb <fredb>2001-01-21 18:18:04 +0000
committerfredb <fredb>2001-01-21 18:18:04 +0000
commit3b99eb2b19403463e7123c0be9535aec7a026160 (patch)
tree8c8e0ec62ff6bd0d52f224c113e4ec10e20df16c /editors/manedit/Makefile
parent24f4c767bce1a997688f550bea9b27f87954f08f (diff)
downloadpkgsrc-3b99eb2b19403463e7123c0be9535aec7a026160.tar.gz
Initial import of manedit, a manpage editor and viewer, submitted by
Tomasz Luchowski in PR pkg/12019. The viewer/browser does not work for me -- it seems to be having trouble with my "mandesc" files -- but I guess some problems are expected with a "0.4e" release, and someone should tell the author how to spell "preferences"!
Diffstat (limited to 'editors/manedit/Makefile')
-rw-r--r--editors/manedit/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/editors/manedit/Makefile b/editors/manedit/Makefile
new file mode 100644
index 00000000000..2cbb8804719
--- /dev/null
+++ b/editors/manedit/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/01/21 18:18:04 fredb Exp $
+#
+
+DISTNAME= ${PKGNAME:S,manedit-,manedit,}
+PKGNAME= manedit-0.4e
+CATEGORIES= editors
+MASTER_SITES= ftp://fox.mit.edu/pub/xsw/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= zuntum@eik.pl
+HOMEPAGE= http://wolfpack.twu.net/ManEdit/
+
+DEPENDS+= gtk+-*:../../x11/gtk
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/manedit
+
+post-patch:
+ ${SED} -e "s,@PREFIX@,${PREFIX},g" -e "s,@CC@,${CC},g" \
+ -e "s,@CFLAGS@,${CFLAGS},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
+
+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
+
+.include "../../mk/bsd.pkg.mk"