aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/portell
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-03-23 18:32:16 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-03-23 18:32:16 +0000
commit76388f48a8cecc0b1ec3658291f7c9a55d8d2af4 (patch)
tree8b555fc839a56b8794f6c7174107c6dab83e50f8 /ports-mgmt/portell
parent1db3f4ebc0ac0aadb17b81c13a899755d55683b6 (diff)
downloadports-76388f48a8cecc0b1ec3658291f7c9a55d8d2af4.tar.gz
ports-76388f48a8cecc0b1ec3658291f7c9a55d8d2af4.zip
Notes
Diffstat (limited to 'ports-mgmt/portell')
-rw-r--r--ports-mgmt/portell/Makefile21
-rw-r--r--ports-mgmt/portell/pkg-plist6
2 files changed, 15 insertions, 12 deletions
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