aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2004-05-04 10:28:55 +0800
committerjkoshy <jkoshy@FreeBSD.org>2004-05-04 10:28:55 +0800
commit6546139d52544db5d8fc22bc21f1442d3678956c (patch)
treee75567b6e9398846d2da053c401b894f86f7966e
parente54411fcfc8c143f2248a0d81776d448acd3db49 (diff)
downloadfreebsd-ports-gnome-6546139d52544db5d8fc22bc21f1442d3678956c.tar.gz
freebsd-ports-gnome-6546139d52544db5d8fc22bc21f1442d3678956c.tar.zst
freebsd-ports-gnome-6546139d52544db5d8fc22bc21f1442d3678956c.zip
Add an install time message pointing users to this port's installed executable.
Requested by: Marc Rene Arns <privat@marcrenearns.de>
-rw-r--r--devel/ctags/Makefile7
-rw-r--r--devel/ctags/pkg-message3
2 files changed, 9 insertions, 1 deletions
diff --git a/devel/ctags/Makefile b/devel/ctags/Makefile
index 649c7a2b3bcb..8d97f5999f4a 100644
--- a/devel/ctags/Makefile
+++ b/devel/ctags/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: exctags
+# New ports collection makefile for: Exuberant Ctags
# Date created: 4 June 1996
# Whom: jkoshy
#
@@ -7,6 +7,7 @@
PORTNAME= ctags
PORTVERSION= 5.5.4
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
${MASTER_SITE_LOCAL}
@@ -20,11 +21,15 @@ CONFIGURE_ARGS= --enable-macro-patterns --disable-etags
MAN1= exctags.1
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ctags ${PREFIX}/bin/exctags
${INSTALL_MAN} ${WRKSRC}/ctags.1 ${PREFIX}/man/man1/exctags.1
${MKDIR} ${PREFIX}/include/ctags ${PREFIX}/lib/ctags
${INSTALL_DATA} ${WRKSRC}/readtags.h ${PREFIX}/include/ctags/
${INSTALL_DATA} ${WRKSRC}/readtags.o ${PREFIX}/lib/ctags/
+ @${SED} 's:%%PREFIX%%:'${PREFIX}':' < pkg-message > ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/devel/ctags/pkg-message b/devel/ctags/pkg-message
new file mode 100644
index 000000000000..18cc2544fe12
--- /dev/null
+++ b/devel/ctags/pkg-message
@@ -0,0 +1,3 @@
+************************************************************
+The executable for Exuberant CTAGS is installed as %%PREFIX%%/bin/exctags
+************************************************************