File:  [cvs.NetBSD.org] / pkgsrc / devel / deforaos-configure / Makefile
Revision 1.8: download - view: text, annotated - select for diffs
Tue Aug 1 14:58:55 2017 UTC (7 years, 4 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, HEAD
Follow some http -> https redirects.

# $NetBSD: Makefile,v 1.8 2017/08/01 14:58:55 wiz Exp $
#

DISTNAME=	configure-0.2.3
PKGNAME=	deforaos-configure-0.2.3
CATEGORIES=	devel
MASTER_SITES=	https://www.defora.org/os/download/download/4395/

MAINTAINER=	khorben@defora.org
HOMEPAGE=	https://www.defora.org/
COMMENT=	DeforaOS automated Makefile generation tool

LICENSE=	2-clause-bsd

USE_TOOLS+=	pkg-config

BUILD_DEPENDS+=	libxslt-[0-9]*:../../textproc/libxslt
BUILD_DEPENDS+=	docbook-xsl-[0-9]*:../../textproc/docbook-xsl

MAKE_FLAGS+=	PREFIX=${PREFIX}
MAKE_FLAGS+=	DESTDIR=${DESTDIR}
MAKE_FLAGS+=	CFLAGS=${CFLAGS:Q}
MAKE_FLAGS+=	LDFLAGS=${LDFLAGS:Q}
AUTO_MKDIRS=	yes

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

.if ${PKGMANDIR} != "share/man"
post-install:
	${MV} ${DESTDIR}${PREFIX}/share/man/html1/configure.html ${DESTDIR}${PREFIX}/${PKGMANDIR}/html1/configure.html
	${MV} ${DESTDIR}${PREFIX}/share/man/html5/project.conf.html ${DESTDIR}${PREFIX}/${PKGMANDIR}/html5/project.conf.html
	${MV} ${DESTDIR}${PREFIX}/share/man/man1/configure.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/configure.1
	${MV} ${DESTDIR}${PREFIX}/share/man/man5/project.conf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/project.conf.5
	${RMDIR} ${DESTDIR}${PREFIX}/share/man/html1
	${RMDIR} ${DESTDIR}${PREFIX}/share/man/html5
	${RMDIR} ${DESTDIR}${PREFIX}/share/man/man1
	${RMDIR} ${DESTDIR}${PREFIX}/share/man/man5
	${RMDIR} ${DESTDIR}${PREFIX}/share/man
.endif

.include "../../devel/deforaos-libsystem/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>