blob: 1c6046e35d230bca9ab4d53d15a3f9402c60e1ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# $NetBSD: Makefile,v 1.34 2012/10/03 11:43:37 asau Exp $
#
DISTNAME= manedit-0.8.1
PKGREVISION= 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
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"
|