pkgsrc-wip/quickie/Makefile

43 lines
1 KiB
Makefile
Raw Normal View History

2008-03-07 23:58:55 +01:00
# $NetBSD: Makefile,v 1.2 2008/03/07 22:58:55 tnn2 Exp $
DISTNAME= quickie-1.1
CATEGORIES= www
MASTER_SITES= http://${PKGBASE}.sourceforge.net/ \
http://mirror.inerd.com/FreeBSD/distfiles/${PKGBASE}/
2008-03-07 23:58:55 +01:00
DISTFILES= ${DEFAULT_DISTFILES} ${DISTNAME}.pdf
EXTRACT_ONLY= ${DEFAULT_DISTFILES}
HOMEPAGE= http://${PKGBASE}.sourceforge.net/
MAINTAINER= shaun@inerd.com
COMMENT= Small footprint, fast Wiki engine written in C++
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} \
--sysconfdir=${PREFIX}/etc \
--localstatedir=${DATADIR}
DATADIR= ${PREFIX}/share/${PKGBASE}
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
.include "../../mk/bsd.prefs.mk"
post-patch:
.if ${OPSYS:tl} != "linux"
${CP} ${FILESDIR}/netbsd.h ${WRKSRC}/lib
.endif
pre-install:
${INSTALL_DATA_DIR} ${DATADIR}
${INSTALL_DATA_DIR} ${DATADIR}/admin
${INSTALL_DATA_DIR} ${DATADIR}/manual
${INSTALL_DATA_DIR} ${DOCSDIR}
${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.pdf ${DOCSDIR}
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"