2003-01-09 14:47:36 +00:00
|
|
|
# New ports collection makefile for: portell
|
|
|
|
# Date created: Wed Jan 08 13:25:35 GMT 2003
|
|
|
|
# Whom: mich@freebsdcluster.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= portell
|
2005-04-13 15:23:36 +00:00
|
|
|
PORTVERSION= 0.2
|
2005-05-19 14:02:37 +00:00
|
|
|
PORTREVISION= 1
|
2003-01-09 14:47:36 +00:00
|
|
|
CATEGORIES= misc
|
2003-08-11 14:50:31 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
EXTRACT_SUFX= .zip
|
2003-01-09 14:47:36 +00:00
|
|
|
|
2003-05-07 11:37:56 +00:00
|
|
|
MAINTAINER= mich@FreeBSD.org
|
2003-02-21 12:51:06 +00:00
|
|
|
COMMENT= Quick display of FreeBSD port descriptions
|
2003-01-09 14:47:36 +00:00
|
|
|
|
2003-08-11 14:50:31 +00:00
|
|
|
USE_ZIP= YES
|
2003-01-09 14:47:36 +00:00
|
|
|
USE_PYTHON= YES
|
2003-03-23 18:32:16 +00:00
|
|
|
USE_REINPLACE= YES
|
2005-04-13 15:23:36 +00:00
|
|
|
NO_BUILD= YES
|
2003-01-09 14:47:36 +00:00
|
|
|
|
2005-05-19 14:02:37 +00:00
|
|
|
PLIST_FILES= bin/portell
|
|
|
|
PORTDOCS= README.txt
|
|
|
|
|
2005-04-13 15:23:36 +00:00
|
|
|
post-extract:
|
|
|
|
${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' ${WRKSRC}/portell.py
|
|
|
|
${REINPLACE_CMD} -e 's/free/freebsd/' ${WRKSRC}/portell.py
|
2003-08-11 14:50:31 +00:00
|
|
|
${REINPLACE_CMD} -e 's/portell.py/portell/' ${WRKSRC}/README.txt
|
2003-01-09 14:47:36 +00:00
|
|
|
|
2003-03-23 18:32:16 +00:00
|
|
|
do-install:
|
2003-08-11 14:50:31 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/portell.py ${PREFIX}/bin/portell
|
2003-01-09 14:47:36 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2003-08-11 14:50:31 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
|
2003-01-09 14:47:36 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(BATCH)
|
2003-03-23 18:32:16 +00:00
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "###############################################################################"
|
|
|
|
@${ECHO_MSG} "# You must run 'portell -u' to initialize the DB"
|
2003-08-11 14:50:31 +00:00
|
|
|
@${ECHO_MSG} "# ${DOCSDIR}/README.txt for more information."
|
2003-03-23 18:32:16 +00:00
|
|
|
@${ECHO_MSG} "###############################################################################"
|
|
|
|
@${ECHO_MSG} ""
|
2003-01-09 14:47:36 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|