summaryrefslogtreecommitdiff
path: root/textproc/lout/Makefile
blob: 01e17735d816a417a36707c0be0286d26bfa5c5c (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
# $NetBSD: Makefile,v 1.18 2013/07/13 08:20:24 shattered Exp $

DISTNAME=	lout-3.40
CATEGORIES=	textproc
MASTER_SITES=	http://download.savannah.gnu.org/releases/lout/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://savannah.nongnu.org/projects/lout
COMMENT=	Basser Lout, a TeX/troff-like formatter with PostScript/PDF output
LICENSE=	gnu-gpl-v3

PLIST_SRC=	${WRKDIR}/.PLIST_SRC
INSTALL_TARGET=	allinstall
INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 share/doc

do-configure:
	${MV} ${WRKSRC}/makefile ${WRKSRC}/makefile.in
	${SED} -e "s,@PREFIX@,${PREFIX}," <${WRKSRC}/makefile.in >${WRKSRC}/Makefile

post-install:
	${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
	(cd ${DESTDIR}${PREFIX} && ${FIND} share/doc/lout -type f -print >>${PLIST_SRC})
	(cd ${DESTDIR}${PREFIX} && ${FIND} share/lout -type f -print >>${PLIST_SRC})

.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"