pkgsrc/editors/manedit/Makefile

44 lines
1.4 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.27 2007/01/07 09:13:52 rillig Exp $
#
DISTNAME= manedit-0.5.6
PKGREVISION= 4
CATEGORIES= editors
MASTER_SITES= ftp://wolfpack.twu.net/users/wolfpack/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://wolfpack.twu.net/ManEdit/
COMMENT= UNIX Manual (man, manpage) page editor, viewer, and browser for X11
WRKSRC= ${WRKDIR}/${DISTNAME}/manedit
2001-06-26 14:37:16 +02:00
2006-05-14 19:16:42 +02:00
USE_LANGUAGES= c c++
MAKE_ENV+= CPP=${CXX:Q}
# The FreeBSD makefile may be used as "generic UNIX".
2006-09-09 04:41:53 +02:00
MAKE_FILE= Makefile.FreeBSD
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man7
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/manedit ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/utils/manview.sh ${PREFIX}/bin/manview
${INSTALL_SCRIPT} ${WRKSRC}/utils/manwrap.sh ${PREFIX}/bin/manwrap
${INSTALL_DATA_DIR} ${PREFIX}/share/manedit \
${PREFIX}/share/manedit/templates \
${PREFIX}/share/manedit/icons
${INSTALL_MAN} ${WRKSRC}/manedit.1 ${PREFIX}/${PKGMANDIR}/man1
${INSTALL_MAN} ${WRKSRC}/help/manpage_writing_procedures \
${PREFIX}/${PKGMANDIR}/man7/manpage_writing_procedures.7
${INSTALL_MAN} ${WRKSRC}/help/manpage_xml_referance \
${PREFIX}/${PKGMANDIR}/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
2004-04-11 10:14:24 +02:00
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"