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

File: [cvs.NetBSD.org] / pkgsrc / textproc / mdocml / Attic / Makefile (download)

Revision 1.52.2.1, Mon Feb 8 10:17:51 2016 UTC (3 years ago) by bsiegert
Branch: pkgsrc-2015Q4
Changes since 1.52: +2 -2 lines

Pullup ticket #4914 - requested by joerg
textproc/mdocml: fix packaging issue

Revisions pulled up:
- textproc/mdocml/Makefile                                      1.53
- textproc/mdocml/distinfo                                      1.44

---
   Module Name:    pkgsrc
   Committed By:   richard
   Date:           Sat Jan  9 05:01:43 UTC 2016

   Modified Files:
           pkgsrc/textproc/mdocml: distinfo

   Log Message:
   regen patch checksums for mdocml

---
   Module Name:    pkgsrc
   Committed By:   richard
   Date:           Sat Jan  9 05:05:34 UTC 2016

   Modified Files:
           pkgsrc/textproc/mdocml: Makefile

   Log Message:
   bump PKGREVISION for mdocml

# $NetBSD: Makefile,v 1.52.2.1 2016/02/08 10:17:51 bsiegert Exp $

DISTNAME=	mdocml-1.13.3
PKGREVISION=	4
CATEGORIES=	textproc devel
MASTER_SITES=	http://mdocml.bsd.lv/snapshots/

MAINTAINER=	schwarze@usta.de
HOMEPAGE=	http://mdocml.bsd.lv/
COMMENT=	Convert man pages from mdoc, man, and tbl to txt, html, ps, or pdf
LICENSE=	2-clause-bsd # not exactly, but near enough

HAS_CONFIGURE=	yes

CONFLICTS=	man-pages-[0-9]*

SUBST_CLASSES+=		roff
SUBST_STAGE.roff=	pre-build
SUBST_FILES.roff=	mandoc.1 mandoc.3
SUBST_FILES.roff+=	eqn.7 man.7 mdoc.7 tbl.7
SUBST_SED.roff=		-e 's,Xr roff,Xr mandoc-roff,g'

.include "../../mk/bsd.fast.prefs.mk"

post-extract:
	${ECHO} PREFIX=${PREFIX} > ${WRKSRC}/configure.local
	${ECHO} MANDIR=${PREFIX}/${PKGMANDIR} >> ${WRKSRC}/configure.local
	${ECHO} CFLAGS=\"${CFLAGS:Q}\" >> ${WRKSRC}/configure.local
	${ECHO} DBLIB=\"${LDFLAGS} -lsqlite3\" >> ${WRKSRC}/configure.local
	${ECHO} INSTALL=\"${INSTALL:Q}\" >> ${WRKSRC}/configure.local
	${ECHO} INSTALL_PROGRAM=\"${INSTALL_PROGRAM:Q}\" >> ${WRKSRC}/configure.local
	${ECHO} INSTALL_LIB=\"${INSTALL_DATA:Q}\" >> ${WRKSRC}/configure.local
	${ECHO} INSTALL_MAN=\"${INSTALL_MAN:Q}\" >> ${WRKSRC}/configure.local
	${ECHO} INSTALL_DATA=\"${INSTALL_DATA:Q}\" >> ${WRKSRC}/configure.local
	${ECHO} MANM_ROFF="mandoc-roff" >> ${WRKSRC}/configure.local
# Mac OS X and Solaris 10 and newer do not support static binaries.
.if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
	${ECHO} STATIC= >> ${WRKSRC}/configure.local
.endif

.include "../../databases/sqlite3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"