aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/rancid-devel
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-12-11 20:02:06 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-12-11 20:02:06 +0000
commitb26a66bd2cf7900f1419a774a3595757887cfe1c (patch)
tree01f387e1b00a8eff88ae0967f77e4d71a5a619da /net-mgmt/rancid-devel
parentf06a84a631d778c196ba353e383b0b6f0381076b (diff)
downloadports-b26a66bd2cf7900f1419a774a3595757887cfe1c.tar.gz
ports-b26a66bd2cf7900f1419a774a3595757887cfe1c.zip
Notes
Diffstat (limited to 'net-mgmt/rancid-devel')
-rw-r--r--net-mgmt/rancid-devel/Makefile3
-rw-r--r--net-mgmt/rancid-devel/files/pkg-message.in11
-rw-r--r--net-mgmt/rancid-devel/pkg-message11
3 files changed, 12 insertions, 13 deletions
diff --git a/net-mgmt/rancid-devel/Makefile b/net-mgmt/rancid-devel/Makefile
index 476a99486c0a..8e33bf72aeaa 100644
--- a/net-mgmt/rancid-devel/Makefile
+++ b/net-mgmt/rancid-devel/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS= expect:${PORTSDIR}/lang/expect \
${SITE_PERL}/LockFile/Simple.pm:${PORTSDIR}/devel/p5-LockFile-Simple
USE_PERL5= yes
-PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= \
@@ -51,7 +51,6 @@ pre-everything::
post-install:
${LN} -s ${PREFIX}/libexec/${PORTNAME}/rancid-cvs ${PREFIX}/bin
${LN} -s ${PREFIX}/libexec/${PORTNAME}/rancid-run ${PREFIX}/bin
- @ ${SED} -e "s:%%INSTDIR%%:${PREFIX}:g" pkg-message >${PKGMESSAGE}
.if !defined(BATCH)
@ ${ECHO}
@ ${CAT} ${PKGMESSAGE}
diff --git a/net-mgmt/rancid-devel/files/pkg-message.in b/net-mgmt/rancid-devel/files/pkg-message.in
new file mode 100644
index 000000000000..c1f59582807f
--- /dev/null
+++ b/net-mgmt/rancid-devel/files/pkg-message.in
@@ -0,0 +1,11 @@
+For further configuration information please look at
+%%PREFIX%%/share/rancid/README.
+
+If you are upgrading from the previous version of rancid look at
+%%PREFIX%%/share/rancid/UPGRADING.
+
+If you would like to set up Rancid to be browseable from Web,
+you need to install devel/cvsweb or devel/viewvc.
+
+For rancid looking-glass copy the actual CGIs (located at
+%%PREFIX%%/libexec/rancid/{lg.cgi lgform.cgi}) to your cgi-bin.
diff --git a/net-mgmt/rancid-devel/pkg-message b/net-mgmt/rancid-devel/pkg-message
deleted file mode 100644
index 36e5f2e3079f..000000000000
--- a/net-mgmt/rancid-devel/pkg-message
+++ /dev/null
@@ -1,11 +0,0 @@
-For further configuration information please look at
-%%INSTDIR%%/share/rancid/README.
-
-If you are upgrading from the previous version of rancid look at
-%%INSTDIR%%/share/rancid/UPGRADING.
-
-If you would like to set up Rancid to be browseable from Web,
-you need to install devel/cvsweb or devel/viewvc.
-
-For rancid looking-glass copy the actual CGIs (located at
-%%INSTDIR%%/libexec/rancid/{lg.cgi lgform.cgi}) to your cgi-bin.