freebsd-ports/devel/py-funcparserlib/Makefile
TAKATSU Tomonari ff88b8dccb - Support STAGEDIR [1]
- Use USE_PYDISTUTILS= yes instead of easy_install
- Use PYDISTUTILS_AUTOPLIST
- Make docs unconditional to stage
  * Remove bsd.port.options.mk, accordingly
  * Remove OPTIONSFILE which is not needed
- Unmute INSTALL_WRKSRC in post-install target
- Remove x-generate-plist target which should have been done
  at r317309 when pkg-plist was removed
- Bump PORTREVISION

PR:		ports/188493 [1]
Submitted by:	Bartek Rutkowski <ports@robakdesign.com>
2014-04-12 10:48:25 +00:00

32 lines
781 B
Makefile

# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
# $FreeBSD$
PORTNAME= funcparserlib
PORTVERSION= 0.3.6
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= tota@FreeBSD.org
COMMENT= Recursive descent parsing library based on functional combinators
LICENSE= MIT
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
PORTDOCS= README doc
DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME}
OPTIONS_DEFINE= DOCS
post-install:
@${RM} -f ${WRKSRC}/doc/Makefile
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${INSTALL_WRKSRC} \
&& ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; \
&& ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} \{} ${STAGEDIR}${DOCSDIR}/\{} \;
.include <bsd.port.mk>