mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
7c39ed7ea8
- Remove indefinite article from COMMENT - Replace NOPORTDOCS with PORT_OPTIONS:MDOCS
48 lines
1.4 KiB
Makefile
48 lines
1.4 KiB
Makefile
# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= actdiag
|
|
PORTVERSION= 0.4.3
|
|
CATEGORIES= graphics python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= tota@FreeBSD.org
|
|
COMMENT= Simple activity-diagram image generator
|
|
|
|
LICENSE= AL2
|
|
|
|
RUN_DEPENDS= ${PKGNAMEPREFIX}imaging>=1.1.5:${PORTSDIR}/graphics/py-imaging \
|
|
${PKGNAMEPREFIX}blockdiag>=1.2.4:${PORTSDIR}/graphics/py-blockdiag \
|
|
${PKGNAMEPREFIX}funcparserlib>=0.3.4:${PORTSDIR}/devel/py-funcparserlib
|
|
|
|
USE_PYTHON= -2.7
|
|
USE_PYDISTUTILS= easy_install
|
|
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME}
|
|
PORTDOCS= README.txt
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${INSTALL_WRKSRC}/src/${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
@${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1/
|
|
|
|
x-generate-plist:
|
|
${ECHO} bin/${PORTNAME} > pkg-plist.new
|
|
${FIND} ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG} -type f | ${SORT} | \
|
|
${SED} -e 's,${PYTHON_SITELIBDIR},%%PYTHON_SITELIBDIR%%,' \
|
|
-e 's,${PYEASYINSTALL_EGG},%%PYEASYINSTALL_EGG%%,' \
|
|
>> pkg-plist.new
|
|
${FIND} ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG} -type d -depth | ${SORT} -r | \
|
|
${SED} -e 's,${PYTHON_SITELIBDIR},@dirrm %%PYTHON_SITELIBDIR%%,' \
|
|
-e 's,${PYEASYINSTALL_EGG},%%PYEASYINSTALL_EGG%%,' \
|
|
>> pkg-plist.new
|
|
|
|
.include <bsd.port.mk>
|