diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2003-03-23 18:32:16 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2003-03-23 18:32:16 +0000 |
commit | 76388f48a8cecc0b1ec3658291f7c9a55d8d2af4 (patch) | |
tree | 8b555fc839a56b8794f6c7174107c6dab83e50f8 | |
parent | Update to 3.86 (diff) |
- 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)
Notes
Notes:
svn path=/head/; revision=77282
-rw-r--r-- | misc/portell/Makefile | 21 | ||||
-rw-r--r-- | misc/portell/pkg-plist | 6 | ||||
-rw-r--r-- | ports-mgmt/portell/Makefile | 21 | ||||
-rw-r--r-- | ports-mgmt/portell/pkg-plist | 6 |
4 files changed, 30 insertions, 24 deletions
diff --git a/misc/portell/Makefile b/misc/portell/Makefile index 445df555d3da..4a3c866db0a4 100644 --- a/misc/portell/Makefile +++ b/misc/portell/Makefile @@ -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-install: - ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.py ${PREFIX}/bin +do-build: + ${REINPLACE_CMD} -e 's/portell.py/portell/' ${WRKDIR}/README +do-install: + ${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> diff --git a/misc/portell/pkg-plist b/misc/portell/pkg-plist index 46ade5e3f4b5..c03b2356b55e 100644 --- a/misc/portell/pkg-plist +++ b/misc/portell/pkg-plist @@ -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 diff --git a/ports-mgmt/portell/Makefile b/ports-mgmt/portell/Makefile index 445df555d3da..4a3c866db0a4 100644 --- a/ports-mgmt/portell/Makefile +++ b/ports-mgmt/portell/Makefile @@ -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-install: - ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.py ${PREFIX}/bin +do-build: + ${REINPLACE_CMD} -e 's/portell.py/portell/' ${WRKDIR}/README +do-install: + ${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> diff --git a/ports-mgmt/portell/pkg-plist b/ports-mgmt/portell/pkg-plist index 46ade5e3f4b5..c03b2356b55e 100644 --- a/ports-mgmt/portell/pkg-plist +++ b/ports-mgmt/portell/pkg-plist @@ -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 |