[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / editors / manedit

File: [cvs.NetBSD.org] / pkgsrc / editors / manedit / Makefile (download)

Revision 1.32, Tue Apr 28 21:01:14 2009 UTC (11 years, 4 months ago) by zafer
Branch: MAIN
CVS Tags: pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.31: +2 -3 lines

Remove dead mirror. Ok'd by obache.

# $NetBSD: Makefile,v 1.32 2009/04/28 21:01:14 zafer Exp $
#

DISTNAME=	manedit-0.8.1
CATEGORIES=	editors
MASTER_SITES=	ftp://gd.tuwien.ac.at/games/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

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=		${WRKDIR}/${DISTNAME}/manedit

USE_LANGUAGES=	c c++

MAKE_ENV+=	CPP=${CXX:Q}

# The FreeBSD makefile may be used as "generic UNIX".
MAKE_FILE=	Makefile.FreeBSD

AUTO_MKDIRS=			yes

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/manedit ${DESTDIR}${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/utils/manview.sh 			\
		${DESTDIR}${PREFIX}/bin/manview
	${INSTALL_SCRIPT} ${WRKSRC}/utils/manwrap.sh 			\
		${DESTDIR}${PREFIX}/bin/manwrap
	${INSTALL_MAN} ${WRKSRC}/manedit.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_MAN} ${WRKSRC}/help/manpage_writing_procedures	\
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man7/manpage_writing_procedures.7
	${INSTALL_MAN} ${WRKSRC}/help/manpage_xml_reference		\
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man7/manpage_xml_reference.7
	cd ${WRKSRC}/templates && ${INSTALL_DATA} *.mpt			\
		${DESTDIR}${PREFIX}/share/manedit/templates
	cd ${WRKSRC} && ${INSTALL_DATA} manedit.xpm			\
		${DESTDIR}${PREFIX}/share/manedit/icons

.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"