mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Install portell.py as portell
- Respect NOPORTDOCS in pkg-plist - Use ECHO_MSG instead of ECHO_CMD - Bump PORTREVISION PR: 50124 Submitted by: Sergei Kolobov <sergei@kolobov.com> Approved by: Michael Hostbaek <mich@freebsdcluster.org> (maintainer)
This commit is contained in:
parent
1db3f4ebc0
commit
76388f48a8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77282
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= portell
|
||||
PORTVERSION= 0.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= http://www.seekrut.com/rk/
|
||||
DISTNAME= ${PORTNAME}
|
||||
@ -16,11 +17,13 @@ MAINTAINER= mich@freebsdcluster.org
|
||||
COMMENT= Quick display of FreeBSD port descriptions
|
||||
|
||||
USE_PYTHON= YES
|
||||
NO_BUILD= YES
|
||||
USE_REINPLACE= YES
|
||||
|
||||
do-build:
|
||||
${REINPLACE_CMD} -e 's/portell.py/portell/' ${WRKDIR}/README
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.py ${PREFIX}/bin
|
||||
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/portell.py ${PREFIX}/bin/portell
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/README ${DOCSDIR}
|
||||
@ -28,12 +31,12 @@ do-install:
|
||||
|
||||
post-install:
|
||||
.if !defined(BATCH)
|
||||
@${ECHO_CMD} ""
|
||||
@${ECHO_CMD} "###############################################################################"
|
||||
@${ECHO_CMD} "# You must run 'portell.py -u' to initialize the DB. #"
|
||||
@${ECHO_CMD} "# ${DOCSDIR}/README for more information. #"
|
||||
@${ECHO_CMD} "###############################################################################"
|
||||
@${ECHO_CMD}
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "###############################################################################"
|
||||
@${ECHO_MSG} "# You must run 'portell -u' to initialize the DB"
|
||||
@${ECHO_MSG} "# ${DOCSDIR}/README for more information."
|
||||
@${ECHO_MSG} "###############################################################################"
|
||||
@${ECHO_MSG} ""
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
bin/portell.py
|
||||
share/doc/portell/README
|
||||
@dirrm share/doc/portell
|
||||
bin/portell
|
||||
%%PORTDOCS%%share/doc/portell/README
|
||||
%%PORTDOCS%%@dirrm share/doc/portell
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= portell
|
||||
PORTVERSION= 0.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= http://www.seekrut.com/rk/
|
||||
DISTNAME= ${PORTNAME}
|
||||
@ -16,11 +17,13 @@ MAINTAINER= mich@freebsdcluster.org
|
||||
COMMENT= Quick display of FreeBSD port descriptions
|
||||
|
||||
USE_PYTHON= YES
|
||||
NO_BUILD= YES
|
||||
USE_REINPLACE= YES
|
||||
|
||||
do-build:
|
||||
${REINPLACE_CMD} -e 's/portell.py/portell/' ${WRKDIR}/README
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.py ${PREFIX}/bin
|
||||
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/portell.py ${PREFIX}/bin/portell
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/README ${DOCSDIR}
|
||||
@ -28,12 +31,12 @@ do-install:
|
||||
|
||||
post-install:
|
||||
.if !defined(BATCH)
|
||||
@${ECHO_CMD} ""
|
||||
@${ECHO_CMD} "###############################################################################"
|
||||
@${ECHO_CMD} "# You must run 'portell.py -u' to initialize the DB. #"
|
||||
@${ECHO_CMD} "# ${DOCSDIR}/README for more information. #"
|
||||
@${ECHO_CMD} "###############################################################################"
|
||||
@${ECHO_CMD}
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "###############################################################################"
|
||||
@${ECHO_MSG} "# You must run 'portell -u' to initialize the DB"
|
||||
@${ECHO_MSG} "# ${DOCSDIR}/README for more information."
|
||||
@${ECHO_MSG} "###############################################################################"
|
||||
@${ECHO_MSG} ""
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
bin/portell.py
|
||||
share/doc/portell/README
|
||||
@dirrm share/doc/portell
|
||||
bin/portell
|
||||
%%PORTDOCS%%share/doc/portell/README
|
||||
%%PORTDOCS%%@dirrm share/doc/portell
|
||||
|
Loading…
Reference in New Issue
Block a user