File:  [cvs.NetBSD.org] / pkgsrc / print / rtf2latex2e / Makefile
Revision 1.7: download - view: text, annotated - select for diffs
Mon Nov 4 19:58:01 2019 UTC (5 years, 2 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, HEAD
print: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.

# $NetBSD: Makefile,v 1.7 2019/11/04 19:58:01 rillig Exp $
#

# fix install so it uses ${prefix}

DISTNAME=	rtf2latex2eUnix1
PKGNAME=	rtf2latex2e-1.0fc2
CATEGORIES=	print textproc
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=rtf2latex2e/}

MAINTAINER=	reed@reedmedia.net
HOMEPAGE=	https://sourceforge.net/projects/rtf2latex2e/
COMMENT=	RTF to LaTeX2e converter

# ImageMagick is an optional component

WRKSRC=		${WRKDIR}/rtf2latex2eUnix-1.0fc1/
BUILD_DIRS=	Unix
CONFIGURE_DIRS=	Unix
GNU_CONFIGURE=	yes
MAKE_ENV+=	INSTALL_DIR=${PREFIX}/share/rtf2latex2e

USE_TOOLS+=	pax

INSTALLATION_DIRS+=	bin share/doc/rtf2latex2e share/rtf2latex2e

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/rtf2latex2e.bin ${DESTDIR}${PREFIX}/bin/rtf2latex2e
	${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${PREFIX}/share/doc/rtf2latex2e/
	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/rtf2latex2e/
	${INSTALL_DATA} ${WRKSRC}/doc/rtf2LaTeX2eDoc.html ${DESTDIR}${PREFIX}/share/doc/rtf2latex2e/
	cd ${WRKSRC} && pax -rw pref ${DESTDIR}${PREFIX}/share/rtf2latex2e

# install other docs and examples too?

.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>