pkgsrc/devel/deforaos-configure/Makefile
khorben 15d3c93500 Packaged DeforaOS configure 0.1.1
This is a bugfix release for:
- the "clean" target with scripted targets
2014-11-02 14:12:25 +00:00

39 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2014/11/02 14:12:25 khorben Exp $
DISTNAME= configure-0.1.1
PKGNAME= deforaos-configure-0.1.1
CATEGORIES= devel
MASTER_SITES= http://www.defora.org/os/download/download/4343/
MAINTAINER= khorben@defora.org
HOMEPAGE= http://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}
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"