2013-09-21 00:36:49 +02:00
|
|
|
# Created by: mich@freebsdcluster.org
|
2003-01-09 15:47:36 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= portell
|
2005-04-13 17:23:36 +02:00
|
|
|
PORTVERSION= 0.2
|
2005-05-19 16:02:37 +02:00
|
|
|
PORTREVISION= 1
|
2007-02-05 02:08:46 +01:00
|
|
|
CATEGORIES= ports-mgmt
|
2015-04-07 12:57:22 +02:00
|
|
|
MASTER_SITES= http://www.freebsdcluster.org/~mich/software/
|
2003-01-09 15:47:36 +01:00
|
|
|
|
2003-05-07 13:37:56 +02:00
|
|
|
MAINTAINER= mich@FreeBSD.org
|
2003-02-21 13:51:06 +01:00
|
|
|
COMMENT= Quick display of FreeBSD port descriptions
|
2003-01-09 15:47:36 +01:00
|
|
|
|
2015-04-08 19:19:21 +02:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bsddb>0:${PORTSDIR}/databases/py-bsddb
|
|
|
|
|
2014-10-19 19:45:13 +02:00
|
|
|
USES= python zip
|
2012-02-19 08:02:58 +01:00
|
|
|
NO_BUILD= yes
|
2003-01-09 15:47:36 +01:00
|
|
|
|
2005-05-19 16:02:37 +02:00
|
|
|
PLIST_FILES= bin/portell
|
|
|
|
PORTDOCS= README.txt
|
|
|
|
|
2005-04-13 17:23:36 +02:00
|
|
|
post-extract:
|
|
|
|
${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' ${WRKSRC}/portell.py
|
|
|
|
${REINPLACE_CMD} -e 's/free/freebsd/' ${WRKSRC}/portell.py
|
2003-08-11 16:50:31 +02:00
|
|
|
${REINPLACE_CMD} -e 's/portell.py/portell/' ${WRKSRC}/README.txt
|
2003-01-09 15:47:36 +01:00
|
|
|
|
2003-03-23 19:32:16 +01:00
|
|
|
do-install:
|
2014-02-26 10:45:47 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/portell.py ${STAGEDIR}${PREFIX}/bin/portell
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
|
2003-01-09 15:47:36 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(BATCH)
|
2003-03-23 19:32:16 +01:00
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "###############################################################################"
|
|
|
|
@${ECHO_MSG} "# You must run 'portell -u' to initialize the DB"
|
2003-08-11 16:50:31 +02:00
|
|
|
@${ECHO_MSG} "# ${DOCSDIR}/README.txt for more information."
|
2003-03-23 19:32:16 +01:00
|
|
|
@${ECHO_MSG} "###############################################################################"
|
|
|
|
@${ECHO_MSG} ""
|
2003-01-09 15:47:36 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|