diff options
author | pav <pav@FreeBSD.org> | 2007-12-12 04:02:06 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2007-12-12 04:02:06 +0800 |
commit | 16a7b63a859b259593cf775e14ffbe7c436a6cbf (patch) | |
tree | 3ee5df48fac5a3e48000c72ce384f7cc968beffa /net-mgmt | |
parent | c650344f2dfe44891add0e555eb216e3b4ea7951 (diff) | |
download | freebsd-ports-gnome-16a7b63a859b259593cf775e14ffbe7c436a6cbf.tar.gz freebsd-ports-gnome-16a7b63a859b259593cf775e14ffbe7c436a6cbf.tar.zst freebsd-ports-gnome-16a7b63a859b259593cf775e14ffbe7c436a6cbf.zip |
- Modernize pkg-message handling
PR: ports/117487 (inspired by)
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/rancid-devel/Makefile | 3 | ||||
-rw-r--r-- | net-mgmt/rancid-devel/files/pkg-message.in | 11 | ||||
-rw-r--r-- | net-mgmt/rancid-devel/pkg-message | 11 | ||||
-rw-r--r-- | net-mgmt/rancid/Makefile | 3 | ||||
-rw-r--r-- | net-mgmt/rancid/files/pkg-message.in | 11 | ||||
-rw-r--r-- | net-mgmt/rancid/pkg-message | 11 |
6 files changed, 24 insertions, 26 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. diff --git a/net-mgmt/rancid/Makefile b/net-mgmt/rancid/Makefile index 57b45e81fe4c..3d61fcad44e1 100644 --- a/net-mgmt/rancid/Makefile +++ b/net-mgmt/rancid/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 HAS_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/files/pkg-message.in b/net-mgmt/rancid/files/pkg-message.in new file mode 100644 index 000000000000..c1f59582807f --- /dev/null +++ b/net-mgmt/rancid/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/pkg-message b/net-mgmt/rancid/pkg-message deleted file mode 100644 index 36e5f2e3079f..000000000000 --- a/net-mgmt/rancid/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. |