openbsd-ports/textproc/makefaq/Makefile

43 lines
956 B
Makefile
Raw Normal View History

2011-09-16 07:41:38 -04:00
# $OpenBSD: Makefile,v 1.12 2011/09/16 11:41:41 espie Exp $
2007-09-15 18:16:55 -04:00
COMMENT= Python program to create FAQ's list from formatted data file
2004-04-01 08:39:36 -05:00
DISTNAME= makefaq-2.5
2011-09-16 07:41:38 -04:00
REVISION= 5
CATEGORIES= textproc
2004-02-23 04:54:19 -05:00
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
2004-08-03 17:31:06 -04:00
MODULES= lang/python
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
2010-10-19 03:54:21 -04:00
USE_GROFF = Yes
DOCDIR= ${PREFIX}/share/doc/makefaq
do-configure:
2004-04-01 08:39:36 -05:00
@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>