b8522e61c3
Use DOCSDIR in pkg-plist. Distfile has been rerolled, no code changes - but archive type is now .zip, and code rewritten with windows style /r/n - patch is fixing this issue. Code tested with Python 2.2.x and 2.3 (Thanks marcus@) Approved by: roberto (mentor)
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# New ports collection makefile for: portell
|
|
# Date created: Wed Jan 08 13:25:35 GMT 2003
|
|
# Whom: mich@freebsdcluster.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= portell
|
|
PORTVERSION= 0.1
|
|
PORTREVISION= 3
|
|
CATEGORIES= misc
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= mich@FreeBSD.org
|
|
COMMENT= Quick display of FreeBSD port descriptions
|
|
|
|
USE_ZIP= YES
|
|
USE_PYTHON= YES
|
|
USE_REINPLACE= YES
|
|
|
|
do-build:
|
|
${REINPLACE_CMD} -e 's/portell.py/portell/' ${WRKSRC}/README.txt
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/portell.py ${PREFIX}/bin/portell
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
|
|
.endif
|
|
|
|
post-install:
|
|
.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>
|