openbsd-ports/textproc/makefaq/Makefile
2004-08-03 21:31:06 +00:00

41 lines
927 B
Makefile

# $OpenBSD: Makefile,v 1.4 2004/08/03 21:34:43 xsa Exp $
COMMENT= "Python program to create FAQ's list from formatted data file"
DISTNAME= makefaq-2.5
CATEGORIES= textproc
HOMEPAGE= http://www.makefaq.org/
MAINTAINER= Xavier Santolaria <xsa@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=makefaq/}
EXTRACT_SUFX= .tgz
MODULES= lang/python
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
DOCDIR= ${PREFIX}/share/doc/makefaq
do-configure:
@perl -pi -e 's,%%MODPY_VERSION%%,${MODPY_VERSION},g' \
${WRKSRC}/makefaq.{1,py}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/makefaq.py ${PREFIX}/bin/makefaq
${INSTALL_MAN} ${WRKSRC}/makefaq.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/faq* ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/makefaq-xml-1-0.dtd ${DOCDIR}
.include <bsd.port.mk>