blob: 53f702fcb560c8006d68a0d05d93f43c9159a802 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Created by: mich@freebsdcluster.org
# $FreeBSD$
PORTNAME= portell
PORTVERSION= 0.2
PORTREVISION= 2
CATEGORIES= ports-mgmt
MASTER_SITES= http://www.freebsdcluster.org/~mich/software/
MAINTAINER= mich@FreeBSD.org
COMMENT= Quick display of FreeBSD port descriptions
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bsddb>0:databases/py-bsddb@${PY_FLAVOR}
USES= python:2.7 shebangfix zip
SHEBANG_FILES= *.py
NO_BUILD= yes
PLIST_FILES= bin/portell
PORTDOCS= README.txt
OPTIONS_DEFINE= DOCS
post-extract:
${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' ${WRKSRC}/portell.py
${REINPLACE_CMD} -e 's/free/freebsd/' ${WRKSRC}/portell.py
${REINPLACE_CMD} -e 's/portell.py/portell/' ${WRKSRC}/README.txt
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/portell.py ${STAGEDIR}${PREFIX}/bin/portell
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
.if !defined(BATCH)
@${ECHO_MSG} ""
@${ECHO_MSG} "###############################################################################"
@${ECHO_MSG} "# You must run 'portell -u' to initialize the DB"
@${ECHO_MSG} "# ${DOCSDIR}/README.txt for more information."
@${ECHO_MSG} "###############################################################################"
@${ECHO_MSG} ""
.endif
.include <bsd.port.mk>
|